relabel fails

Richard Chapman rchapman at aardvark.com.au
Sat Apr 10 13:51:34 UTC 2010


Here is a link I should have put in my earlier reply:
https://bugzilla.redhat.com/show_bug.cgi?id=449420

If you problem is the same as mine - then this should describe it - and 
the solution..

Richard.

Vadym Chepkov wrote:
> Hi,
>
> I am trying to enable SELinux on a server where it was disabled before, but the autorelabel process fails. I have set SELinux in permissive mode and  when I try to use fixfiles to do it manually I get these errors:
>
> # fixfiles restore
> /etc/selinux/targeted/contexts/files/file_contexts.homedirs:  line 19 has invalid context user_u:object_r:user_mozilla_home_t:s0
> /etc/selinux/targeted/contexts/files/file_contexts.homedirs:  line 20 has invalid context user_u:object_r:user_mozilla_home_t:s0
> /etc/selinux/targeted/contexts/files/file_contexts.homedirs:  line 21 has invalid context user_u:object_r:user_mozilla_home_t:s0
> /etc/selinux/targeted/contexts/files/file_contexts.homedirs:  line 22 has invalid context user_u:object_r:user_mozilla_home_t:s0
> /etc/selinux/targeted/contexts/files/file_contexts.homedirs:  line 24 has invalid context user_u:object_r:user_mozilla_home_t:s0
> /etc/selinux/targeted/contexts/files/file_contexts.homedirs:  line 44 has invalid context root:object_r:user_mozilla_home_t:s0
> /etc/selinux/targeted/contexts/files/file_contexts.homedirs:  line 45 has invalid context root:object_r:user_mozilla_home_t:s0
> /etc/selinux/targeted/contexts/files/file_contexts.homedirs:  line 46 has invalid context root:object_r:user_mozilla_home_t:s0
> /etc/selinux/targeted/contexts/files/file_contexts.homedirs:  line 47 has invalid context root:object_r:user_mozilla_home_t:s0
> Exiting after 10 errors.
>
> selinux-policy-targeted-2.4.6-255.el5_4.4
>
> Thanks
>
> Sincerely yours,
>   Vadym Chepkov
> --
> selinux mailing list
> selinux at lists.fedoraproject.org
> https://admin.fedoraproject.org/mailman/listinfo/selinux
>
>   



More information about the selinux mailing list