View Issue Details

IDProjectCategoryView StatusLast Update
0016161CentOS-7selinux-policypublic2019-06-07 15:53
PrioritynormalSeverityminorReproducibilityhave not tried
Status newResolutionopen 
PlatformOSOS Version7
Product Version 
Target VersionFixed in Version 
Summary0016161: SELinux is preventing /usr/libexec/gsd-power from 'setattr' accesses on the directory cache.
DescriptionDescription of problem:
SELinux is preventing /usr/libexec/gsd-power from 'setattr' accesses on the directory cache.

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

If you believe that gsd-power should be allowed setattr access on the cache directory by default.
Then you should report this as a bug.
You can generate a local policy module to allow this access.
allow this access for now by executing:
# ausearch -c 'gsd-power' --raw | audit2allow -M my-gsdpower
# semodule -i my-gsdpower.pp

Additional Information:
Source Context system_u:system_r:xdm_t:s0-s0:c0.c1023
Target Context system_u:object_r:lib_t:s0
Target Objects cache [ dir ]
Source gsd-power
Source Path /usr/libexec/gsd-power
Port <Unknown>
Host (removed)
Source RPM Packages gnome-settings-daemon-3.26.2-9.el7.x86_64
Target RPM Packages
Policy RPM selinux-policy-3.13.1-192.el7_5.4.noarch
Selinux Enabled True
Policy Type targeted
Enforcing Mode Enforcing
Host Name (removed)
Platform Linux (removed) 3.10.0-862.11.6.el7.x86_64 #1 SMP
                              Tue Aug 14 21:49:04 UTC 2018 x86_64 x86_64
Alert Count 92
First Seen 2019-06-07 11:40:17 EDT
Last Seen 2019-06-07 11:41:07 EDT
Local ID a8988d00-e4d8-4a89-9db1-592a4a53ef0b

Raw Audit Messages
type=AVC msg=audit(1559922067.123:310): avc: denied { setattr } for pid=10922 comm="gsd-media-keys" name="cache" dev="dm-0" ino=101219277 scontext=system_u:system_r:xdm_t:s0-s0:c0.c1023 tcontext=system_u:object_r:lib_t:s0 tclass=dir

type=SYSCALL msg=audit(1559922067.123:310): arch=x86_64 syscall=chmod success=no exit=EACCES a0=1b2af70 a1=1ed a2=1b2af89 a3=1 items=0 ppid=1 pid=10922 auid=4294967295 uid=42 gid=42 euid=42 suid=42 fsuid=42 egid=42 sgid=42 fsgid=42 tty=(none) ses=4294967295 comm=gsd-media-keys exe=/usr/libexec/gsd-media-keys subj=system_u:system_r:xdm_t:s0-s0:c0.c1023 key=(null)

Hash: gsd-power,xdm_t,lib_t,dir,setattr

Version-Release number of selected component:
Additional Informationreporter: libreport-
hashmarkername: setroubleshoot
kernel: 3.10.0-862.11.6.el7.x86_64
reproducible: Not sure how to reproduce the problem
type: libreport
TagsNo tags attached.


There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2019-06-07 15:53 hleary New Issue