SCIENTIFIC-LINUX-USERS Archives

March 2016

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Condense Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Sender:
Mailing list for Scientific Linux users worldwide <[log in to unmask]>
Date:
Thu, 17 Mar 2016 11:39:55 +0100
Reply-To:
Message-ID:
Subject:
From:
Content-Type:
text/plain; charset="UTF-8"
In-Reply-To:
MIME-Version:
1.0
Comments:
To: SL Users <[log in to unmask]>
Parts/Attachments:
text/plain (24 lines)
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/".

ATOM RSS1 RSS2