Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

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:
Embargoed:
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.