Bug 491747 - anaconda mislabels the root partition in rescue mode (selinux) --> trouble
Summary: anaconda mislabels the root partition in rescue mode (selinux) --> trouble
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: rawhide
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Anaconda Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-03-23 20:04 UTC by Alex Kanavin
Modified: 2009-04-22 21:23 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2009-04-22 21:23:42 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Alex Kanavin 2009-03-23 20:04:40 UTC
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

Comment 1 Alex Kanavin 2009-04-04 19:22:57 UTC
The problem persists in F11 Beta.

Comment 2 Chris Lumens 2009-04-16 13:37:27 UTC
This should be fixed in the next build of anaconda.  Thanks for the bug report.

Comment 3 Alex Kanavin 2009-04-22 20:07:38 UTC
I just tried today's iso image (anaconda 11.5.0.46) and instead of just failing, the boot proceeds to relabel the entire drive, which takes quite some time.

Comment 4 Chris Lumens 2009-04-22 21:23:42 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.