Date: Wed, 28 Apr 2010 22:29:17 +0000 (UTC) From: Doug Barton <dougb@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/etc/rc.d named Message-ID: <201004282247.o3SMlj6h091162@repoman.freebsd.org>
index | next in thread | raw e-mail
dougb 2010-04-28 22:29:17 UTC
FreeBSD src repository
Modified files:
etc/rc.d named
Log:
SVN rev 207346 on 2010-04-28 22:29:17Z by dougb
In the case where named_chroot_autoupdate is NOT set, but
named_chrootdir IS set, named-checkconf fails because it
cannot find the conf file. Fix this by making checkconf a
variable that includes "-t $named_chrootdir" as needed.
Notice of the bug and suggested direction for the fix from [1].
Using required_files for named.conf is overkill ever since
I added the named-checkconf call, so rather than update the
logic to handle the case described above, remove it. This
also handles the case where named_chroot_autoupdate IS set
but the symlink doesn't exist yet.
PR: conf/145904
Submitted by: J R Matthews
Revision Changes Path
1.35 +10 -4 src/etc/rc.d/named
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201004282247.o3SMlj6h091162>
