init dbus patch for GetDynamicUsers with systemd_use_nss() V2
Same as before but moved to the top of my patch list so it will apply to the git policy. Should be ready to merge now. Signed-off-by: Russell Coker <russell@coker.com.au>
This commit is contained in:
parent
7849012937
commit
68353358d4
|
@ -79,3 +79,6 @@ optional_policy(`
|
||||||
seutil_sigchld_newrole(dictd_t)
|
seutil_sigchld_newrole(dictd_t)
|
||||||
')
|
')
|
||||||
|
|
||||||
|
ifdef(`init_systemd',`
|
||||||
|
systemd_use_nss(dictd_t)
|
||||||
|
')
|
||||||
|
|
|
@ -374,11 +374,7 @@ manage_files_pattern(postfix_bounce_t, postfix_spool_bounce_t, postfix_spool_bou
|
||||||
manage_lnk_files_pattern(postfix_bounce_t, postfix_spool_bounce_t, postfix_spool_bounce_t)
|
manage_lnk_files_pattern(postfix_bounce_t, postfix_spool_bounce_t, postfix_spool_bounce_t)
|
||||||
|
|
||||||
optional_policy(`
|
optional_policy(`
|
||||||
init_dbus_chat(postfix_bounce_t)
|
systemd_use_nss(postfix_bounce_t)
|
||||||
')
|
|
||||||
|
|
||||||
optional_policy(`
|
|
||||||
dbus_system_bus_client(postfix_bounce_t)
|
|
||||||
')
|
')
|
||||||
|
|
||||||
########################################
|
########################################
|
||||||
|
@ -765,6 +761,10 @@ optional_policy(`
|
||||||
cyrus_stream_connect(postfix_smtp_t)
|
cyrus_stream_connect(postfix_smtp_t)
|
||||||
')
|
')
|
||||||
|
|
||||||
|
optional_policy(`
|
||||||
|
systemd_use_nss(postfix_smtp_t)
|
||||||
|
')
|
||||||
|
|
||||||
optional_policy(`
|
optional_policy(`
|
||||||
dovecot_stream_connect(postfix_smtp_t)
|
dovecot_stream_connect(postfix_smtp_t)
|
||||||
')
|
')
|
||||||
|
@ -773,6 +773,10 @@ optional_policy(`
|
||||||
milter_stream_connect_all(postfix_smtp_t)
|
milter_stream_connect_all(postfix_smtp_t)
|
||||||
')
|
')
|
||||||
|
|
||||||
|
optional_policy(`
|
||||||
|
systemd_use_nss(postfix_showq_t)
|
||||||
|
')
|
||||||
|
|
||||||
########################################
|
########################################
|
||||||
#
|
#
|
||||||
# Smtpd local policy
|
# Smtpd local policy
|
||||||
|
@ -803,9 +807,7 @@ optional_policy(`
|
||||||
')
|
')
|
||||||
|
|
||||||
optional_policy(`
|
optional_policy(`
|
||||||
dbus_send_system_bus(postfix_smtp_t)
|
systemd_use_nss(postfix_smtpd_t)
|
||||||
dbus_system_bus_client(postfix_smtp_t)
|
|
||||||
init_dbus_chat(postfix_smtp_t)
|
|
||||||
')
|
')
|
||||||
|
|
||||||
optional_policy(`
|
optional_policy(`
|
||||||
|
|
Loading…
Reference in New Issue