Description of problem: SELinux is preventing /usr/sbin/NetworkManager from 'use' accesses on the fd /run/systemd/inhibit/1.ref. ***** Plugin catchall_boolean (89.3 confidence) suggests ******************* If you want to allow all domains to use other domains file descriptors Then you must tell SELinux about this by enabling the 'domain_fd_use' boolean. You can read 'None' man page for more details. Do setsebool -P domain_fd_use 1 ***** Plugin catchall (11.6 confidence) suggests *************************** If you believe that NetworkManager should be allowed use access on the 1.ref fd 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 gdbus /var/log/audit/audit.log | audit2allow -M mypol # semodule -i mypol.pp Additional Information: Source Context system_u:system_r:NetworkManager_t:s0 Target Context system_u:system_r:systemd_logind_t:s0 Target Objects /run/systemd/inhibit/1.ref [ fd ] Source gdbus Source Path /usr/sbin/NetworkManager Port <Unknown> Host (removed) Source RPM Packages NetworkManager-0.9.8.1-1.git20130327.fc18.x86_64 Target RPM Packages Policy RPM selinux-policy-3.11.1-91.fc18.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 3.8.8-202.fc18.x86_64 #1 SMP Wed Apr 17 23:25:17 UTC 2013 x86_64 x86_64 Alert Count 1 First Seen 2013-04-22 16:22:00 PDT Last Seen 2013-04-22 16:22:00 PDT Local ID d470547c-9d50-41e8-a88a-b978888b2d87 Raw Audit Messages type=AVC msg=audit(1366672920.845:159): avc: denied { use } for pid=891 comm="gdbus" path="/run/systemd/inhibit/1.ref" dev="tmpfs" ino=18960 scontext=system_u:system_r:NetworkManager_t:s0 tcontext=system_u:system_r:systemd_logind_t:s0 tclass=fd type=SYSCALL msg=audit(1366672920.845:159): arch=x86_64 syscall=recvmsg success=yes exit=EBUSY a0=8 a1=7fe507fc09f0 a2=40000000 a3=40 items=0 ppid=1 pid=891 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 ses=4294967295 tty=(none) comm=gdbus exe=/usr/sbin/NetworkManager subj=system_u:system_r:NetworkManager_t:s0 key=(null) Hash: gdbus,NetworkManager_t,systemd_logind_t,fd,use audit2allow #============= NetworkManager_t ============== #!!!! This avc can be allowed using the boolean 'domain_fd_use' allow NetworkManager_t systemd_logind_t:fd use; audit2allow -R require { type NetworkManager_t; } #============= NetworkManager_t ============== systemd_use_fds_logind(NetworkManager_t) Additional info: hashmarkername: setroubleshoot kernel: 3.8.8-202.fc18.x86_64 type: libreport
# setsebool -P domain_fd_use 1 Did you modify this boolean?
*** Bug 958380 has been marked as a duplicate of this bug. ***
*** Bug 958379 has been marked as a duplicate of this bug. ***