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

Andrew Bartlett abartlet at samba.org
Mon Mar 12 17:42:32 UTC 2018

On Mon, 2018-03-12 at 18:13 +0100, Prunk Dump via samba wrote:
> Hi samba team !
> I'm face with a new problem on a new Samba PDC install (Debian 9).
> I don't know why, but systemd run multiples "rndc reconfig" commands
> during the init script. So the bind9 log file show :
> -> A successful start
> -> A failed reconfig (samba_dlz Ignoring duplicate zone)
> at each boot/reboot.
> So I need to restart bind9 each time manually. I created a wrapper
> script and moved rndc to rndc.ORIG to intercept the reload and
> reconfig commands. But I don't like this solution as rndc is a binary
> and moving it prevent security updates to be applied on it.
> Is there a way to make "rndc reload" and "rndc reconfig" working with samba ?

A patch (I think from Univention) was posted I think, but no developer
has had the time to understand the full implications and apply it.


> Is someone have an idea whose service send these "rndc reconfig"
> command ? I can't find the origin.

Perhaps the log rotation?

Andrew Bartlett
Andrew Bartlett                       http://samba.org/~abartlet/
Authentication Developer, Samba Team  http://samba.org
Samba Developer, Catalyst IT          http://catalyst.net.nz/services/samba

More information about the samba mailing list