Bug 693912 - SELinux is preventing /sbin/plymouthd from 'search' accesses on the diretório run.
Summary: SELinux is preventing /sbin/plymouthd from 'search' accesses on the diretório...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 15
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: setroubleshoot_trace_hash:0ceb16cb222...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-04-05 21:41 UTC by Cássio Magno
Modified: 2011-04-06 07:58 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-04-06 07:58:39 UTC
Type: ---


Attachments (Terms of Use)

Description Cássio Magno 2011-04-05 21:41:25 UTC
SELinux is preventing /sbin/plymouthd from 'search' accesses on the diretório run.

*****  Plugin catchall (100. confidence) suggests  ***************************

If you believe that plymouthd should be allowed search access on the run directory by default.
Then you should report this as a bug.
You can generate a local policy module to allow this access.
Do
allow this access for now by executing:
# grep plymouthd /var/log/audit/audit.log | audit2allow -M mypol
# semodule -i mypol.pp

Additional Information:
Source Context                system_u:system_r:plymouthd_t:s0
Target Context                system_u:object_r:etc_runtime_t:s0
Target Objects                run [ dir ]
Source                        plymouthd
Source Path                   /sbin/plymouthd
Port                          <Desconhecido>
Host                          (removed)
Source RPM Packages           plymouth-0.8.4-0.20110209.2.fc15
Target RPM Packages           
Policy RPM                    selinux-policy-3.9.14-2.fc15
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed)
                              2.6.38-0.rc5.git1.1.fc15.x86_64 #1 SMP Thu Feb 17
                              01:49:02 UTC 2011 x86_64 x86_64
Alert Count                   1
First Seen                    Ter 05 Abr 2011 14:44:10 BRT
Last Seen                     Ter 05 Abr 2011 14:44:10 BRT
Local ID                      151db31e-3d26-4dbb-b16e-4a24b8c9ea1e

Raw Audit Messages
type=AVC msg=audit(1302025450.142:491): avc:  denied  { search } for  pid=2507 comm="plymouthd" name="run" dev=sda3 ino=4194305 scontext=system_u:system_r:plymouthd_t:s0 tcontext=system_u:object_r:etc_runtime_t:s0 tclass=dir


type=SYSCALL msg=audit(1302025450.142:491): arch=x86_64 syscall=open success=no exit=EACCES a0=e05930 a1=241 a2=1b6 a3=7fff095ede00 items=0 ppid=1 pid=2507 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=plymouthd exe=/sbin/plymouthd subj=system_u:system_r:plymouthd_t:s0 key=(null)

Hash: plymouthd,plymouthd_t,etc_runtime_t,dir,search

audit2allow

#============= plymouthd_t ==============
allow plymouthd_t etc_runtime_t:dir search;

audit2allow -R

#============= plymouthd_t ==============
allow plymouthd_t etc_runtime_t:dir search;

Comment 1 Miroslav Grepl 2011-04-06 07:58:39 UTC
Please update your system.


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