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

Miroslav Suchý msuchy at redhat.com
Wed Jun 13 10:15:09 UTC 2012


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




More information about the Spacewalk-list mailing list