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

padawan obbediscimisonoroot at gmail.com
Fri Jul 20 14:43:52 UTC 2012


Do you see anything relevant when:

grep denied /var/log/audit.log



On 20 July 2012 13:34, Pierre Casenove <pcasenove at gmail.com> wrote:
> 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
>
> _______________________________________________
> Spacewalk-list mailing list
> Spacewalk-list at redhat.com
> https://www.redhat.com/mailman/listinfo/spacewalk-list



-- 
Music and Audio Productions




More information about the Spacewalk-list mailing list