Prelink: couldn't find an alternative telinit implementation to spawn

Bill Nottingham notting at redhat.com
Thu Mar 17 16:40:39 UTC 2011


Jerry James (loganjerry at gmail.com) said: 
> I found some files with incorrect SELinux labels.  So I did the usual
> "touch /.autorelabel" and reboot ... and the relabeling didn't happen.
>  On Fedora 14, this is handled by /etc/rc.d/rc.sysinit, owned by the
> initscripts package.  There is no such file in the initscripts package
> on Fedora 15.  I tried this:
> 
> # grep -FRs autorelabel /etc
> Binary file /etc/prelink.cache matches
> /etc/selinux/targeted/modules/active/file_contexts.template:/\.autorelabel
>    --       system_u:object_r:etc_runtime_t:s0
> /etc/selinux/targeted/modules/active/file_contexts:/\.autorelabel
>  --     system_u:object_r:etc_runtime_t:s0
> /etc/selinux/targeted/contexts/files/file_contexts:/\.autorelabel
>  --    system_u:object_r:etc_runtime_t:s0
> 
> Also, "man selinux" still says that "touch /.autorelabel" is supposed
> to work.  There is nothing in the F-15 Alpha release notes about
> SELinux.  How is this supposed to work on Fedora 15?

The same way. See bug #684125.

Bill


More information about the devel mailing list