[Spacewalk-list] spacewalk selinux context on files/directories

Michel Hendriks hendriks.michel at gmail.com
Wed Jun 13 10:25:54 UTC 2012


Hi,

Thanks for your reply !

Uploading "new" files without selinux context is pretty difficult as we use
"custom info" information in many config files :-(

/ Michel

On Wed, Jun 13, 2012 at 12:15 PM, Miroslav Suchý <msuchy at redhat.com> wrote:

> On 06/13/2012 12:05 PM, Michel Hendriks wrote:
>
>> Hi,
>>
>> Recently we changed out selinux policy from permissive to disabled but
>> now when
>> I run "rhncfg-client verify" I get all selinux messages like  :
>>
>> # rhncfg-client verify | grep seli
>>           selinux /etc/nsswitch.conf
>>           selinux /etc/ntp.conf
>>           selinux /etc/openldap/ldap.conf
>>           selinux /etc/pam.d/sshd
>>           selinux /etc/pam.d/system-auth
>>           selinux /etc/pam.d/system-auth-ac
>>
>> Of course this is because configuration files in spacewalk there contain
>> there "SELinux context"
>>
>> Does somebody know if there is an automatic way to remove all "SELinux
>> context"from configuration
>> files/directoeies in spacewalk ? Otherwise I need to check each file
>> individual which is a lot of work
>> ( 100+ config files )
>>
>> Thanks in advance !
>>
>
>
> No there is no way, currently.
> Maybe only upload new versions of files, which will have no selinux
> context.
>
>
> --
> Miroslav Suchy
> Red Hat Satellite Engineering
>
> ______________________________**_________________
> Spacewalk-list mailing list
> Spacewalk-list at redhat.com
> https://www.redhat.com/**mailman/listinfo/spacewalk-**list<https://www.redhat.com/mailman/listinfo/spacewalk-list>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20120613/45c4f342/attachment.htm>


More information about the Spacewalk-list mailing list