Bug 595535

Summary: SELinux is preventing /sbin/modprobe "read" access on /etc/modprobe.conf.
Product: [Fedora] Fedora Reporter: Vladimir <vulpe>
Component: selinux-policyAssignee: Daniel Walsh <dwalsh>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 12CC: dwalsh, mgrepl
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard: setroubleshoot_trace_hash:ea4f859683266e1a6b99deea88f09b3b8b785fe3e297a63defabbc51be4bc87a
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-05-25 11:51:56 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:

Description Vladimir 2010-05-24 21:56:43 UTC
Summary:

SELinux is preventing /sbin/modprobe "read" access on /etc/modprobe.conf.

Detailed Description:

[modprobe has a permissive type (cupsd_t). This access was not denied.]

SELinux denied access requested by modprobe. It is not expected that this access
is required by modprobe and this access may signal an intrusion attempt. It is
also possible that the specific version or configuration of the application is
causing it to require additional access.

Allowing Access:

You can generate a local policy module to allow this access - see FAQ
(http://docs.fedoraproject.org/selinux-faq-fc5/#id2961385) Please file a bug
report.

Additional Information:

Source Context                system_u:system_r:cupsd_t:s0-s0:c0.c1023
Target Context                system_u:object_r:modules_conf_t:s0
Target Objects                /etc/modprobe.conf [ file ]
Source                        modprobe
Source Path                   /sbin/modprobe
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           module-init-tools-3.9-4.fc12
Target RPM Packages           
Policy RPM                    selinux-policy-3.6.32-92.fc12
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Plugin Name                   catchall
Host Name                     (removed)
Platform                      Linux (removed) 2.6.32.9-67.fc12.i686.PAE
                              #1 SMP Sat Feb 27 09:42:55 UTC 2010 i686 i686
Alert Count                   2
First Seen                    Sun 07 Mar 2010 10:04:07 PM EST
Last Seen                     Sun 07 Mar 2010 10:04:07 PM EST
Local ID                      72749c8c-5f1d-4141-b811-bf3bbb5add4f
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1268017447.515:23342): avc:  denied  { read } for  pid=2787 comm="modprobe" name="modprobe.conf" dev=sda9 ino=62098 scontext=system_u:system_r:cupsd_t:s0-s0:c0.c1023 tcontext=system_u:object_r:modules_conf_t:s0 tclass=file

node=(removed) type=AVC msg=audit(1268017447.515:23342): avc:  denied  { open } for  pid=2787 comm="modprobe" name="modprobe.conf" dev=sda9 ino=62098 scontext=system_u:system_r:cupsd_t:s0-s0:c0.c1023 tcontext=system_u:object_r:modules_conf_t:s0 tclass=file

node=(removed) type=SYSCALL msg=audit(1268017447.515:23342): arch=40000003 syscall=5 success=yes exit=5 a0=8059fa9 a1=0 a2=1b6 a3=805b429 items=0 ppid=2778 pid=2787 auid=4294967295 uid=4 gid=7 euid=4 suid=4 fsuid=4 egid=7 sgid=7 fsgid=7 tty=(none) ses=4294967295 comm="modprobe" exe="/sbin/modprobe" subj=system_u:system_r:cupsd_t:s0-s0:c0.c1023 key=(null)



Hash String generated from  catchall,modprobe,cupsd_t,modules_conf_t,file,read
audit2allow suggests:

#============= cupsd_t ==============
allow cupsd_t modules_conf_t:file { read open };

Comment 1 Miroslav Grepl 2010-05-25 08:49:25 UTC
*** Bug 595536 has been marked as a duplicate of this bug. ***

Comment 2 Miroslav Grepl 2010-05-25 08:49:41 UTC
*** Bug 595537 has been marked as a duplicate of this bug. ***

Comment 3 Miroslav Grepl 2010-05-25 08:49:58 UTC
*** Bug 595538 has been marked as a duplicate of this bug. ***

Comment 4 Miroslav Grepl 2010-05-25 08:52:37 UTC
*** Bug 595540 has been marked as a duplicate of this bug. ***

Comment 5 Miroslav Grepl 2010-05-25 08:52:51 UTC
*** Bug 595541 has been marked as a duplicate of this bug. ***

Comment 6 Miroslav Grepl 2010-05-25 08:53:24 UTC
*** Bug 595539 has been marked as a duplicate of this bug. ***

Comment 7 Miroslav Grepl 2010-05-25 11:51:56 UTC

*** This bug has been marked as a duplicate of bug 595533 ***