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

Pierre Casenove pcasenove at gmail.com
Mon Jul 23 07:09:10 UTC 2012


I think I found the problem:
/tmp and /var partitions are mounted with option noexec on these systems.
Is it possible to configure where on the file system the temporary
script is created? I think that currently it is created on /tmp.

Thanks,

2012/7/20 Pierre Casenove <pcasenove at gmail.com>:
> No, I already checked that. No denials in audit logs.
> I don't think it is SELINUX related in fact.
>
> Pierre
>
> 2012/7/20 padawan <obbediscimisonoroot at gmail.com>:
>> 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
>>
>> _______________________________________________
>> Spacewalk-list mailing list
>> Spacewalk-list at redhat.com
>> https://www.redhat.com/mailman/listinfo/spacewalk-list




More information about the Spacewalk-list mailing list