Red Hat Bugzilla – Bug 491747
anaconda mislabels the root partition in rescue mode (selinux) --> trouble
Last modified: 2009-04-22 17:23:42 EDT
When booting the latest rawhide iso in rescue mode the mount seems to mess up SELinux labels. If I reboot after the rescue-mode mount, there's a ton of permission denied messsages and the system hangs. Things work just far enough to boot in single mode and run
$ restorecon -v -R /
and then it works again. Restorecon prints a few messages like
restorecon reset / context system_u:-object_r:mnt_t:s0 -> system_u:-object_r:root_t:s0
The problem persists in F11 Beta.
This should be fixed in the next build of anaconda. Thanks for the bug report.
I just tried today's iso image (anaconda 188.8.131.52) and instead of just failing, the boot proceeds to relabel the entire drive, which takes quite some time.
Yes, that's the fix. We don't know what you've done and what files you've changed, so we will have to force a restorecon on reboot.