Date: Fri, 1 Jan 2010 22:10:08 +0000 (UTC) From: Doug Barton <dougb@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r201370 - head/etc/rc.d Message-ID: <201001012210.o01MA83Q040736@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: dougb Date: Fri Jan 1 22:10:07 2010 New Revision: 201370 URL: http://svn.freebsd.org/changeset/base/201370 Log: s/named_confidr/named_confdir/ in the rndc.key check. The line in the command to create it was right, but the check was wrong, so it was getting created every time. Mea culpa. Submitted by: oliver Modified: head/etc/rc.d/named Modified: head/etc/rc.d/named ============================================================================== --- head/etc/rc.d/named Fri Jan 1 20:55:11 2010 (r201369) +++ head/etc/rc.d/named Fri Jan 1 22:10:07 2010 (r201370) @@ -183,8 +183,8 @@ named_prestart() if [ -s "${named_confdir}/rndc.conf" ]; then unset confgen_command fi - if [ -s "${named_confidr}/rndc.key" ]; then - case `stat -f%Su ${named_confidr}/rndc.key` in + if [ -s "${named_confdir}/rndc.key" ]; then + case `stat -f%Su ${named_confdir}/rndc.key` in root|$named_uid) ;; *) $confgen_command ;; esac
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201001012210.o01MA83Q040736>