[Spacewalk-list] Remote Command fails on RHEL 6 client

Pierre Casenove pcasenove at gmail.com
Fri Jul 20 11:34:20 UTC 2012


Hello list,
I have 2 clients on RHEL 6 with SELINUX activated. On these machine,
remote command execution fails.
The remote command works correctly on RHEL 5 boxes.
The script I'm trying to execute is:
#!/bin/sh
echo toto

Here is the trace I have when launching rhn_check-vvvv on my clients:

D: do_call script.run(6377, {'username': 'root', 'groupname': 'root',
'now': '2012-07-20 11:32:27', 'timeout': 600, 'script':
'#!/bin/sh\necho toto'}){'cache_only': None}
D: Sending back response(1, 'Script failed', {'output': '',
'base64enc': 1, 'process_end': '2012-07-20 11:32:27', 'return_code':
256, 'process_start': '2012-07-20 11:32:27'})


What could be the problem?

Before launching the script, I've executed command rhn-actions-control
--enable-all

Thanks in advance,

pierre




More information about the Spacewalk-list mailing list