Bug 660165

Summary: SELinux is preventing plymouthd from 'create' accesses on the file force-display-on-active-vt.
Product: [Fedora] Fedora Reporter: Flóki Pálsson <flokip>
Component: selinux-policyAssignee: Miroslav Grepl <mgrepl>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: rawhideCC: dwalsh, mgrepl
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: setroubleshoot_trace_hash:54b3aea7e6890ee207cf9aefcff7165f47c52ea2906784079be437fbbe65d233
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-12-06 09:42:04 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 Flóki Pálsson 2010-12-05 23:20:30 UTC
SELinux is preventing plymouthd from 'create' accesses on the file force-display-on-active-vt.

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

If you believe that plymouthd should be allowed create access on the force-display-on-active-vt file 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:xdm_spool_t:s0
Target Objects                force-display-on-active-vt [ file ]
Source                        plymouthd
Source Path                   plymouthd
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
Policy RPM                    selinux-policy-3.9.10-6.fc15
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 2.6.36.1-11.fc15.x86_64 #1 SMP Fri
                              Dec 3 12:29:43 UTC 2010 x86_64 x86_64
Alert Count                   1
First Seen                    Sun 05 Dec 2010 11:11:30 PM GMT
Last Seen                     Sun 05 Dec 2010 11:11:30 PM GMT
Local ID                      17e4bc35-7807-48f0-84e0-95786db8b5a9

Raw Audit Messages
type=AVC msg=audit(1291590690.314:50): avc:  denied  { create } for  pid=903 comm="plymouthd" name="force-display-on-active-vt" scontext=system_u:system_r:plymouthd_t:s0 tcontext=system_u:object_r:xdm_spool_t:s0 tclass=file

plymouthd,plymouthd_t,xdm_spool_t,file,create

#============= plymouthd_t ==============
allow plymouthd_t xdm_spool_t:file create;

Comment 1 Miroslav Grepl 2010-12-06 09:42:04 UTC

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