Bug 1017889 - sddm selinux issues
Summary: sddm selinux issues
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 20
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-10-10 17:20 UTC by Orion Poplawski
Modified: 2014-07-25 20:29 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-07-25 20:29:39 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Orion Poplawski 2013-10-10 17:20:49 UTC
Description of problem:

/usr/bin/sddm is labeled bin_t and runs in initrc_t.  Presumably it should be labeled xdm_exec_t.

When labeled xdm_exec_t I see the following denials in permissive mode:

type=AVC msg=audit(1381425470.880:160): avc:  denied  { write } for  pid=1226 comm="xauth" name="sddm" dev="tmpfs" ino=11273 scontext=system_u:system_r:xauth_t:s0-s0:c0.c1023 tcontext=system_u:object_r:var_run_t:s0 tclass=dir
type=AVC msg=audit(1381425470.880:160): avc:  denied  { add_name } for  pid=1226 comm="xauth" name="A:0-Lsrash-c" scontext=system_u:system_r:xauth_t:s0-s0:c0.c1023 tcontext=system_u:object_r:var_run_t:s0 tclass=dir
type=AVC msg=audit(1381425470.880:160): avc:  denied  { create } for  pid=1226 comm="xauth" name="A:0-Lsrash-c" scontext=system_u:system_r:xauth_t:s0-s0:c0.c1023 tcontext=system_u:object_r:var_run_t:s0 tclass=file
type=AVC msg=audit(1381425470.880:160): avc:  denied  { open } for  pid=1226 comm="xauth" path="/run/sddm/A:0-Lsrash-c" dev="tmpfs" ino=20485 scontext=system_u:system_r:xauth_t:s0-s0:c0.c1023 tcontext=system_u:object_r:var_run_t:s0 tclass=file
type=AVC msg=audit(1381425470.881:161): avc:  denied  { link } for  pid=1226 comm="xauth" name="A:0-Lsrash-c" dev="tmpfs" ino=20485 scontext=system_u:system_r:xauth_t:s0-s0:c0.c1023 tcontext=system_u:object_r:var_run_t:s0 tclass=file
type=AVC msg=audit(1381425470.882:162): avc:  denied  { remove_name } for  pid=1226 comm="xauth" name="A:0-Lsrash-n" dev="tmpfs" ino=20486 scontext=system_u:system_r:xauth_t:s0-s0:c0.c1023 tcontext=system_u:object_r:var_run_t:s0 tclass=dir
type=AVC msg=audit(1381425470.882:162): avc:  denied  { unlink } for  pid=1226 comm="xauth" name="A:0-Lsrash-n" dev="tmpfs" ino=20486 scontext=system_u:system_r:xauth_t:s0-s0:c0.c1023 tcontext=system_u:object_r:var_run_t:s0 tclass=file
type=AVC msg=audit(1381425470.947:163): avc:  denied  { open } for  pid=1229 comm="sddm-greeter" path="/run/sddm/A:0-Lsrash" dev="tmpfs" ino=20486 scontext=system_u:system_r:xdm_t:s0-s0:c0.c1023 tcontext=system_u:object_r:var_run_t:s0 tclass=file
type=AVC msg=audit(1381425470.947:164): avc:  denied  { getattr } for  pid=1229 comm="sddm-greeter" path="/run/sddm/A:0-Lsrash" dev="tmpfs" ino=20486 scontext=system_u:system_r:xdm_t:s0-s0:c0.c1023 tcontext=system_u:object_r:var_run_t:s0 tclass=file

Version-Release number of selected component (if applicable):
selinux-policy-3.12.1-75.fc20.noarch

Comment 1 Orion Poplawski 2014-07-25 20:29:39 UTC
Looks like this got fixed a while back.


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