On Thu, Mar 17, 2016 at 6:36 AM, Bill Maidment <[log in to unmask]> wrote:
>
> Another named update and still the named-chroot.service file has not
> been fixed. It is really annoying to have to manually fix it every
> time, just to get DNS working after an update. Why is the -t
> /var/named/chroot option included in the ExecStart but not in the
> ExecStartPre
>
> ExecStartPre=/bin/bash -c 'if [ ! "$DISABLE_ZONE_CHECKING" == "yes" ];
> then /usr/sbin/named-checkconf -z /etc/named.conf; else echo "Checking
> of zone files is disabled"; fi' ExecStart=/usr/sbin/named -u named -t
> /var/named/chroot $OPTIONS
>
> Surely named-checkconf should be run with the same named.conf file as
> named !!!
>
> This was reported back in November 2015
> https://bugzilla.redhat.com/show_bug.cgi?id=1278082
> This should have been fixed by now. How hard is a one line change to fix ???

You don't have to fix it every time.

You just have to override it in "/etc/systemd/system/".