Web lists-archives.com

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




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
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba