[Samba] Workaround for bind9 reload bug : samba_dlz Ignoring duplicate zone

Harry Jede walk2sun at arcor.de
Tue Mar 13 14:48:38 UTC 2018


Sorry, Louis,
not all of us use systemd.

> Almost Harry...
> 
> For debian Stretch.

# cat /etc/debian_version 
buster/sid

# cat /proc/1/cmdline 
/sbin/init

You see: good old init. Just a test machine for a scheduled upgrade.

> systemctl cat bind9
> # /lib/systemd/system/bind9.service
> [Unit]
> Description=BIND Domain Name Server
> Documentation=man:named(8)
> After=network.target
> Wants=nss-lookup.target
> Before=nss-lookup.target
> 
> [Service]
> EnvironmentFile=/etc/default/bind9
> ExecStart=/usr/sbin/named -f $OPTIONS
> ExecReload=/usr/sbin/rndc reload
> ExecStop=/usr/sbin/rndc stop
> 
> [Install]
> WantedBy=multi-user.target
> 
> 
> The correct workaround is edit, and add..
> systemctl edit bind9
> Add :
> [Service]
> ExecReload=
> 
> 
> And done.
> 
> Greetz,
> 
> Louis


-- 

Gruss
	Harry Jede


More information about the samba mailing list