Description of problem: This SELinux alert prevented GDM from starting at boot. A similar SELinux alert for the "bind" permission was also generated. Packages involved: - dbus-1.6.12-1.fc19.x86_64 - gdm-3.8.4-2.fc19.x86_64 - selinux-policy-targeted-3.12.1-74.12.fc19.noarch SELinux is preventing /usr/bin/dbus-daemon from 'create' accesses on the netlink_selinux_socket . ***** Plugin catchall (100. confidence) suggests *************************** If you believe that dbus-daemon should be allowed create access on the netlink_selinux_socket 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 dbus-daemon /var/log/audit/audit.log | audit2allow -M mypol # semodule -i mypol.pp Additional Information: Source Context system_u:system_r:xdm_t:s0-s0:c0.c1023 Target Context system_u:system_r:xdm_t:s0-s0:c0.c1023 Target Objects [ netlink_selinux_socket ] Source dbus-daemon Source Path /usr/bin/dbus-daemon Port <Unknown> Host (removed) Source RPM Packages dbus-1.6.12-1.fc19.x86_64 Target RPM Packages Policy RPM selinux-policy-3.12.1-74.12.fc19.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Permissive Host Name (removed) Platform Linux (removed) 3.11.7-200.fc19.x86_64 #1 SMP Mon Nov 4 14:09:03 UTC 2013 x86_64 x86_64 Alert Count 1 First Seen 2013-11-10 21:46:14 EST Last Seen 2013-11-10 21:46:14 EST Local ID fbb96d6f-0fff-4e20-a62b-6d1130e38915 Raw Audit Messages type=AVC msg=audit(1384080374.97:129): avc: denied { create } for pid=1733 comm="dbus-daemon" scontext=system_u:system_r:xdm_t:s0-s0:c0.c1023 tcontext=system_u:system_r:xdm_t:s0-s0:c0.c1023 tclass=netlink_selinux_socket type=SYSCALL msg=audit(1384080374.97:129): arch=x86_64 syscall=socket success=yes exit=EIO a0=10 a1=80003 a2=7 a3=7fff5110f6c0 items=0 ppid=1 pid=1733 auid=4294967295 uid=42 gid=42 euid=42 suid=42 fsuid=42 egid=42 sgid=42 fsgid=42 ses=4294967295 tty=(none) comm=dbus-daemon exe=/usr/bin/dbus-daemon subj=system_u:system_r:xdm_t:s0-s0:c0.c1023 key=(null) Hash: dbus-daemon,xdm_t,xdm_t,netlink_selinux_socket,create Additional info: reporter: libreport-2.1.9 hashmarkername: setroubleshoot kernel: 3.11.7-200.fc19.x86_64 type: libreport
#============= xdm_t ============== #!!!! This avc is allowed in the current policy allow xdm_t self:netlink_selinux_socket create; $ rpm -q selinux-policy selinux-policy-3.12.1-74.14.fc19.noarch