rpms/bind/devel bind.spec,1.146,1.147 named.init,1.49,1.50
fedora-cvs-commits at redhat.com
fedora-cvs-commits at redhat.com
Wed Dec 6 10:24:28 UTC 2006
Author: stransky
Update of /cvs/dist/rpms/bind/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv16792
Modified Files:
bind.spec named.init
Log Message:
added a notice to init script when /etc/named.conf doesn't exist (#216075)
Index: bind.spec
===================================================================
RCS file: /cvs/dist/rpms/bind/devel/bind.spec,v
retrieving revision 1.146
retrieving revision 1.147
diff -u -r1.146 -r1.147
--- bind.spec 22 Nov 2006 14:07:26 -0000 1.146
+++ bind.spec 6 Dec 2006 10:24:21 -0000 1.147
@@ -784,6 +784,7 @@
- renamed package, it should meet the N-V-R criteria
- fix for #216185: bind-chroot-admin able to change root mode 750
- added fix from #215997: incorrect permissions on dnszone.schema
+- added a notice to init script when /etc/named.conf doesn't exist (#216075)
* Mon Oct 30 2006 Martin Stransky <stransky at redhat.com> - 30:9.3.3-6
- fix for #200465: named-checkzone and co. cannot be run as non-root user
Index: named.init
===================================================================
RCS file: /cvs/dist/rpms/bind/devel/named.init,v
retrieving revision 1.49
retrieving revision 1.50
diff -u -r1.49 -r1.50
--- named.init 10 Nov 2006 14:00:17 -0000 1.49
+++ named.init 6 Dec 2006 10:24:21 -0000 1.50
@@ -60,7 +60,9 @@
named_conf='/etc/named.caching-nameserver.conf';
OPTIONS="$OPTIONS -c ${named_conf}";
else
- echo Locating $ROOTDIR/${named_conf} failed:
+ echo Locating $ROOTDIR/${named_conf} failed.
+ echo $"I can't find any configuration file. Please create it by system-config-bind"
+ echo $"or install caching-nameserver."
failure
echo;
exit 1;
@@ -204,7 +206,7 @@
if [ $timeout -ge $NAMED_SHUTDOWN_TIMEOUT ]; then
killproc $named -TERM >/dev/null 2>&1
RETVAL=$?
- echo -n $"no response, killing with -TERM "
+ echo $"no response, killing with -TERM "
break
else
sleep 2 && echo -n "."
More information about the fedora-cvs-commits
mailing list