Description of problem: SELinux is preventing systemd-logind from 'getattr' accesses on the file /dev/shm/sem.9334581e-7251-4ef7-a8ec-5bfe8e89ff68. ***** Plugin catchall (100. confidence) suggests ************************** If you believe that systemd-logind should be allowed getattr access on the sem.9334581e-7251-4ef7-a8ec-5bfe8e89ff68 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-logind /var/log/audit/audit.log | audit2allow -M mypol # semodule -i mypol.pp Additional Information: Source Context system_u:system_r:systemd_logind_t:s0 Target Context system_u:object_r:initrc_state_t:s0 Target Objects /dev/shm/sem.9334581e-7251-4ef7-a8ec-5bfe8e89ff68 [ file ] Source systemd-logind Source Path systemd-logind Port <Unknown> Host (removed) Source RPM Packages Target RPM Packages Policy RPM selinux-policy-3.13.1-126.fc22.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 4.0.4-303.fc22.i686 #1 SMP Thu May 28 13:10:30 UTC 2015 i686 i686 Alert Count 1 First Seen 2015-06-08 03:27:02 AST Last Seen 2015-06-08 03:27:02 AST Local ID 76faf4ad-fa77-4a85-bb48-f095b2c8da66 Raw Audit Messages type=AVC msg=audit(1433723222.125:510): avc: denied { getattr } for pid=670 comm="systemd-logind" path="/dev/shm/sem.9334581e-7251-4ef7-a8ec-5bfe8e89ff68" dev="tmpfs" ino=22377 scontext=system_u:system_r:systemd_logind_t:s0 tcontext=system_u:object_r:initrc_state_t:s0 tclass=file permissive=0 Hash: systemd-logind,systemd_logind_t,initrc_state_t,file,getattr Version-Release number of selected component: selinux-policy-3.13.1-126.fc22.noarch Additional info: reporter: libreport-2.5.1 hashmarkername: setroubleshoot kernel: 4.0.4-303.fc22.i686 type: libreport Potential duplicate: bug 1210654
commit ac8b0cefe50b304519398da0b7bbb7ec093fb784 Author: Miroslav Grepl <mgrepl> Date: Wed Jun 17 14:12:10 2015 +0200 systemd-logind accesses /dev/shm. BZ(1230443
selinux-policy-3.13.1-128.2.fc22 has been submitted as an update for Fedora 22. https://admin.fedoraproject.org/updates/selinux-policy-3.13.1-128.2.fc22
Package selinux-policy-3.13.1-128.2.fc22: * should fix your issue, * was pushed to the Fedora 22 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.13.1-128.2.fc22' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2015-10299/selinux-policy-3.13.1-128.2.fc22 then log in and leave karma (feedback).
selinux-policy-3.13.1-128.2.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report.