Bug 811725

Summary: SELinux is preventing /usr/bin/pkcon from 'write' accesses on the fifo_file fifo_file.
Product: [Fedora] Fedora Reporter: info
Component: selinux-policyAssignee: Miroslav Grepl <mgrepl>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 16CC: dominick.grift, dwalsh, mgrepl
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:adcf527612ef72a6253d5f8ba753bf4136e926dbfa876d670939c21aa3573bd3
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-04-12 08:59:59 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description info 2012-04-11 19:48:09 UTC
libreport version: 2.0.8
executable:     /usr/bin/python
hashmarkername: setroubleshoot
kernel:         3.3.1-3.fc16.x86_64
reason:         SELinux is preventing /usr/bin/pkcon from 'write' accesses on the fifo_file fifo_file.
time:           Wed 11 Apr 2012 10:47:54 PM EEST

description:
:SELinux is preventing /usr/bin/pkcon from 'write' accesses on the fifo_file fifo_file.
:
:*****  Plugin catchall (100. confidence) suggests  ***************************
:
:If you believe that pkcon should be allowed write access on the fifo_file fifo_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 pkcon /var/log/audit/audit.log | audit2allow -M mypol
:# semodule -i mypol.pp
:
:Additional Information:
:Source Context                system_u:system_r:rtkit_daemon_t:s0-s0:c0.c1023
:Target Context                system_u:system_r:rtkit_daemon_t:s0-s0:c0.c1023
:Target Objects                fifo_file [ fifo_file ]
:Source                        pkcon
:Source Path                   /usr/bin/pkcon
:Port                          <Unknown>
:Host                          (removed)
:Source RPM Packages           PackageKit-0.6.21-2.fc16.x86_64
:Target RPM Packages           
:Policy RPM                    selinux-policy-3.10.0-80.fc16.noarch
:Selinux Enabled               True
:Policy Type                   targeted
:Enforcing Mode                Permissive
:Host Name                     (removed)
:Platform                      Linux (removed) 3.3.1-3.fc16.x86_64 #1
:                              SMP Wed Apr 4 18:08:51 UTC 2012 x86_64 x86_64
:Alert Count                   1
:First Seen                    Wed 11 Apr 2012 10:39:04 PM EEST
:Last Seen                     Wed 11 Apr 2012 10:39:04 PM EEST
:Local ID                      4ea4a88c-4889-4c18-80f4-fc1a053c4d2c
:
:Raw Audit Messages
:type=AVC msg=audit(1334173144.300:70): avc:  denied  { write } for  pid=1783 comm="pkcon" path="pipe:[25004]" dev="pipefs" ino=25004 scontext=system_u:system_r:rtkit_daemon_t:s0-s0:c0.c1023 tcontext=system_u:system_r:rtkit_daemon_t:s0-s0:c0.c1023 tclass=fifo_file
:
:
:type=SYSCALL msg=audit(1334173144.300:70): arch=x86_64 syscall=write success=yes exit=ESPIPE a0=1 a1=7f4345384000 a2=1d a3=1 items=0 ppid=1781 pid=1783 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=pkcon exe=/usr/bin/pkcon subj=system_u:system_r:rtkit_daemon_t:s0-s0:c0.c1023 key=(null)
:
:Hash: pkcon,rtkit_daemon_t,rtkit_daemon_t,fifo_file,write
:
:audit2allow
:
:#============= rtkit_daemon_t ==============
:allow rtkit_daemon_t self:fifo_file write;
:
:audit2allow -R
:
:#============= rtkit_daemon_t ==============
:allow rtkit_daemon_t self:fifo_file write;
:

Comment 1 Miroslav Grepl 2012-04-12 08:59:59 UTC

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