Bug 562442

Summary: SELinux is preventing /bin/plymouth "search" access on /etc/sysconfig/network-scripts.
Product: [Fedora] Fedora Reporter: John Bouras <jlbouras>
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, jlbouras, mgrepl, mjr4077au
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard: setroubleshoot_trace_hash:fba7719d152d39b70d7c897baa66e1bc7bd7747d90cdf466daf1c8f184798f86
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:51 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 John Bouras 2010-02-06 18:32:51 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                system_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-82.fc12
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Plugin Name                   catchall
Host Name                     (removed)
Platform                      Linux (removed) 2.6.32.7-37.fc12.i686.PAE #1
                              SMP Fri Jan 29 14:37:28 UTC 2010 i686 i686
Alert Count                   1
First Seen                    Sat 06 Feb 2010 01:31:10 PM EST
Last Seen                     Sat 06 Feb 2010 01:31:10 PM EST
Local ID                      74075c25-e8aa-47fe-b6ce-ac2cfc00d38e
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1265481070.12:22422): avc:  denied  { search } for  pid=3276 comm="plymouth" name="network-scripts" dev=dm-0 ino=81921 scontext=system_u:system_r:plymouth_t:s0 tcontext=system_u:object_r:net_conf_t:s0 tclass=dir

node=(removed) type=SYSCALL msg=audit(1265481070.12:22422): arch=40000003 syscall=5 success=no exit=-2 a0=804d378 a1=0 a2=bf8cbc5f a3=0 items=0 ppid=3145 pid=3276 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="plymouth" exe="/bin/plymouth" subj=system_u:system_r:plymouth_t:s0 key=(null)



Hash String generated from  selinux-policy-3.6.32-82.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-08 19:35:19 UTC
Not sure what it is doing here, but Miroslav add

sysnet_read_config(plymouth_t)

Comment 2 Miroslav Grepl 2010-02-09 09:13:02 UTC
Fixed in selinux-policy-3.6.32-86.fc12

Comment 3 Miroslav Grepl 2010-02-11 10:08:00 UTC
*** Bug 563487 has been marked as a duplicate of this bug. ***

Comment 4 Fedora Update System 2010-02-11 22:01:34 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 5 Fedora Update System 2010-02-13 00:40:43 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 6 Fedora Update System 2010-02-20 00:19:46 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.