Bug 431111

Summary: initramfs needs to be able to load SELinux policy
Product: [Fedora] Fedora Reporter: Bill Nottingham <notting>
Component: mkinitrdAssignee: Peter Jones <pjones>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: rawhideCC: dcantrell, katzj, rvokal, wtogami
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 6.0.30-1.fc9 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-02-25 21:00:41 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 431106, 431115    
Attachments:
Description Flags
Patch! none

Description Bill Nottingham 2008-01-31 20:16:37 UTC
Description of problem:

Patch attached, as discussed on SELinux lists.

Version-Release number of selected component (if applicable):

mkinitrd-6.0.28-3.fc9.x86_64

Comment 1 Bill Nottingham 2008-01-31 20:16:37 UTC
Created attachment 293643 [details]
Patch!

Comment 2 Jeremy Katz 2008-01-31 20:55:18 UTC
With this patch, if you change your selinux settings, you also have to rebuild
your initrd.  Which is kind of crappy

Comment 3 Bill Nottingham 2008-01-31 21:00:43 UTC
It reads the config from the root fs, not the initrd.

Comment 4 Jeremy Katz 2008-02-01 16:34:07 UTC
It reads the config from the rootfs when we build the initrd.  Sourcing the file
from the script running in nash is going to be ugly, though.  And another
built-in is just piling on more hacks.  Must. bash-ify. initrd.

Comment 5 Bill Nottingham 2008-02-01 16:37:43 UTC
Well, you can just always add 'load_policy'  instead; it won't do anything if
it's not configured at the time it boots.

Comment 6 Bill Nottingham 2008-02-25 21:00:41 UTC
This should be fixed in 6.0.30-1.