[Samba] samba_dlz shutting down on named reload

Kristján Valur Jónsson kristjan at rvx.is
Tue Jan 9 15:34:32 UTC 2018


Hello there.
I´ve been having problems with dynamic dns update by dhcp on my samba ADDC
running on CentOS 7 on an RPI2.  After a while, the dhccp_dyndns.sh stops
stops being able to authenticate with named.
for the longest time I was stumped with this, exploring all kinds of
kerberos issues, but found out that *restartint* named did resolve the
issue.

I have finally traced this problem down to a *reload* of named.conf, that
occurs as part of a logrotate.  When I issue "*systemctl reload named*" I
get this log:

...
Jan 09 15:28:52 dc03.rvx.is named[15585]: reloading configuration succeeded
Jan 09 15:28:52 dc03.rvx.is named[15585]: reloading zones succeeded
Jan 09 15:28:52 dc03.rvx.is named[15585]: all zones loaded
Jan 09 15:28:52 dc03.rvx.is named[15585]: *samba_dlz: shutting down*
Jan 09 15:28:52 dc03.rvx.is named[15585]: running
Jan 09 15:28:52 dc03.rvx.is systemd[1]: Reloaded Berkeley Internet Name
Domain (DNS).

This breaks the system and dhcp_dyndns.sh stops working.

I can get it working again by *restarting * named:
"*systemctl restart named*"

...
Jan 09 15:31:18 dc03.rvx.is named[15974]: zone localhost/IN: loaded serial 0
Jan 09 15:31:18 dc03.rvx.is named[15974]: all zones loaded
Jan 09 15:31:18 dc03.rvx.is named[15974]: running
Jan 09 15:31:18 dc03.rvx.is systemd[1]: Started Berkeley Internet Name
Domain (DNS).


I'r running the latest samba 4.7.4 built from sources.

Has anyone seen this before?

-- 
Kv,
Kristján Valur Jónsson, RVX


More information about the samba mailing list