[debian-lan-devel] bind9 configuration corruption if CONVERT=true is executed more than once.
Andreas B. Mundt
andi at debian.org
Wed Feb 26 18:03:35 UTC 2014
Hi Richard,
On Wed, Feb 26, 2014 at 03:10:29PM +0100, Richard C Hidalgo Lorite wrote:
> to reproduce you can execute twice:
>
> export CONVERT=true ; fai -vN -s file:///srv/fai/config/ softupdate
>
> /etc/bind9/named.conf.options receives another forwarders line with the
> effect or not valid configuration and thus not started dns service.
>
> to correct you have to modify
> /srv/fai/config/scripts/DNS_SERVER/30-forwarders script.
>
Well,
export CONVERT=true ; fai -vN -s file:///srv/fai/config/ softupdate
is not supposed to be run twice ... so there might be other failures
too. But perhaps it is a good idea to make sure all actions are
idempotent also for CONVERT=true to make the setup even more stable.
I'll keep that in mind.
Thanks,
Andi
More information about the debian-lan-devel
mailing list