Bug 723045 - SELinux is preventing /lib/systemd/systemd-uaccess from 'read' accesses on the file seat0.
Summary: SELinux is preventing /lib/systemd/systemd-uaccess from 'read' accesses on th...
Keywords:
Status: CLOSED RAWHIDE
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:34507672858...
: 723046 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-07-18 20:25 UTC by Jason D. Clinton
Modified: 2011-07-19 07:27 UTC (History)
3 users (show)

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


Attachments (Terms of Use)

Description Jason D. Clinton 2011-07-18 20:25:47 UTC
SELinux is preventing /lib/systemd/systemd-uaccess from 'read' accesses on the file seat0.

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

If you believe that systemd-uaccess should be allowed read 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                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                      5a66f8b5-3f91-42a1-943a-59b9f7918bc5

Raw Audit Messages
type=AVC msg=audit(1311020690.648:109): avc:  denied  { read } for  pid=5345 comm="systemd-uaccess" name="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=AVC msg=audit(1311020690.648:109): avc:  denied  { open } for  pid=5345 comm="systemd-uaccess" name="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.648:109): arch=x86_64 syscall=open success=yes exit=EINTR a0=20b8030 a1=80000 a2=1b6 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,read

audit2allow

#============= udev_t ==============
allow udev_t systemd_logind_var_run_t:file { read open };

audit2allow -R

#============= udev_t ==============
allow udev_t systemd_logind_var_run_t:file { read open };

Comment 1 Miroslav Grepl 2011-07-19 07:26:39 UTC
*** Bug 723046 has been marked as a duplicate of this bug. ***

Comment 2 Miroslav Grepl 2011-07-19 07:27:22 UTC
Fixed in selinux-policy-3.10.0-6.fc16.


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