Bug 725001

Summary: [abrt] (null): SELinux is preventing systemd-logind from 'search' accesses on the directory 1791.
Product: [Fedora] Fedora Reporter: Mads Kiilerich <mads>
Component: selinux-policyAssignee: Miroslav Grepl <mgrepl>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: dominick.grift, dwalsh, mgrepl
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Unspecified   
Whiteboard: abrt_hash:9795904082e28df8181766f3896a7b48555a371f5e44f55a6572b126d994053f
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-07-22 20:31:07 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 Mads Kiilerich 2011-07-22 14:45:58 UTC
abrt version: 2.0.5
executable:     /usr/bin/python
hashmarkername: setroubleshoot
kernel:         3.0-0.rc7.git3.1.fc16.i686.PAE
reason:         SELinux is preventing systemd-logind from 'search' accesses on the directory 1791.
time:           Fri Jul 22 16:45:42 2011

description:
:SELinux is preventing systemd-logind from 'search' accesses on the directory 1791.
:
:*****  Plugin catchall (100. confidence) suggests  ***************************
:
:If you believe that systemd-logind should be allowed search access on the 1791 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 systemd-logind /var/log/audit/audit.log | audit2allow -M mypol
:# semodule -i mypol.pp
:
:Additional Information:
:Source Context                system_u:system_r:systemd_logind_t:s0
:Target Context                unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1
:                              023
:Target Objects                1791 [ dir ]
:Source                        systemd-logind
:Source Path                   systemd-logind
:Port                          <Unknown>
:Host                          (removed)
:Source RPM Packages           
:Target RPM Packages           
:Policy RPM                    selinux-policy-3.10.0-6.fc16
:Selinux Enabled               True
:Policy Type                   targeted
:Enforcing Mode                Permissive
:Host Name                     (removed)
:Platform                      Linux (removed)
:                              3.0-0.rc7.git3.1.fc16.i686.PAE #1 SMP Fri Jul 15
:                              22:56:04 UTC 2011 i686 i686
:Alert Count                   1
:First Seen                    Fri 22 Jul 2011 04:08:48 PM CEST
:Last Seen                     Fri 22 Jul 2011 04:08:48 PM CEST
:Local ID                      8009c268-730c-45c7-8d10-583b3e617893
:
:Raw Audit Messages
:type=AVC msg=audit(1311343728.290:57): avc:  denied  { search } for  pid=858 comm="systemd-logind" name="1791" dev=proc ino=25389 scontext=system_u:system_r:systemd_logind_t:s0 tcontext=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 tclass=dir
:
:
:Hash: systemd-logind,systemd_logind_t,unconfined_t,dir,search
:
:audit2allow
:
:#============= systemd_logind_t ==============
:allow systemd_logind_t unconfined_t:dir search;
:
:audit2allow -R
:
:#============= systemd_logind_t ==============
:allow systemd_logind_t unconfined_t:dir search;
:

Comment 1 Mads Kiilerich 2011-07-22 15:14:54 UTC
1791 is me doing a 'su -'.

Comment 2 Daniel Walsh 2011-07-22 20:31:07 UTC
Fixed in selinux-policy-3.10.0-7.fc16.noarch