Fedora Account System
Red Hat Associate
Red Hat Customer
Description of problem: SELinux AVC denial was fired when configuring "Input Sources" (adding keyboard layout) for "Login Screen" in the "Region&Language" module of the GNOME Settings SELinux is preventing /usr/lib/systemd/systemd-localed from 'unlink' accesses on the file 00-keyboard.conf. ***** Plugin catchall (100. confidence) suggests *************************** If you believe that systemd-localed should be allowed unlink access on the 00-keyboard.conf 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-localed /var/log/audit/audit.log | audit2allow -M mypol # semodule -i mypol.pp Additional Information: Source Context system_u:system_r:systemd_localed_t:s0 Target Context system_u:object_r:xserver_etc_t:s0 Target Objects 00-keyboard.conf [ file ] Source systemd-localed Source Path /usr/lib/systemd/systemd-localed Port <Unknown> Host (removed) Source RPM Packages systemd-198-7.fc19.x86_64 Target RPM Packages Policy RPM selinux-policy-3.12.1-23.fc19.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Permissive Host Name (removed) Platform Linux (removed) 3.9.0-0.rc3.git0.4.fc19.x86_64 #1 SMP Tue Mar 19 23:11:33 UTC 2013 x86_64 x86_64 Alert Count 1 First Seen 2013-03-22 09:35:27 EDT Last Seen 2013-03-22 09:35:27 EDT Local ID 11d31971-c497-4c7c-b409-d48e243a36c4 Raw Audit Messages type=AVC msg=audit(1363959327.162:121): avc: denied { unlink } for pid=1189 comm="systemd-localed" name="00-keyboard.conf" dev="dm-0" ino=163367 scontext=system_u:system_r:systemd_localed_t:s0 tcontext=system_u:object_r:xserver_etc_t:s0 tclass=file type=SYSCALL msg=audit(1363959327.162:121): arch=x86_64 syscall=rename success=yes exit=0 a0=7f674eed0ac0 a1=7f674e1ab6c8 a2=7f674eee9430 a3=7 items=0 ppid=1 pid=1189 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 ses=4294967295 tty=(none) comm=systemd-localed exe=/usr/lib/systemd/systemd-localed subj=system_u:system_r:systemd_localed_t:s0 key=(null) Hash: systemd-localed,systemd_localed_t,xserver_etc_t,file,unlink audit2allow #============= systemd_localed_t ============== allow systemd_localed_t xserver_etc_t:file unlink; audit2allow -R require { type systemd_localed_t; type xserver_etc_t; class file unlink; } #============= systemd_localed_t ============== allow systemd_localed_t xserver_etc_t:file unlink; Additional info: hashmarkername: setroubleshoot kernel: 3.9.0-0.rc3.git0.4.fc19.x86_64 type: libreport
72234013d50058631e22848d138c571c1213cf07 fixes this in Rawhide.
Has been added.
selinux-policy-3.12.1-28.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/FEDORA-2013-5045/selinux-policy-3.12.1-28.fc19
Package selinux-policy-3.12.1-28.fc19: * should fix your issue, * was pushed to the Fedora 19 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing selinux-policy-3.12.1-28.fc19' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2013-5045/selinux-policy-3.12.1-28.fc19 then log in and leave karma (feedback).
selinux-policy-3.12.1-28.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report.