Bug 723046 - SELinux is preventing /lib/systemd/systemd-uaccess from 'getattr' accesses on the file /run/systemd/seats/seat0.
Summary: SELinux is preventing /lib/systemd/systemd-uaccess from 'getattr' accesses on...
Keywords:
Status: CLOSED DUPLICATE of bug 723045
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: rawhide
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: setroubleshoot_trace_hash:f43afd626ad...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-07-18 20:26 UTC by Jason D. Clinton
Modified: 2011-07-19 07:26 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-07-19 07:26:39 UTC
Type: ---


Attachments (Terms of Use)

Description Jason D. Clinton 2011-07-18 20:26:17 UTC
SELinux is preventing /lib/systemd/systemd-uaccess from 'getattr' accesses on the file /run/systemd/seats/seat0.

*****  Plugin catchall (100. confidence) suggests  ***************************

If you believe that systemd-uaccess should be allowed getattr access on the seat0 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 systemd-uaccess /var/log/audit/audit.log | audit2allow -M mypol
# semodule -i mypol.pp

Additional Information:
Source Context                system_u:system_r:udev_t:s0-s0:c0.c1023
Target Context                system_u:object_r:systemd_logind_var_run_t:s0
Target Objects                /run/systemd/seats/seat0 [ file ]
Source                        systemd-uaccess
Source Path                   /lib/systemd/systemd-uaccess
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           systemd-30-1.fc16
Target RPM Packages           
Policy RPM                    selinux-policy-3.10.0-5.fc16
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Permissive
Host Name                     (removed)
Platform                      Linux (removed)
                              3.0-0.rc7.git3.1.fc16.x86_64 #1 SMP Fri Jul 15
                              22:56:12 UTC 2011 x86_64 x86_64
Alert Count                   2
First Seen                    Mon 18 Jul 2011 03:24:49 PM CDT
Last Seen                     Mon 18 Jul 2011 03:24:50 PM CDT
Local ID                      9ba7acd4-8f46-479c-8c09-903ccfd947ca

Raw Audit Messages
type=AVC msg=audit(1311020690.649:110): avc:  denied  { getattr } for  pid=5345 comm="systemd-uaccess" path="/run/systemd/seats/seat0" dev=tmpfs ino=99483 scontext=system_u:system_r:udev_t:s0-s0:c0.c1023 tcontext=system_u:object_r:systemd_logind_var_run_t:s0 tclass=file


type=SYSCALL msg=audit(1311020690.649:110): arch=x86_64 syscall=fstat success=yes exit=0 a0=4 a1=7fff020b5eb0 a2=7fff020b5eb0 a3=7fff020b5f70 items=0 ppid=1896 pid=5345 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=systemd-uaccess exe=/lib/systemd/systemd-uaccess subj=system_u:system_r:udev_t:s0-s0:c0.c1023 key=(null)

Hash: systemd-uaccess,udev_t,systemd_logind_var_run_t,file,getattr

audit2allow

#============= udev_t ==============
allow udev_t systemd_logind_var_run_t:file getattr;

audit2allow -R

#============= udev_t ==============
allow udev_t systemd_logind_var_run_t:file getattr;

Comment 1 Miroslav Grepl 2011-07-19 07:26:39 UTC

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


Note You need to log in before you can comment on or make changes to this bug.