Bug 1007270 - SELinux is preventing /usr/libexec/gdm-session-worker from 'getattr' accesses on the file /run/mount/utab.
Summary: SELinux is preventing /usr/libexec/gdm-session-worker from 'getattr' accesses...
Keywords:
Status: CLOSED DUPLICATE of bug 1007269
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 19
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:8e6624f0d6b27a8afceb07d6ee3...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-09-12 08:21 UTC by Milan Kerslager
Modified: 2013-09-12 09:36 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-09-12 09:36:34 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Milan Kerslager 2013-09-12 08:21:23 UTC
Description of problem:
Normal GUI use.
SELinux is preventing /usr/libexec/gdm-session-worker from 'getattr' accesses on the file /run/mount/utab.

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

If you believe that gdm-session-worker should be allowed getattr access on the utab 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 gdm-session-wor /var/log/audit/audit.log | audit2allow -M mypol
# semodule -i mypol.pp

Additional Information:
Source Context                system_u:system_r:xdm_t:s0-s0:c0.c1023
Target Context                system_u:object_r:mount_var_run_t:s0
Target Objects                /run/mount/utab [ file ]
Source                        gdm-session-wor
Source Path                   /usr/libexec/gdm-session-worker
Port                          <Neznámé>
Host                          (removed)
Source RPM Packages           gdm-3.8.4-2.fc19.x86_64
Target RPM Packages           
Policy RPM                    selinux-policy-3.12.1-74.1.fc19.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Permissive
Host Name                     (removed)
Platform                      Linux (removed) 3.10.10-200.fc19.x86_64 #1 SMP Thu
                              Aug 29 19:05:45 UTC 2013 x86_64 x86_64
Alert Count                   2
First Seen                    2013-09-10 13:57:52 CEST
Last Seen                     2013-09-10 13:58:25 CEST
Local ID                      72694dbf-5935-41f7-9c97-748916f2762d

Raw Audit Messages
type=AVC msg=audit(1378814305.173:453): avc:  denied  { getattr } for  pid=1673 comm="gdm-session-wor" path="/run/mount/utab" dev="tmpfs" ino=7446 scontext=system_u:system_r:xdm_t:s0-s0:c0.c1023 tcontext=system_u:object_r:mount_var_run_t:s0 tclass=file


type=SYSCALL msg=audit(1378814305.173:453): arch=x86_64 syscall=lstat success=yes exit=0 a0=7f98a9f881fe a1=7fffdad1c760 a2=7fffdad1c760 a3=0 items=0 ppid=1354 pid=1673 auid=500 uid=0 gid=500 euid=0 suid=0 fsuid=0 egid=500 sgid=500 fsgid=500 ses=1 tty=(none) comm=gdm-session-wor exe=/usr/libexec/gdm-session-worker subj=system_u:system_r:xdm_t:s0-s0:c0.c1023 key=(null)

Hash: gdm-session-wor,xdm_t,mount_var_run_t,file,getattr

Additional info:
reporter:       libreport-2.1.6
hashmarkername: setroubleshoot
kernel:         3.10.10-200.fc19.x86_64
type:           libreport

Comment 1 Miroslav Grepl 2013-09-12 09:36:34 UTC

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


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