Bug 222337 - [LSPP] nash-hotplug deny is stopping ia64 from booting
Summary: [LSPP] nash-hotplug deny is stopping ia64 from booting
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: selinux-policy
Version: 5.0
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
: ---
Assignee: Daniel Walsh
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-01-11 19:05 UTC by Matt Anderson
Modified: 2007-11-30 22:07 UTC (History)
4 users (show)

Fixed In Version: RC
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2007-02-08 02:15:06 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Matt Anderson 2007-01-11 19:05:47 UTC
Description of problem:
When installing with the mls policy an IA64 system cannot boot because it gets
continuous denies from nash-hotplug

Version-Release number of selected component (if applicable):
selinux-policy-mls-2.4.6-22.el5

How reproducible:
Everytime

Steps to Reproduce:
1.
2.
3.
  
Actual results:
Here are the AVCs

Jan 10 17:23:42 aphex kernel: audit(1168467802.082:3): avc:  denied  { write }
for  pid=353 comm="nash-hotplug" name="zero" dev=tmpfs ino=715
scontext=system_u:system_r:kernel_t:s15:c0.c1023
tcontext=system_u:object_r:tmpfs_t:s15:c0.c1023 tclass=chr_file
Jan 10 17:23:42 aphex kernel: audit(1168467802.084:4): avc:  denied  { write }
for  pid=353 comm="nash-hotplug" name="zero" dev=tmpfs ino=715
scontext=system_u:system_r:kernel_t:s15:c0.c1023
tcontext=system_u:object_r:tmpfs_t:s15:c0.c1023 tclass=chr_file
Jan 11 10:29:17 aphex kernel: audit(1168529338.087:3): avc:  denied  { write }
for  pid=353 comm="nash-hotplug" name="zero" dev=tmpfs ino=715
scontext=system_u:system_r:kernel_t:s15:c0.c1023
tcontext=system_u:object_r:tmpfs_t:s0 tclass=chr_file

Additional info:
Here's my audit2allow output which once installed the system can boot just fine.
module nashhotplug 1.0;

require {
        class chr_file write;
        type kernel_t; 
        type tmpfs_t; 
        role system_r; 
};

allow kernel_t tmpfs_t:chr_file write;

Comment 1 Daniel Walsh 2007-01-11 21:51:03 UTC
Fixed in selinux-policy-2.4.6-25

Comment 4 Jay Turner 2007-01-12 13:32:37 UTC
QE ack for RHEL5.

Comment 5 RHEL Program Management 2007-02-08 02:15:06 UTC
A package has been built which should help the problem described in 
this bug report. This report is therefore being closed with a resolution 
of CURRENTRELEASE. You may reopen this bug report if the solution does 
not work for you.



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