Bug 795101

Summary: SELinux is preventing /lib/systemd/systemd-logind (deleted) from 'getattr' accesses on the None 002.
Product: [Fedora] Fedora Reporter: Grosswiler Roger <roger>
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:9c57d57dedadd8aebd1336c6c557cc1b1fbdba1da3e148230a046da11527aeca
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-02-20 16:14:43 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 Grosswiler Roger 2012-02-19 11:21:45 UTC
libreport version: 2.0.8
executable:     /usr/bin/python
hashmarkername: setroubleshoot
kernel:         3.2.6-3.fc16.x86_64
reason:         SELinux is preventing /lib/systemd/systemd-logind (deleted) from 'getattr' accesses on the None 002.
time:           Son 19 Feb 2012 12:21:34 CET

description:
:SELinux is preventing /lib/systemd/systemd-logind (deleted) from 'getattr' accesses on the None 002.
:
:*****  Plugin catchall (100. confidence) suggests  ***************************
:
:If you believe that systemd-logind (deleted) should be allowed getattr access on the 002 <Unbekannt> 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                system_u:object_r:svirt_image_t:s0:c89,c437
:Target Objects                002 [ None ]
:Source                        systemd-logind
:Source Path                   /lib/systemd/systemd-logind (deleted)
:Port                          <Unbekannt>
:Host                          (removed)
:Source RPM Packages           
: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.6-3.fc16.x86_64 #1 SMP Mon Feb
:                              13 20:35:42 UTC 2012 x86_64 x86_64
:Alert Count                   2
:First Seen                    Son 19 Feb 2012 10:27:31 CET
:Last Seen                     Son 19 Feb 2012 10:27:56 CET
:Local ID                      e9e5ae57-b894-4dab-b15f-3cbe4093daae
:
:Raw Audit Messages
:type=AVC msg=audit(1329643676.88:848): avc:  denied  { getattr } for  pid=1049 comm="systemd-logind" name="002" dev=devtmpfs ino=14349 scontext=system_u:system_r:systemd_logind_t:s0 tcontext=system_u:object_r:svirt_image_t:s0:c89,c437 tclass=chr_filenode=(removed) type=SYSCALL msg=audit(1329643676.088:848): arch=c000003e syscall=191 success=yes exit=44 a0=89a780 a1=3913e05d2b a2=7fff697f8480 a3=84 items=0 ppid=1 pid=1049 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="systemd-logind" exe=2F6C69622F73797374656D642F73797374656D642D6C6F67696E64202864656C6574656429 subj=system_u:system_r:systemd_logind_t:s0 key=(null)
:
:
:Hash: systemd-logind,systemd_logind_t,svirt_image_t,None,getattr
:
:audit2allow
:
:
:audit2allow -R
:
:

Comment 1 Miroslav Grepl 2012-02-20 16:14:43 UTC

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