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 -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba |
On Tue, 9 Jan 2018 15:34:32 +0000
Kristján Valur Jónsson via samba <[hidden email]> 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 -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba |
Free forum by Nabble | Edit this page |