Bug 1398854 - systemd-resolve/systemd-resolved SELinux denials
systemd-resolve/systemd-resolved SELinux denials
Status: CLOSED CURRENTRELEASE
Product: Fedora
Classification: Fedora
Component: selinux-policy-targeted (Show other bugs)
25
Unspecified Linux
unspecified Severity unspecified
: ---
: ---
Assigned To: Lukas Vrabec
Ben Levenson
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2016-11-26 11:51 EST by Anthony Messina
Modified: 2017-01-14 13:11 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2017-01-14 13:11:17 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Bugzilla 1398853 None None None 2016-11-26 11:51 EST

  None (edit)
Description Anthony Messina 2016-11-26 11:51:54 EST
With a fresh install of F25, systemd-resolve/systemd-resolved are unusable dues to SELinux denials.  It's challenging to test or use tools provided by Fedora's init daemon of choice when our own SELinux policies prevent it's default/recommended behavior :(


AVC avc:  denied  { net_raw } for  pid=883 comm="systemd-resolve" capability=13  scontext=system_u:system_r:systemd_resolved_t:s0 tcontext=system_u:system_r:systemd_resolved_t:s0 tclass=capability permissive=1
AVC avc:  denied  { name_bind } for  pid=883 comm="systemd-resolve" src=53 scontext=system_u:system_r:systemd_resolved_t:s0 tcontext=system_u:object_r:dns_port_t:s0 tclass=udp_socket permissive=1
AVC avc:  denied  { net_bind_service } for  pid=883 comm="systemd-resolve" capability=10  scontext=system_u:system_r:systemd_resolved_t:s0 tcontext=system_u:system_r:systemd_resolved_t:s0 tclass=capability permissive=1
AVC avc:  denied  { name_bind } for  pid=883 comm="systemd-resolve" src=53 scontext=system_u:system_r:systemd_resolved_t:s0 tcontext=system_u:object_r:dns_port_t:s0 tclass=tcp_socket permissive=1
AVC avc:  denied  { net_raw } for  pid=879 comm="systemd-resolve" capability=13  scontext=system_u:system_r:systemd_resolved_t:s0 tcontext=system_u:system_r:systemd_resolved_t:s0 tclass=capability permissive=1
AVC avc:  denied  { name_bind } for  pid=879 comm="systemd-resolve" src=53 scontext=system_u:system_r:systemd_resolved_t:s0 tcontext=system_u:object_r:dns_port_t:s0 tclass=udp_socket permissive=1
AVC avc:  denied  { net_bind_service } for  pid=879 comm="systemd-resolve" capability=10  scontext=system_u:system_r:systemd_resolved_t:s0 tcontext=system_u:system_r:systemd_resolved_t:s0 tclass=capability permissive=1
AVC avc:  denied  { name_bind } for  pid=879 comm="systemd-resolve" src=53 scontext=system_u:system_r:systemd_resolved_t:s0 tcontext=system_u:object_r:dns_port_t:s0 tclass=tcp_socket permissive=1
AVC avc:  denied  { net_raw } for  pid=3393 comm="systemd-resolve" capability=13  scontext=system_u:system_r:systemd_resolved_t:s0 tcontext=system_u:system_r:systemd_resolved_t:s0 tclass=capability permissive=1
AVC avc:  denied  { name_bind } for  pid=3393 comm="systemd-resolve" src=53 scontext=system_u:system_r:systemd_resolved_t:s0 tcontext=system_u:object_r:dns_port_t:s0 tclass=udp_socket permissive=1
AVC avc:  denied  { net_bind_service } for  pid=3393 comm="systemd-resolve" capability=10  scontext=system_u:system_r:systemd_resolved_t:s0 tcontext=system_u:system_r:systemd_resolved_t:s0 tclass=capability permissive=1
AVC avc:  denied  { name_bind } for  pid=3393 comm="systemd-resolve" src=53 scontext=system_u:system_r:systemd_resolved_t:s0 tcontext=system_u:object_r:dns_port_t:s0 tclass=tcp_socket permissive=1
USER_AVC pid=795 uid=81 auid=4294967295 ses=4294967295 subj=system_u:system_r:system_dbusd_t:s0-s0:c0.c1023 msg='avc:  denied  { send_msg } for msgtype=method_return dest=:1.127 spid=3393 tpid=3635 scontext=system_u:system_r:systemd_resolved_t:s0 tcontext=system_u:system_r:kernel_t:s0 tclass=dbus
AVC avc:  denied  { net_raw } for  pid=872 comm="systemd-resolve" capability=13  scontext=system_u:system_r:systemd_resolved_t:s0 tcontext=system_u:system_r:systemd_resolved_t:s0 tclass=capability permissive=1
AVC avc:  denied  { name_bind } for  pid=872 comm="systemd-resolve" src=53 scontext=system_u:system_r:systemd_resolved_t:s0 tcontext=system_u:object_r:dns_port_t:s0 tclass=udp_socket permissive=1
AVC avc:  denied  { net_bind_service } for  pid=872 comm="systemd-resolve" capability=10  scontext=system_u:system_r:systemd_resolved_t:s0 tcontext=system_u:system_r:systemd_resolved_t:s0 tclass=capability permissive=1
AVC avc:  denied  { name_bind } for  pid=872 comm="systemd-resolve" src=53 scontext=system_u:system_r:systemd_resolved_t:s0 tcontext=system_u:object_r:dns_port_t:s0 tclass=tcp_socket permissive=1
USER_AVC pid=799 uid=81 auid=4294967295 ses=4294967295 subj=system_u:system_r:system_dbusd_t:s0-s0:c0.c1023 msg='avc:  denied  { send_msg } for msgtype=method_call interface=org.freedesktop.resolve1.Manager member=ResolveHostname dest=org.freedesktop.resolve1 spid=824 tpid=872 scontext=system_u:system_r:sssd_t:s0 tcontext=system_u:system_r:systemd_resolved_t:s0 tclass=dbus
USER_AVC pid=799 uid=81 auid=4294967295 ses=4294967295 subj=system_u:system_r:system_dbusd_t:s0-s0:c0.c1023 msg='avc:  denied  { send_msg } for msgtype=method_return dest=:1.13 spid=872 tpid=824 scontext=system_u:system_r:systemd_resolved_t:s0 tcontext=system_u:system_r:sssd_t:s0 tclass=dbus
USER_AVC pid=799 uid=81 auid=4294967295 ses=4294967295 subj=system_u:system_r:system_dbusd_t:s0-s0:c0.c1023 msg='avc:  denied  { send_msg } for msgtype=method_return dest=:1.35 spid=872 tpid=1082 scontext=system_u:system_r:systemd_resolved_t:s0 tcontext=system_u:system_r:mount_t:s0 tclass=dbus
USER_AVC pid=799 uid=81 auid=4294967295 ses=4294967295 subj=system_u:system_r:system_dbusd_t:s0-s0:c0.c1023 msg='avc:  denied  { send_msg } for msgtype=method_call interface=org.freedesktop.resolve1.Manager member=ResolveHostname dest=org.freedesktop.resolve1 spid=820 tpid=872 scontext=system_u:system_r:gssd_t:s0 tcontext=system_u:system_r:systemd_resolved_t:s0 tclass=dbus
USER_AVC pid=799 uid=81 auid=4294967295 ses=4294967295 subj=system_u:system_r:system_dbusd_t:s0-s0:c0.c1023 msg='avc:  denied  { send_msg } for msgtype=method_return dest=:1.37 spid=872 tpid=820 scontext=system_u:system_r:systemd_resolved_t:s0 tcontext=system_u:system_r:gssd_t:s0 tclass=dbus
USER_AVC pid=799 uid=81 auid=4294967295 ses=4294967295 subj=system_u:system_r:system_dbusd_t:s0-s0:c0.c1023 msg='avc:  denied  { send_msg } for msgtype=method_call interface=org.freedesktop.resolve1.Manager member=ResolveHostname dest=org.freedesktop.resolve1 spid=814 tpid=872 scontext=system_u:system_r:gssproxy_t:s0 tcontext=system_u:system_r:systemd_resolved_t:s0 tclass=dbus
USER_AVC pid=799 uid=81 auid=4294967295 ses=4294967295 subj=system_u:system_r:system_dbusd_t:s0-s0:c0.c1023 msg='avc:  denied  { send_msg } for msgtype=method_return dest=:1.39 spid=872 tpid=814 scontext=system_u:system_r:systemd_resolved_t:s0 tcontext=system_u:system_r:gssproxy_t:s0 tclass=dbus
USER_AVC pid=799 uid=81 auid=4294967295 ses=4294967295 subj=system_u:system_r:system_dbusd_t:s0-s0:c0.c1023 msg='avc:  denied  { send_msg } for msgtype=method_return dest=:1.49 spid=872 tpid=1129 scontext=system_u:system_r:systemd_resolved_t:s0 tcontext=system_u:system_r:kernel_t:s0 tclass=dbus
USER_AVC pid=799 uid=81 auid=4294967295 ses=4294967295 subj=system_u:system_r:system_dbusd_t:s0-s0:c0.c1023 msg='avc:  denied  { send_msg } for msgtype=method_return dest=:1.151 spid=872 tpid=1983 scontext=system_u:system_r:systemd_resolved_t:s0 tcontext=system_u:system_r:rpm_t:s0 tclass=dbus
AVC avc:  denied  { net_raw } for  pid=896 comm="systemd-resolve" capability=13  scontext=system_u:system_r:systemd_resolved_t:s0 tcontext=system_u:system_r:systemd_resolved_t:s0 tclass=capability permissive=1
AVC avc:  denied  { name_bind } for  pid=896 comm="systemd-resolve" src=53 scontext=system_u:system_r:systemd_resolved_t:s0 tcontext=system_u:object_r:dns_port_t:s0 tclass=udp_socket permissive=1
AVC avc:  denied  { net_bind_service } for  pid=896 comm="systemd-resolve" capability=10  scontext=system_u:system_r:systemd_resolved_t:s0 tcontext=system_u:system_r:systemd_resolved_t:s0 tclass=capability permissive=1
AVC avc:  denied  { name_bind } for  pid=896 comm="systemd-resolve" src=53 scontext=system_u:system_r:systemd_resolved_t:s0 tcontext=system_u:object_r:dns_port_t:s0 tclass=tcp_socket permissive=1
USER_AVC pid=817 uid=81 auid=4294967295 ses=4294967295 subj=system_u:system_r:system_dbusd_t:s0-s0:c0.c1023 msg='avc:  denied  { send_msg } for msgtype=method_call interface=org.freedesktop.resolve1.Manager member=ResolveHostname dest=org.freedesktop.resolve1 spid=822 tpid=896 scontext=system_u:system_r:sssd_t:s0 tcontext=system_u:system_r:systemd_resolved_t:s0 tclass=dbus
USER_AVC pid=817 uid=81 auid=4294967295 ses=4294967295 subj=system_u:system_r:system_dbusd_t:s0-s0:c0.c1023 msg='avc:  denied  { send_msg } for msgtype=method_return dest=:1.12 spid=896 tpid=822 scontext=system_u:system_r:systemd_resolved_t:s0 tcontext=system_u:system_r:sssd_t:s0 tclass=dbus
USER_AVC pid=817 uid=81 auid=4294967295 ses=4294967295 subj=system_u:system_r:system_dbusd_t:s0-s0:c0.c1023 msg='avc:  denied  { send_msg } for msgtype=method_return dest=:1.15 spid=896 tpid=1020 scontext=system_u:system_r:systemd_resolved_t:s0 tcontext=system_u:system_r:mount_t:s0 tclass=dbus
USER_AVC pid=817 uid=81 auid=4294967295 ses=4294967295 subj=system_u:system_r:system_dbusd_t:s0-s0:c0.c1023 msg='avc:  denied  { send_msg } for msgtype=method_call interface=org.freedesktop.resolve1.Manager member=ResolveHostname dest=org.freedesktop.resolve1 spid=853 tpid=896 scontext=system_u:system_r:gssd_t:s0 tcontext=system_u:system_r:systemd_resolved_t:s0 tclass=dbus
USER_AVC pid=817 uid=81 auid=4294967295 ses=4294967295 subj=system_u:system_r:system_dbusd_t:s0-s0:c0.c1023 msg='avc:  denied  { send_msg } for msgtype=method_return dest=:1.17 spid=896 tpid=853 scontext=system_u:system_r:systemd_resolved_t:s0 tcontext=system_u:system_r:gssd_t:s0 tclass=dbus
USER_AVC pid=817 uid=81 auid=4294967295 ses=4294967295 subj=system_u:system_r:system_dbusd_t:s0-s0:c0.c1023 msg='avc:  denied  { send_msg } for msgtype=method_call interface=org.freedesktop.resolve1.Manager member=ResolveHostname dest=org.freedesktop.resolve1 spid=840 tpid=896 scontext=system_u:system_r:gssproxy_t:s0 tcontext=system_u:system_r:systemd_resolved_t:s0 tclass=dbus
USER_AVC pid=817 uid=81 auid=4294967295 ses=4294967295 subj=system_u:system_r:system_dbusd_t:s0-s0:c0.c1023 msg='avc:  denied  { send_msg } for msgtype=method_return dest=:1.19 spid=896 tpid=840 scontext=system_u:system_r:systemd_resolved_t:s0 tcontext=system_u:system_r:gssproxy_t:s0 tclass=dbus
USER_AVC pid=817 uid=81 auid=4294967295 ses=4294967295 subj=system_u:system_r:system_dbusd_t:s0-s0:c0.c1023 msg='avc:  denied  { send_msg } for msgtype=method_return dest=:1.33 spid=896 tpid=1102 scontext=system_u:system_r:systemd_resolved_t:s0 tcontext=system_u:system_r:kernel_t:s0 tclass=dbus
USER_AVC pid=817 uid=81 auid=4294967295 ses=4294967295 subj=system_u:system_r:system_dbusd_t:s0-s0:c0.c1023 msg='avc:  denied  { send_msg } for msgtype=method_return dest=:1.151 spid=896 tpid=2414 scontext=system_u:system_r:systemd_resolved_t:s0 tcontext=system_u:system_r:rpm_t:s0 tclass=dbus
AVC avc:  denied  { net_raw } for  pid=874 comm="systemd-resolve" capability=13  scontext=system_u:system_r:systemd_resolved_t:s0 tcontext=system_u:system_r:systemd_resolved_t:s0 tclass=capability permissive=1
AVC avc:  denied  { name_bind } for  pid=874 comm="systemd-resolve" src=53 scontext=system_u:system_r:systemd_resolved_t:s0 tcontext=system_u:object_r:dns_port_t:s0 tclass=udp_socket permissive=1
AVC avc:  denied  { net_bind_service } for  pid=874 comm="systemd-resolve" capability=10  scontext=system_u:system_r:systemd_resolved_t:s0 tcontext=system_u:system_r:systemd_resolved_t:s0 tclass=capability permissive=1
AVC avc:  denied  { name_bind } for  pid=874 comm="systemd-resolve" src=53 scontext=system_u:system_r:systemd_resolved_t:s0 tcontext=system_u:object_r:dns_port_t:s0 tclass=tcp_socket permissive=1
USER_AVC pid=795 uid=81 auid=4294967295 ses=4294967295 subj=system_u:system_r:system_dbusd_t:s0-s0:c0.c1023 msg='avc:  denied  { send_msg } for msgtype=method_call interface=org.freedesktop.resolve1.Manager member=ResolveHostname dest=org.freedesktop.resolve1 spid=822 tpid=874 scontext=system_u:system_r:sssd_t:s0 tcontext=system_u:system_r:systemd_resolved_t:s0 tclass=dbus
USER_AVC pid=795 uid=81 auid=4294967295 ses=4294967295 subj=system_u:system_r:system_dbusd_t:s0-s0:c0.c1023 msg='avc:  denied  { send_msg } for msgtype=method_return dest=:1.14 spid=874 tpid=822 scontext=system_u:system_r:systemd_resolved_t:s0 tcontext=system_u:system_r:sssd_t:s0 tclass=dbus
USER_AVC pid=795 uid=81 auid=4294967295 ses=4294967295 subj=system_u:system_r:system_dbusd_t:s0-s0:c0.c1023 msg='avc:  denied  { send_msg } for msgtype=method_return dest=:1.37 spid=874 tpid=1079 scontext=system_u:system_r:systemd_resolved_t:s0 tcontext=system_u:system_r:mount_t:s0 tclass=dbus
USER_AVC pid=795 uid=81 auid=4294967295 ses=4294967295 subj=system_u:system_r:system_dbusd_t:s0-s0:c0.c1023 msg='avc:  denied  { send_msg } for msgtype=method_call interface=org.freedesktop.resolve1.Manager member=ResolveHostname dest=org.freedesktop.resolve1 spid=818 tpid=874 scontext=system_u:system_r:gssd_t:s0 tcontext=system_u:system_r:systemd_resolved_t:s0 tclass=dbus
USER_AVC pid=795 uid=81 auid=4294967295 ses=4294967295 subj=system_u:system_r:system_dbusd_t:s0-s0:c0.c1023 msg='avc:  denied  { send_msg } for msgtype=method_return dest=:1.43 spid=874 tpid=818 scontext=system_u:system_r:systemd_resolved_t:s0 tcontext=system_u:system_r:gssd_t:s0 tclass=dbus
USER_AVC pid=795 uid=81 auid=4294967295 ses=4294967295 subj=system_u:system_r:system_dbusd_t:s0-s0:c0.c1023 msg='avc:  denied  { send_msg } for msgtype=method_call interface=org.freedesktop.resolve1.Manager member=ResolveHostname dest=org.freedesktop.resolve1 spid=812 tpid=874 scontext=system_u:system_r:gssproxy_t:s0 tcontext=system_u:system_r:systemd_resolved_t:s0 tclass=dbus
USER_AVC pid=795 uid=81 auid=4294967295 ses=4294967295 subj=system_u:system_r:system_dbusd_t:s0-s0:c0.c1023 msg='avc:  denied  { send_msg } for msgtype=method_return dest=:1.47 spid=874 tpid=812 scontext=system_u:system_r:systemd_resolved_t:s0 tcontext=system_u:system_r:gssproxy_t:s0 tclass=dbus
USER_AVC pid=795 uid=81 auid=4294967295 ses=4294967295 subj=system_u:system_r:system_dbusd_t:s0-s0:c0.c1023 msg='avc:  denied  { send_msg } for msgtype=method_return dest=:1.74 spid=874 tpid=1399 scontext=system_u:system_r:systemd_resolved_t:s0 tcontext=system_u:system_r:kernel_t:s0 tclass=dbus
AVC avc:  denied  { net_raw } for  pid=875 comm="systemd-resolve" capability=13  scontext=system_u:system_r:systemd_resolved_t:s0 tcontext=system_u:system_r:systemd_resolved_t:s0 tclass=capability permissive=1
AVC avc:  denied  { name_bind } for  pid=875 comm="systemd-resolve" src=53 scontext=system_u:system_r:systemd_resolved_t:s0 tcontext=system_u:object_r:dns_port_t:s0 tclass=udp_socket permissive=1
AVC avc:  denied  { net_bind_service } for  pid=875 comm="systemd-resolve" capability=10  scontext=system_u:system_r:systemd_resolved_t:s0 tcontext=system_u:system_r:systemd_resolved_t:s0 tclass=capability permissive=1
AVC avc:  denied  { name_bind } for  pid=875 comm="systemd-resolve" src=53 scontext=system_u:system_r:systemd_resolved_t:s0 tcontext=system_u:object_r:dns_port_t:s0 tclass=tcp_socket permissive=1
USER_AVC pid=802 uid=81 auid=4294967295 ses=4294967295 subj=system_u:system_r:system_dbusd_t:s0-s0:c0.c1023 msg='avc:  denied  { send_msg } for msgtype=method_call interface=org.freedesktop.resolve1.Manager member=ResolveHostname dest=org.freedesktop.resolve1 spid=804 tpid=875 scontext=system_u:system_r:sssd_t:s0 tcontext=system_u:system_r:systemd_resolved_t:s0 tclass=dbus
USER_AVC pid=802 uid=81 auid=4294967295 ses=4294967295 subj=system_u:system_r:system_dbusd_t:s0-s0:c0.c1023 msg='avc:  denied  { send_msg } for msgtype=method_return dest=:1.12 spid=875 tpid=804 scontext=system_u:system_r:systemd_resolved_t:s0 tcontext=system_u:system_r:sssd_t:s0 tclass=dbus
USER_AVC pid=802 uid=81 auid=4294967295 ses=4294967295 subj=system_u:system_r:system_dbusd_t:s0-s0:c0.c1023 msg='avc:  denied  { send_msg } for msgtype=method_return dest=:1.26 spid=875 tpid=1012 scontext=system_u:system_r:systemd_resolved_t:s0 tcontext=system_u:system_r:mount_t:s0 tclass=dbus
USER_AVC pid=802 uid=81 auid=4294967295 ses=4294967295 subj=system_u:system_r:system_dbusd_t:s0-s0:c0.c1023 msg='avc:  denied  { send_msg } for msgtype=method_call interface=org.freedesktop.resolve1.Manager member=ResolveHostname dest=org.freedesktop.resolve1 spid=822 tpid=875 scontext=system_u:system_r:gssd_t:s0 tcontext=system_u:system_r:systemd_resolved_t:s0 tclass=dbus
USER_AVC pid=802 uid=81 auid=4294967295 ses=4294967295 subj=system_u:system_r:system_dbusd_t:s0-s0:c0.c1023 msg='avc:  denied  { send_msg } for msgtype=method_return dest=:1.32 spid=875 tpid=822 scontext=system_u:system_r:systemd_resolved_t:s0 tcontext=system_u:system_r:gssd_t:s0 tclass=dbus
USER_AVC pid=802 uid=81 auid=4294967295 ses=4294967295 subj=system_u:system_r:system_dbusd_t:s0-s0:c0.c1023 msg='avc:  denied  { send_msg } for msgtype=method_call interface=org.freedesktop.resolve1.Manager member=ResolveHostname dest=org.freedesktop.resolve1 spid=816 tpid=875 scontext=system_u:system_r:gssproxy_t:s0 tcontext=system_u:system_r:systemd_resolved_t:s0 tclass=dbus
USER_AVC pid=802 uid=81 auid=4294967295 ses=4294967295 subj=system_u:system_r:system_dbusd_t:s0-s0:c0.c1023 msg='avc:  denied  { send_msg } for msgtype=method_return dest=:1.35 spid=875 tpid=816 scontext=system_u:system_r:systemd_resolved_t:s0 tcontext=system_u:system_r:gssproxy_t:s0 tclass=dbus
USER_AVC pid=802 uid=81 auid=4294967295 ses=4294967295 subj=system_u:system_r:system_dbusd_t:s0-s0:c0.c1023 msg='avc:  denied  { send_msg } for msgtype=method_return dest=:1.50 spid=875 tpid=1063 scontext=system_u:system_r:systemd_resolved_t:s0 tcontext=system_u:system_r:kernel_t:s0 tclass=dbus
USER_AVC pid=818 uid=81 auid=4294967295 ses=4294967295 subj=system_u:system_r:system_dbusd_t:s0-s0:c0.c1023 msg='avc:  denied  { send_msg } for msgtype=method_call interface=org.freedesktop.resolve1.Manager member=ResolveHostname dest=org.freedesktop.resolve1 spid=830 tpid=887 scontext=system_u:system_r:sssd_t:s0 tcontext=system_u:system_r:systemd_resolved_t:s0 tclass=dbus
USER_AVC pid=818 uid=81 auid=4294967295 ses=4294967295 subj=system_u:system_r:system_dbusd_t:s0-s0:c0.c1023 msg='avc:  denied  { send_msg } for msgtype=method_return dest=:1.12 spid=887 tpid=830 scontext=system_u:system_r:systemd_resolved_t:s0 tcontext=system_u:system_r:sssd_t:s0 tclass=dbus
USER_AVC pid=818 uid=81 auid=4294967295 ses=4294967295 subj=system_u:system_r:system_dbusd_t:s0-s0:c0.c1023 msg='avc:  denied  { send_msg } for msgtype=method_return dest=:1.24 spid=887 tpid=1028 scontext=system_u:system_r:systemd_resolved_t:s0 tcontext=system_u:system_r:mount_t:s0 tclass=dbus
USER_AVC pid=818 uid=81 auid=4294967295 ses=4294967295 subj=system_u:system_r:system_dbusd_t:s0-s0:c0.c1023 msg='avc:  denied  { send_msg } for msgtype=method_call interface=org.freedesktop.resolve1.Manager member=ResolveHostname dest=org.freedesktop.resolve1 spid=842 tpid=887 scontext=system_u:system_r:gssd_t:s0 tcontext=system_u:system_r:systemd_resolved_t:s0 tclass=dbus
USER_AVC pid=818 uid=81 auid=4294967295 ses=4294967295 subj=system_u:system_r:system_dbusd_t:s0-s0:c0.c1023 msg='avc:  denied  { send_msg } for msgtype=method_return dest=:1.29 spid=887 tpid=842 scontext=system_u:system_r:systemd_resolved_t:s0 tcontext=system_u:system_r:gssd_t:s0 tclass=dbus
USER_AVC pid=818 uid=81 auid=4294967295 ses=4294967295 subj=system_u:system_r:system_dbusd_t:s0-s0:c0.c1023 msg='avc:  denied  { send_msg } for msgtype=method_return dest=:1.45 spid=887 tpid=1076 scontext=system_u:system_r:systemd_resolved_t:s0 tcontext=system_u:system_r:kernel_t:s0 tclass=dbus
USER_AVC pid=799 uid=81 auid=4294967295 ses=4294967295 subj=system_u:system_r:system_dbusd_t:s0-s0:c0.c1023 msg='avc:  denied  { send_msg } for msgtype=method_return dest=:1.149 spid=870 tpid=1734 scontext=system_u:system_r:systemd_resolved_t:s0 tcontext=system_u:system_r:rpm_t:s0 tclass=dbus
USER_AVC pid=793 uid=81 auid=4294967295 ses=4294967295 subj=system_u:system_r:system_dbusd_t:s0-s0:c0.c1023 msg='avc:  denied  { send_msg } for msgtype=method_return dest=:1.179 spid=868 tpid=1503 scontext=system_u:system_r:systemd_resolved_t:s0 tcontext=system_u:system_r:rpm_t:s0 tclass=dbus


~]# cat fixsystemdresolve.te

module fixsystemdresolve 1.0;

require {
        type dns_port_t;
        type systemd_resolved_t;
        class tcp_socket name_bind;
        class capability { net_bind_service net_raw };
        class udp_socket name_bind;
}

#============= systemd_resolved_t ==============
allow systemd_resolved_t dns_port_t:tcp_socket name_bind;
allow systemd_resolved_t dns_port_t:udp_socket name_bind;
allow systemd_resolved_t self:capability { net_bind_service net_raw };




~]# cat fixsystemdresolveddbus.te

module fixsystemdresolveddbus 1.0;

require {
        type kernel_t;
        type sssd_t;
        type gssd_t;
        type systemd_resolved_t;
        type system_dbusd_t;
        type mount_t;
        class dbus send_msg;
}

#============= gssd_t ==============
allow gssd_t system_dbusd_t:dbus send_msg;
allow gssd_t systemd_resolved_t:dbus send_msg;

#============= sssd_t ==============
allow sssd_t systemd_resolved_t:dbus send_msg;

#============= systemd_resolved_t ==============
allow systemd_resolved_t gssd_t:dbus send_msg;
allow systemd_resolved_t kernel_t:dbus send_msg;
allow systemd_resolved_t mount_t:dbus send_msg;
allow systemd_resolved_t sssd_t:dbus send_msg;
Comment 1 Anthony Messina 2017-01-14 13:11:17 EST
This is resolved with 3.13.1-225.1

Note You need to log in before you can comment on or make changes to this bug.