Bug 731621

Summary: dracut: SELinux: Could not open policy file <= /etc/selinux/targeted/policy/policy.24 after installation without swap
Product: Red Hat Enterprise Linux 6 Reporter: Michal Kovarik <mkovarik>
Component: selinux-policyAssignee: Miroslav Grepl <mgrepl>
Status: CLOSED NOTABUG QA Contact: BaseOS QE Security Team <qe-baseos-security>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.2CC: dwalsh
Target Milestone: rc   
Target Release: ---   
Hardware: s390x   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-08-18 07:35:20 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 691780    
Attachments:
Description Flags
boot log none

Description Michal Kovarik 2011-08-18 06:01:20 UTC
Created attachment 518804 [details]
boot log

Description of problem:
After reboot from success installation system without swap, booting fails.

How reproducible:
always

Steps to Reproduce:
1. start graphical installation via vnc
2. make two partition - /boot and rootfs  or request to auto partition the disk
and remove swap partition
3. complete the installation and reboot
  
Actual results:
dracut: Loading SELinux policy 
type=1404 audit(1313576184.541:2): enforcing=1 old_enforcing=0 auid=4294967295 s
es=4294967295 
dracut: SELinux: Could not open policy file <= /etc/selinux/targeted/policy/poli
cy.24: No such file or directory /sbin/load_policy: Can't load policy and enforc
ing mode requested: No such file or directory 
dracut Warning: Initial SELinux policy load failed. 
dracut: FATAL: Initial SELinux policy load failed. Machine in enforcing mode. To
 disable selinux, add selinux=0 to the kernel command line. 
dracut: Refusing to continue 
dracut Warning: Signal caught! 
dracut Warning: dracut: FATAL: Initial SELinux policy load failed. Machine in en
forcing mode. To disable selinux, add selinux=0 to the kernel command line. 
dracut Warning: dracut: Refusing to continue 
Kernel panic - not syncing: Attempted to kill init!

Expected results:
Boot to installed system

Comment 2 Michal Kovarik 2011-08-18 07:35:20 UTC
Tested on 768 MB RAM but acquire 1 GB (recommended) for the Linux instance.