Kristján Valur Jónsson
2018-Jan-09 15:34 UTC
[Samba] samba_dlz shutting down on named reload
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
On Tue, 9 Jan 2018 15:34:32 +0000 Kristján Valur Jónsson via samba <samba at lists.samba.org> wrote:> 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? >I haven't, but then I have 'service bind9 reload' in /etc/logrotate.d/bind It looks like this could be a systemd problem (note: I say 'could be') Rowland
On Tue, Jan 9, 2018 at 7:34 AM, Kristján Valur Jónsson via samba < samba at lists.samba.org> wrote:> > I have finally traced this problem down to a *reload* of named.conf, that > occurs as part of a logrotate. > > Has anyone seen this before? >Yes. https://lists.samba.org/archive/samba/2017-January/205867.html
Kristján Valur Jónsson
2018-Jan-17 09:52 UTC
[Samba] samba_dlz shutting down on named reload
Well, I created a bug report for this issue. Seems that none of the developers has picked up on it. https://bugzilla.samba.org/show_bug.cgi?id=13214 On 16 January 2018 at 19:47, Mark Nienberg <mnlists at tippingstructural.com> wrote:> > On Tue, Jan 9, 2018 at 7:34 AM, Kristján Valur Jónsson via samba < > samba at lists.samba.org> wrote: > >> >> I have finally traced this problem down to a *reload* of named.conf, that >> occurs as part of a logrotate. >> >> Has anyone seen this before? >> > > Yes. > > https://lists.samba.org/archive/samba/2017-January/205867.html >-- Kv, Kristján Valur Jónsson, RVX