Bug 560789

Summary: SELinux is preventing /bin/plymouth "search" access on /etc/sysconfig/network-scripts.
Product: [Fedora] Fedora Reporter: Mitchell Richters <mjr4077au>
Component: selinux-policyAssignee: Miroslav Grepl <mgrepl>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 12CC: dwalsh, matt, mgrepl
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: setroubleshoot_trace_hash:0799a93a07635667cedc8f58dd1a2a6ccf62fe0021244640b0da8b7d50394b53
Fixed In Version: selinux-policy-3.6.32-89.fc12 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-02-20 00:21:15 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 Mitchell Richters 2010-02-01 20:37:57 UTC
Summary:

SELinux is preventing /bin/plymouth "search" access on
/etc/sysconfig/network-scripts.

Detailed Description:

SELinux denied access requested by plymouth. It is not expected that this access
is required by plymouth 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                unconfined_u:system_r:plymouth_t:s0
Target Context                system_u:object_r:net_conf_t:s0
Target Objects                /etc/sysconfig/network-scripts [ dir ]
Source                        plymouth
Source Path                   /bin/plymouth
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           plymouth-0.8.0-0.2009.29.09.19.3.fc12
Target RPM Packages           initscripts-9.02.1-1
Policy RPM                    selinux-policy-3.6.32-78.fc12
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Plugin Name                   catchall
Host Name                     (removed)
Platform                      Linux (removed)
                              2.6.31.12-174.2.3.fc12.x86_64 #1 SMP Mon Jan 18
                              19:52:07 UTC 2010 x86_64 x86_64
Alert Count                   1
First Seen                    Mon 01 Feb 2010 10:46:45 PM EST
Last Seen                     Mon 01 Feb 2010 10:46:45 PM EST
Local ID                      7ffd3e28-ed29-4086-95a3-460314536b07
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1265024805.74:26899): avc:  denied  { search } for  pid=2976 comm="plymouth" name="network-scripts" dev=dm-3 ino=98306 scontext=unconfined_u:system_r:plymouth_t:s0 tcontext=system_u:object_r:net_conf_t:s0 tclass=dir

node=(removed) type=SYSCALL msg=audit(1265024805.74:26899): arch=c000003e syscall=2 success=no exit=-2 a0=405563 a1=0 a2=18 a3=18 items=0 ppid=2830 pid=2976 auid=500 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=pts1 ses=1 comm="plymouth" exe="/bin/plymouth" subj=unconfined_u:system_r:plymouth_t:s0 key=(null)



Hash String generated from  selinux-policy-3.6.32-78.fc12,catchall,plymouth,plymouth_t,net_conf_t,dir,search
audit2allow suggests:

#============= plymouth_t ==============
allow plymouth_t net_conf_t:dir search;

Comment 1 Daniel Walsh 2010-02-09 20:03:35 UTC
Fixed in selinux-policy-3.6.32-86.fc12.noarch

Comment 2 Fedora Update System 2010-02-11 22:00:59 UTC
selinux-policy-3.6.32-89.fc12 has been submitted as an update for Fedora 12.
http://admin.fedoraproject.org/updates/selinux-policy-3.6.32-89.fc12

Comment 3 Fedora Update System 2010-02-13 00:40:01 UTC
selinux-policy-3.6.32-89.fc12 has been pushed to the Fedora 12 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update selinux-policy'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F12/FEDORA-2010-1836

Comment 4 Fedora Update System 2010-02-20 00:19:07 UTC
selinux-policy-3.6.32-89.fc12 has been pushed to the Fedora 12 stable repository.  If problems still persist, please make note of it in this bug report.