web/html/applications/rhn-proxy/5.4/install-rhn-proxy.xml | 1 +
1 file changed, 1 insertion(+)
New commits:
commit eab762584e64b2db5b65db4a8851cf2a43cadde0
Author: Jan Pazdziora <jpazdziora(a)redhat.com>
Date: Fri Dec 17 10:32:38 2010 +0100
656963 - the script has to start with #!/bin/sh.
Addressing
D: do_call script.run (115, {'username': 'root', 'groupname':
'root', 'now': '2010-12-17 03:57:34', 'timeout': 600,
'script': '/usr/bin/spacewalk-setup-jabberd --macros
"hostname:0x6a6b01.example.com"\n '})
D: Sending back response (1, 'Script failed', {'output': '',
'base64enc': 1, 'process_end': '2010-12-17 03:57:34',
'return_code': 256, 'process_start': '2010-12-17 03:57:34'})
diff --git a/web/html/applications/rhn-proxy/5.4/install-rhn-proxy.xml
b/web/html/applications/rhn-proxy/5.4/install-rhn-proxy.xml
index 9e243d0..4598a9a 100644
--- a/web/html/applications/rhn-proxy/5.4/install-rhn-proxy.xml
+++ b/web/html/applications/rhn-proxy/5.4/install-rhn-proxy.xml
@@ -605,6 +605,7 @@ fi
<run-script
acl="global_config(ssl_available);session_data_true(enable_osad)">
<action-name>Generate jabberd config file</action-name>
<script>
+#!/bin/sh
/usr/bin/spacewalk-setup-jabberd --macros "hostname:${session.hostname}"
</script>
</run-script>
Show replies by date