0015484: SELinux is preventing /usr/libexec/ibus-x11 from ‘setattr’ accesses on the directory cache.

0015484: SELinux is preventing /usr/libexec/ibus-x11 from ‘setattr’ accesses on the directory cache.

Description of problem:<br />
entered (as su) yum update –disablerepo=c7-media<br />
SELinux is preventing /usr/libexec/ibus-x11 from ‘setattr’ accesses on the directory cache.<br />
<br />
***** Plugin catchall (100. confidence) suggests **************************<br />
<br />
If you believe that ibus-x11 should be allowed setattr access on the cache directory by default.<br />
Then you should report this as a bug.<br />
You can generate a local policy module to allow this access.<br />
Do<br />
allow this access for now by executing:<br />
# ausearch -c ‘ibus-x11’ –raw | audit2allow -M my-ibusx11<br />
# semodule -i my-ibusx11.pp<br />
<br />
Additional Information:<br />
Source Context system_u:system_r:xdm_t:s0-s0:c0.c1023<br />
Target Context system_u:object_r:lib_t:s0<br />
Target Objects cache [ dir ]<br />
Source ibus-x11<br />
Source Path /usr/libexec/ibus-x11<br />
Port <Unknown><br />
Host (removed)<br />
Source RPM Packages ibus-1.5.17-2.el7.x86_64<br />
Target RPM Packages <br />
Policy RPM selinux-policy-3.13.1-192.el7_5.6.noarch<br />
Selinux Enabled True<br />
Policy Type targeted<br />
Enforcing Mode Enforcing<br />
Host Name (removed)<br />
Platform Linux (removed) 3.10.0-862.11.6.el7.x86_64 #1 SMP<br />
Tue Aug 14 21:49:04 UTC 2018 x86_64 x86_64<br />
Alert Count 47<br />
First Seen 2018-11-22 14:03:02 EST<br />
Last Seen 2018-11-22 14:05:21 EST<br />
Local ID 939cac64-a520-43eb-9c28-e444e0635b4a<br />
<br />
Raw Audit Messages<br />
type=AVC msg=audit(1542913521.450:663): avc: denied { setattr } for pid=5628 comm="ibus-x11" name="cache" dev="dm-0" ino=33617201 scontext=system_u:system_r:xdm_t:s0-s0:c0.c1023 tcontext=system_u:object_r:lib_t:s0 tclass=dir<br />
<br />
<br />
type=SYSCALL msg=audit(1542913521.450:663): arch=x86_64 syscall=chmod success=no exit=EACCES a0=10c6e70 a1=1ed a2=10c6e89 a3=1 items=0 ppid=1 pid=5628 auid=4294967295 uid=42 gid=42 euid=42 suid=42 fsuid=42 egid=42 sgid=42 fsgid=42 tty=(none) ses=4294967295 comm=ibus-x11 exe=/usr/libexec/ibus-x11 subj=system_u:system_r:xdm_t:s0-s0:c0.c1023 key=(null)<br />
<br />
Hash: ibus-x11,xdm_t,lib_t,dir,setattr<br />
<br />
Version-Release number of selected component:<br />
selinux-policy-3.13.1-192.el7_5.6.noarch

* This article was originally published here

Leave a Reply

Your email address will not be published. Required fields are marked *