Allow sysnet_dns_name_resolve() to use resolved to resolve DNS names
Also allow unconfined_t to talk with the resolved daemon
This commit is contained in:
parent
06588b55b4
commit
404dcf2af4
@ -756,9 +756,14 @@ interface(`sysnet_dns_name_resolve',`
|
||||
nscd_use($1)
|
||||
')
|
||||
|
||||
# This seems needed when the mymachines NSS module is used
|
||||
optional_policy(`
|
||||
systemd_read_machines($1)
|
||||
ifdef(`init_systemd',`
|
||||
optional_policy(`
|
||||
systemd_dbus_chat_resolved($1)
|
||||
')
|
||||
# This seems needed when the mymachines NSS module is used
|
||||
optional_policy(`
|
||||
systemd_read_machines($1)
|
||||
')
|
||||
')
|
||||
')
|
||||
|
||||
|
@ -58,6 +58,12 @@ ifdef(`direct_sysadm_daemon',`
|
||||
')
|
||||
')
|
||||
|
||||
ifdef(`init_systemd',`
|
||||
optional_policy(`
|
||||
systemd_dbus_chat_resolved(unconfined_t)
|
||||
')
|
||||
')
|
||||
|
||||
optional_policy(`
|
||||
ada_domtrans(unconfined_t)
|
||||
')
|
||||
|
Loading…
Reference in New Issue
Block a user