Bug 789028

Summary: SELinux is preventing /usr/libexec/polkit-1/polkit-agent-helper-1 from read, append access on the None /data/.xsession-errors.
Product: [Fedora] Fedora Reporter: Stef Walter <stefw>
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:71f35cf9f353dad14798af927738b5a2f7735a95a365df76a6009654c9cd936f
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-02-09 20:07:26 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 Stef Walter 2012-02-09 16:11:08 UTC
libreport version: 2.0.8
executable:     /usr/bin/python
hashmarkername: setroubleshoot
kernel:         3.2.3-2.fc16.x86_64
reason:         SELinux is preventing /usr/libexec/polkit-1/polkit-agent-helper-1 from read, append access on the None /data/.xsession-errors.
time:           Thu 09 Feb 2012 05:10:57 PM CET

description:
:SELinux is preventing /usr/libexec/polkit-1/polkit-agent-helper-1 from read, append access on the None /data/.xsession-errors.
:
:*****  Plugin catchall (100. confidence) suggests  ***************************
:
:If you believe that polkit-agent-helper-1 should be allowed read append access on the .xsession-errors <Unknown> 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 polkit-agent-he /var/log/audit/audit.log | audit2allow -M mypol
:# semodule -i mypol.pp
:
:Additional Information:
:Source Context                unconfined_u:unconfined_r:policykit_auth_t:s0-s0:c
:                              0.c1023
:Target Context                system_u:object_r:default_t:s0
:Target Objects                /data/.xsession-errors [ None ]
:Source                        polkit-agent-he
:Source Path                   /usr/libexec/polkit-1/polkit-agent-helper-1
:Port                          <Unknown>
:Host                          (removed)
:Source RPM Packages           polkit-0.102-3.fc16.x86_64
:Target RPM Packages           
:Policy RPM                    selinux-policy-3.10.0-75.fc16.noarch
:Selinux Enabled               True
:Policy Type                   targeted
:Enforcing Mode                Enforcing
:Host Name                     (removed)
:Platform                      Linux (removed)
:                              3.2.3-2.fc16.x86_64 #1 SMP Fri Feb 3 20:08:08 UTC
:                              2012 x86_64 x86_64
:Alert Count                   1
:First Seen                    Thu 09 Feb 2012 04:37:18 PM CET
:Last Seen                     Thu 09 Feb 2012 04:37:18 PM CET
:Local ID                      27a57d3f-9eef-4f07-99da-3bff53f7f9e2
:
:Raw Audit Messages
:type=AVC msg=audit(1328801838.169:163): avc:  denied  { read append } for  pid=3774 comm="polkit-agent-he" path="/data/.xsession-errors" dev=dm-3 ino=7340040 scontext=unconfined_u:unconfined_r:policykit_auth_t:s0-s0:c0.c1023 tcontext=system_u:object_r:default_t:s0 tclass=filenode=(removed) type=SYSCALL msg=audit(1328801838.169:163): arch=c000003e syscall=59 success=yes exit=0 a0=36aca071b0 a1=7fffcfd1d4c0 a2=c68500 a3=0 items=0 ppid=2210 pid=3774 auid=1000 uid=1000 gid=1000 euid=0 suid=0 fsuid=0 egid=1000 sgid=1000 fsgid=1000 tty=(none) ses=5 comm="polkit-agent-he" exe="/usr/libexec/polkit-1/polkit-agent-helper-1" subj=unconfined_u:unconfined_r:policykit_auth_t:s0-s0:c0.c1023 key=(null)
:
:
:Hash: polkit-agent-he,policykit_auth_t,default_t,None,read,append
:
:audit2allow
:
:
:audit2allow -R
:
:

Comment 1 Miroslav Grepl 2012-02-09 20:07:26 UTC

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