Bug 797531

Summary: SELinux is preventing /lib/systemd/systemd-logind from 'setattr' accesses on the None .seat0VEnUsQ.
Product: [Fedora] Fedora Reporter: Horst H. von Brand <vonbrand>
Component: selinux-policyAssignee: Miroslav Grepl <mgrepl>
Status: CLOSED NOTABUG 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:18730512b80d6cb793a2676a1070eb2079cb55be7b6933e8bf0e80b51285afc1
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-02-27 11:41:03 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 Horst H. von Brand 2012-02-26 15:56:00 UTC
libreport version: 2.0.8
executable:     /usr/bin/python
hashmarkername: setroubleshoot
kernel:         3.2.7-1.fc16.x86_64
reason:         SELinux is preventing /lib/systemd/systemd-logind from 'setattr' accesses on the None .seat0VEnUsQ.
time:           Sun 26 Feb 2012 12:54:58 PM CLST

description:
:SELinux is preventing /lib/systemd/systemd-logind from 'setattr' accesses on the None .seat0VEnUsQ.
:
:*****  Plugin catchall (100. confidence) suggests  ***************************
:
:If you believe that systemd-logind should be allowed setattr access on the .seat0VEnUsQ <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 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:init_var_run_t:s0
:Target Objects                .seat0VEnUsQ [ None ]
:Source                        systemd-logind
:Source Path                   /lib/systemd/systemd-logind
:Port                          <Unknown>
:Host                          (removed)
:Source RPM Packages           systemd-37-13.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.7-1.fc16.x86_64 #1
:                              SMP Tue Feb 21 01:40:47 UTC 2012 x86_64 x86_64
:Alert Count                   2
:First Seen                    Sun 26 Feb 2012 12:01:01 PM CLST
:Last Seen                     Sun 26 Feb 2012 12:50:00 PM CLST
:Local ID                      335cb1a9-b34f-40c8-a7e3-1e12e75fefec
:
:Raw Audit Messages
:type=AVC msg=audit(1330271400.202:143): avc:  denied  { setattr } for  pid=1679 comm="systemd-logind" name=".seat0VEnUsQ" dev=tmpfs ino=24510 scontext=system_u:system_r:systemd_logind_t:s0 tcontext=system_u:object_r:init_var_run_t:s0 tclass=filenode=(removed) type=SYSCALL msg=audit(1330271400.202:143): arch=c000003e syscall=91 success=yes exit=0 a0=b a1=1a4 a2=1 a3=7fffc3437f20 items=0 ppid=1 pid=1679 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="/lib/systemd/systemd-logind" subj=system_u:system_r:systemd_logind_t:s0 key=(null)
:
:
:Hash: systemd-logind,systemd_logind_t,init_var_run_t,None,setattr
:
:audit2allow
:
:
:audit2allow -R
:
:

Comment 1 Miroslav Grepl 2012-02-27 11:41:03 UTC
You /run is mislabeled. Please execute

$ retorecon -R -v /run

Comment 2 Miroslav Grepl 2012-02-27 11:41:11 UTC
*** Bug 797532 has been marked as a duplicate of this bug. ***

Comment 3 Miroslav Grepl 2012-02-27 11:41:19 UTC
*** Bug 797535 has been marked as a duplicate of this bug. ***

Comment 4 Miroslav Grepl 2012-02-27 11:42:00 UTC
*** Bug 797545 has been marked as a duplicate of this bug. ***