Bug 473456 - Denials while booting. Prevents correct initialization unless selinux=0
Summary: Denials while booting. Prevents correct initialization unless selinux=0
Keywords:
Status: CLOSED INSUFFICIENT_DATA
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 10
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Daniel Walsh
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-11-28 16:04 UTC by Joel Andres Granados
Modified: 2008-12-08 21:50 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2008-12-08 21:50:43 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
boot messages. (45.39 KB, text/plain)
2008-11-28 16:06 UTC, Joel Andres Granados
no flags Details

Description Joel Andres Granados 2008-11-28 16:04:35 UTC
Description of problem:
Did a F10 installation today.
I only install /, I don't install home/ nor boot/.  And home/ and boot/ where created with F9.  When I boot after installation I get a bunch of AVC denied (I'll past dmesg)  and the machine does not boot.  when I turn off selinux it allows the machine to boot, but the avc denials are still there.

Version-Release number of selected component (if applicable):
selinux-policy-3.5.13-18.fc10.noarch

How reproducible:
Every time I boot with enforcing=1

Steps to Reproduce:
1. On my system it happens after install.
2.
3.
  
Actual results:
System that is not bootable.

Expected results:
No denials at boot time.

Additional info:

Comment 1 Joel Andres Granados 2008-11-28 16:06:01 UTC
Created attachment 325022 [details]
boot messages.

most of the denials are restorecon and two are login.

Comment 2 Daniel Walsh 2008-12-01 20:32:33 UTC
Could you try a relabel in permissive mode.

enforcing=0 on kernel line

touch /.autorelabel; reboot

Comment 3 Joel Andres Granados 2008-12-02 12:29:42 UTC
yep.  this did the trick  It actually relabeled outmatically after the first reboot.  I forgot about the bug though.

Not sure if this should be closed though.  It should not give any AVC denials at first reboot.  Will leave it open at your discretion

Comment 4 Daniel Walsh 2008-12-02 16:45:05 UTC
Yes the strange thing was that the /etc/selinux directory was all mislabeled.  Not sure what went wrong during the install.


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