bind/named.init

121 lines
2.3 KiB
Plaintext
Raw Normal View History

auto-import changelog data from bind-8.2.2_P5-25.src.rpm Sat Aug 05 2000 Bill Nottingham <notting@redhat.com> - condrestart fixes Tue Jul 18 2000 Nalin Dahyabhai <nalin@redhat.com> - change the init script to take condrestart, not cond-restart - add sh-utils, /bin/cat, perl, /bin/chmod, /usr/sbin/useradd as prereqs for the %pre and %post scripts Sun Jul 16 2000 Bernhard Rosenkraenzer <bero@redhat.com> - Don't prereq /etc/init.d Sat Jul 15 2000 Bill Nottingham <notting@redhat.com> - move initscript back Wed Jul 12 2000 Prospector <bugzilla@redhat.com> - automatic rebuild Sun Jul 09 2000 Florian La Roche <Florian.LaRoche@redhat.de> - add "exit 0" for uninstall case Fri Jul 07 2000 Florian La Roche <Florian.LaRoche@redhat.de> - add prereq init.d and cleanup install section Fri Jun 30 2000 Trond Eivind Glomsrød <teg@redhat.com> - fix the init script Wed Jun 28 2000 Nalin Dahyabhai <nalin@redhat.com> - make libbind.a and nslookup.help readable again by setting INSTALL_LIB to "" Mon Jun 26 2000 Bernhard Rosenkränzer <bero@redhat.com> - Fix up the initscript (Bug #13033) - Fix build with current glibc (Bug #12755) - /etc/rc.d/init.d -> /etc/init.d - use %{_mandir} rather than /usr/share/man Mon Jun 19 2000 Bill Nottingham <notting@redhat.com> - fix conflict with man-pages - remove compatibilty chkconfig links - initscript munging Wed Jun 14 2000 Nalin Dahyabhai <nalin@redhat.com> - modify logrotate setup to use PID file - temporarily disable optimization by unsetting $RPM_OPT_FLAGS at build-time - actually bump the release this time Sun Jun 04 2000 Bernhard Rosenkraenzer <bero@redhat.com> - FHS compliance Mon Apr 17 2000 Nalin Dahyabhai <nalin@redhat.com> - clean up restart patch Mon Apr 10 2000 Nalin Dahyabhai <nalin@redhat.com> - provide /var/named (fix for bugs #9847, #10205) - preserve args when restarted via ndc(8) (bug #10227) - make resolv.conf(5) a link to resolver(5) (bug #10245) - fix SYSTYPE bug in all makefiles - move creation of named user from %post into %pre Mon Feb 28 2000 Bernhard Rosenkränzer <bero@redhat.com> - Fix TTL (patch from ISC, Bug #9820) Wed Feb 16 2000 Bernhard Rosenkränzer <bero@redhat.com> - fix typo in spec (it's %post, without a leading blank) introduced in -6 - change SYSTYPE to linux Fri Feb 11 2000 Bill Nottingham <notting@redhat.com> - pick a standard < 100 uid/gid for named Fri Feb 04 2000 Elliot Lee <sopwith@redhat.com> - Pass named a '-u named' parameter by default, and add/remove user. Thu Feb 03 2000 Bernhard Rosenkraenzer <bero@redhat.com> - fix host mx bug (Bug #9021) Mon Jan 31 2000 Cristian Gafton <gafton@redhat.com> - rebuild to fix dependencies - man pages are compressed Wed Jan 19 2000 Bernhard Rosenkraenzer <bero@redhat.com> - It's /usr/bin/killall, not /usr/sbin/killall (Bug #8063) Mon Jan 17 2000 Bernhard Rosenkraenzer <bero@redhat.com> - Fix up location of named-bootconf.pl and make it executable (Bug #8028) - bind-devel requires bind Mon Nov 15 1999 Bernhard Rosenkraenzer <bero@redhat.com> - update to 8.2.2-P5 Wed Nov 10 1999 Bill Nottingham <notting@redhat.com> - update to 8.2.2-P3 Tue Oct 12 1999 Cristian Gafton <gafton@redhat.com> - add patch to stop a cache only server from complaining about lame servers on every request. Fri Sep 24 1999 Preston Brown <pbrown@redhat.com> - use real stop and start in named.init for restart, not ndc restart, it has problems when named has changed during a package update... (# 4890) Fri Sep 10 1999 Bill Nottingham <notting@redhat.com> - chkconfig --del in %preun, not %postun Mon Aug 16 1999 Bill Nottingham <notting@redhat.com> - initscript munging Mon Jul 26 1999 Bill Nottingham <notting@redhat.com> - fix installed chkconfig links to match init file Sat Jul 03 1999 Jeff Johnson <jbj@redhat.com> - conflict with new (in man-1.24) man pages (#3876,#3877). Tue Jun 29 1999 Bill Nottingham <notting@redhat.com> - fix named.logrotate (wrong %SOURCE) Fri Jun 25 1999 Jeff Johnson <jbj@redhat.com> - update to 8.2.1. - add named.logrotate (#3571). - hack around egcs-1.1.2 -m486 bug (#3413, #3485). - vet file list. Fri Jun 18 1999 Bill Nottingham <notting@redhat.com> - don't run by default Sun May 30 1999 Jeff Johnson <jbj@redhat.com> - nslookup fixes (#2463). - missing files (#3152). Sat May 01 1999 Stepan Kasal <kasal@math.cas.cz> - nslookup patched: to count numRecords properly to fix subsequent calls to ls -d to parse "view" and "finger" commands properly the view hack updated for bind-8 (using sed) Wed Mar 31 1999 Bill Nottingham <notting@redhat.com> - add ISC patch - add quick hack to make host not crash - add more docs Fri Mar 26 1999 Cristian Gafton <gafton@redhat.com> - add probing information in the init file to keep linuxconf happy - dont strip libbind Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> - auto rebuild in the new build environment (release 3) Wed Mar 17 1999 Preston Brown <pbrown@redhat.com> - removed 'done' output at named shutdown. Tue Mar 16 1999 Cristian Gafton <gafton@redhat.com> - version 8.2 Wed Dec 30 1998 Cristian Gafton <gafton@redhat.com> - patch to use the __FDS_BITS macro - build for glibc 2.1 Wed Sep 23 1998 Jeff Johnson <jbj@redhat.com> - change named.restart to /usr/sbin/ndc restart Sat Sep 19 1998 Jeff Johnson <jbj@redhat.com> - install man pages correctly. - change K10named to K45named. Wed Aug 12 1998 Jeff Johnson <jbj@redhat.com> - don't start if /etc/named.conf doesn't exist. Sat Aug 08 1998 Jeff Johnson <jbj@redhat.com> - autmagically create /etc/named.conf from /etc/named.boot in %post - remove echo in %post Wed Jun 10 1998 Jeff Johnson <jbj@redhat.com> - merge in 5.1 mods Sun Apr 12 1998 Manuel J. Galan <manolow@step.es> - Several essential modifications to build and install correctly. - Modified 'ndc' to avoid deprecated use of '-' Mon Dec 22 1997 Scott Lampert <fortunato@heavymetal.org> - Used buildroot - patched bin/named/ns_udp.c to use <libelf/nlist.h> for include on Redhat 5.0 instead of <nlist.h>
2004-09-09 03:29:07 +00:00
#!/bin/bash
#
# named This shell script takes care of starting and stopping
# named (BIND DNS server).
#
# chkconfig: - 55 45
# description: named (BIND) is a Domain Name Server (DNS) \
# that is used to resolve host names to IP addresses.
# probe: true
# Source function library.
. /etc/rc.d/init.d/functions
# Source networking configuration.
auto-import changelog data from bind-9.2.2.P3-9.src.rpm Fri Oct 17 2003 Daniel Walsh <dwalsh@redhat.com> 9.2.2.P3-9 - Add /var/named/slaves directory Sun Oct 12 2003 Florian La Roche <Florian.LaRoche@redhat.de> - do not link against libnsl, not needed for Linux Wed Oct 08 2003 Daniel Walsh <dwalsh@redhat.com> 9.2.2.P3-6 - Fix local time in log file Tue Oct 07 2003 Daniel Walsh <dwalsh@redhat.com> 9.2.2.P3-5 - Try again Mon Oct 06 2003 Daniel Walsh <dwalsh@redhat.com> 9.2.2.P3-4 - Fix handling of chroot -/dev/random Thu Oct 02 2003 Daniel Walsh <dwalsh@redhat.com> 9.2.2.P3-3 - Stop hammering stuff on update of chroot environment Mon Sep 29 2003 Daniel Walsh <dwalsh@redhat.com> 9.2.2.P3-2 - Fix chroot directory to grab all subdirectories Wed Sep 24 2003 Daniel Walsh <dwalsh@redhat.com> 9.2.2.P3-1 - New patch to support for "delegation-only" Wed Sep 17 2003 Daniel Walsh <dwalsh@redhat.com> 9.2.2-23 - patch support for "delegation-only" Wed Jul 30 2003 Daniel Walsh <dwalsh@redhat.com> 9.2.2-22 - Update to build on RHL Wed Jul 30 2003 Daniel Walsh <dwalsh@redhat.com> 9.2.2-21 - Install libraries as exec so debug info will be pulled Sat Jul 19 2003 Daniel Walsh <dwalsh@redhat.com> 9.2.2-20 - Remove BSDCOMPAT Tue Jul 15 2003 Daniel Walsh <dwalsh@redhat.com> 9.2.2-19 - Update to build on RHL Tue Jul 15 2003 Daniel Walsh <dwalsh@redhat.com> 9.2.2-18 - Change protections on /var/named and /var/chroot/named Tue Jun 17 2003 Daniel Walsh <dwalsh@redhat.com> 9.2.2-17 - Update to build on RHL Tue Jun 17 2003 Daniel Walsh <dwalsh@redhat.com> 9.2.2-16 - Update to build on RHEL Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com> - rebuilt Tue Apr 22 2003 Daniel Walsh <dwalsh@redhat.com> 9.2.2-14 - Update to build on RHEL Tue Apr 22 2003 Daniel Walsh <dwalsh@redhat.com> 9.2.2-13 - Fix config description of named.conf in chroot - Change named.init script to check for existence of /etc/sysconfig/network Fri Apr 18 2003 Daniel Walsh <dwalsh@redhat.com> 9.2.2-12 - Update to build on RHEL Fri Apr 18 2003 Daniel Walsh <dwalsh@redhat.com> 9.2.2-11 - Update to build on RHEL Fri Apr 18 2003 Daniel Walsh <dwalsh@redhat.com> 9.2.2-10 - Fix echo OK on starting/stopping service Fri Mar 28 2003 Daniel Walsh <dwalsh@redhat.com> 9.2.2-9 - Update to build on RHEL Fri Mar 28 2003 Daniel Walsh <dwalsh@redhat.com> 9.2.2-8 - Fix echo on startup Tue Mar 25 2003 Daniel Walsh <dwalsh@redhat.com> 9.2.2-7 - Fix problems with chroot environment - Eliminate posix threads Mon Mar 24 2003 Daniel Walsh <dwalsh@redhat.com> 9.2.2-6 - Fix build problems Fri Mar 14 2003 Daniel Walsh <dwalsh@redhat.com> 9.2.2-5 - Fix build on beehive Thu Mar 13 2003 Daniel Walsh <dwalsh@redhat.com> 9.2.2-4 - build bind-chroot kit Tue Mar 11 2003 Daniel Walsh <dwalsh@redhat.com> 9.2.2-3 - Change configure to use proper threads model Fri Mar 07 2003 Daniel Walsh <dwalsh@redhat.com> 9.2.2-2 - update to 9.2.2 Tue Mar 04 2003 Daniel Walsh <dwalsh@redhat.com> 9.2.2-1 - update to 9.2.2
2004-09-09 03:34:55 +00:00
[ -r /etc/sysconfig/network ] && . /etc/sysconfig/network
auto-import changelog data from bind-8.2.2_P5-25.src.rpm Sat Aug 05 2000 Bill Nottingham <notting@redhat.com> - condrestart fixes Tue Jul 18 2000 Nalin Dahyabhai <nalin@redhat.com> - change the init script to take condrestart, not cond-restart - add sh-utils, /bin/cat, perl, /bin/chmod, /usr/sbin/useradd as prereqs for the %pre and %post scripts Sun Jul 16 2000 Bernhard Rosenkraenzer <bero@redhat.com> - Don't prereq /etc/init.d Sat Jul 15 2000 Bill Nottingham <notting@redhat.com> - move initscript back Wed Jul 12 2000 Prospector <bugzilla@redhat.com> - automatic rebuild Sun Jul 09 2000 Florian La Roche <Florian.LaRoche@redhat.de> - add "exit 0" for uninstall case Fri Jul 07 2000 Florian La Roche <Florian.LaRoche@redhat.de> - add prereq init.d and cleanup install section Fri Jun 30 2000 Trond Eivind Glomsrød <teg@redhat.com> - fix the init script Wed Jun 28 2000 Nalin Dahyabhai <nalin@redhat.com> - make libbind.a and nslookup.help readable again by setting INSTALL_LIB to "" Mon Jun 26 2000 Bernhard Rosenkränzer <bero@redhat.com> - Fix up the initscript (Bug #13033) - Fix build with current glibc (Bug #12755) - /etc/rc.d/init.d -> /etc/init.d - use %{_mandir} rather than /usr/share/man Mon Jun 19 2000 Bill Nottingham <notting@redhat.com> - fix conflict with man-pages - remove compatibilty chkconfig links - initscript munging Wed Jun 14 2000 Nalin Dahyabhai <nalin@redhat.com> - modify logrotate setup to use PID file - temporarily disable optimization by unsetting $RPM_OPT_FLAGS at build-time - actually bump the release this time Sun Jun 04 2000 Bernhard Rosenkraenzer <bero@redhat.com> - FHS compliance Mon Apr 17 2000 Nalin Dahyabhai <nalin@redhat.com> - clean up restart patch Mon Apr 10 2000 Nalin Dahyabhai <nalin@redhat.com> - provide /var/named (fix for bugs #9847, #10205) - preserve args when restarted via ndc(8) (bug #10227) - make resolv.conf(5) a link to resolver(5) (bug #10245) - fix SYSTYPE bug in all makefiles - move creation of named user from %post into %pre Mon Feb 28 2000 Bernhard Rosenkränzer <bero@redhat.com> - Fix TTL (patch from ISC, Bug #9820) Wed Feb 16 2000 Bernhard Rosenkränzer <bero@redhat.com> - fix typo in spec (it's %post, without a leading blank) introduced in -6 - change SYSTYPE to linux Fri Feb 11 2000 Bill Nottingham <notting@redhat.com> - pick a standard < 100 uid/gid for named Fri Feb 04 2000 Elliot Lee <sopwith@redhat.com> - Pass named a '-u named' parameter by default, and add/remove user. Thu Feb 03 2000 Bernhard Rosenkraenzer <bero@redhat.com> - fix host mx bug (Bug #9021) Mon Jan 31 2000 Cristian Gafton <gafton@redhat.com> - rebuild to fix dependencies - man pages are compressed Wed Jan 19 2000 Bernhard Rosenkraenzer <bero@redhat.com> - It's /usr/bin/killall, not /usr/sbin/killall (Bug #8063) Mon Jan 17 2000 Bernhard Rosenkraenzer <bero@redhat.com> - Fix up location of named-bootconf.pl and make it executable (Bug #8028) - bind-devel requires bind Mon Nov 15 1999 Bernhard Rosenkraenzer <bero@redhat.com> - update to 8.2.2-P5 Wed Nov 10 1999 Bill Nottingham <notting@redhat.com> - update to 8.2.2-P3 Tue Oct 12 1999 Cristian Gafton <gafton@redhat.com> - add patch to stop a cache only server from complaining about lame servers on every request. Fri Sep 24 1999 Preston Brown <pbrown@redhat.com> - use real stop and start in named.init for restart, not ndc restart, it has problems when named has changed during a package update... (# 4890) Fri Sep 10 1999 Bill Nottingham <notting@redhat.com> - chkconfig --del in %preun, not %postun Mon Aug 16 1999 Bill Nottingham <notting@redhat.com> - initscript munging Mon Jul 26 1999 Bill Nottingham <notting@redhat.com> - fix installed chkconfig links to match init file Sat Jul 03 1999 Jeff Johnson <jbj@redhat.com> - conflict with new (in man-1.24) man pages (#3876,#3877). Tue Jun 29 1999 Bill Nottingham <notting@redhat.com> - fix named.logrotate (wrong %SOURCE) Fri Jun 25 1999 Jeff Johnson <jbj@redhat.com> - update to 8.2.1. - add named.logrotate (#3571). - hack around egcs-1.1.2 -m486 bug (#3413, #3485). - vet file list. Fri Jun 18 1999 Bill Nottingham <notting@redhat.com> - don't run by default Sun May 30 1999 Jeff Johnson <jbj@redhat.com> - nslookup fixes (#2463). - missing files (#3152). Sat May 01 1999 Stepan Kasal <kasal@math.cas.cz> - nslookup patched: to count numRecords properly to fix subsequent calls to ls -d to parse "view" and "finger" commands properly the view hack updated for bind-8 (using sed) Wed Mar 31 1999 Bill Nottingham <notting@redhat.com> - add ISC patch - add quick hack to make host not crash - add more docs Fri Mar 26 1999 Cristian Gafton <gafton@redhat.com> - add probing information in the init file to keep linuxconf happy - dont strip libbind Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> - auto rebuild in the new build environment (release 3) Wed Mar 17 1999 Preston Brown <pbrown@redhat.com> - removed 'done' output at named shutdown. Tue Mar 16 1999 Cristian Gafton <gafton@redhat.com> - version 8.2 Wed Dec 30 1998 Cristian Gafton <gafton@redhat.com> - patch to use the __FDS_BITS macro - build for glibc 2.1 Wed Sep 23 1998 Jeff Johnson <jbj@redhat.com> - change named.restart to /usr/sbin/ndc restart Sat Sep 19 1998 Jeff Johnson <jbj@redhat.com> - install man pages correctly. - change K10named to K45named. Wed Aug 12 1998 Jeff Johnson <jbj@redhat.com> - don't start if /etc/named.conf doesn't exist. Sat Aug 08 1998 Jeff Johnson <jbj@redhat.com> - autmagically create /etc/named.conf from /etc/named.boot in %post - remove echo in %post Wed Jun 10 1998 Jeff Johnson <jbj@redhat.com> - merge in 5.1 mods Sun Apr 12 1998 Manuel J. Galan <manolow@step.es> - Several essential modifications to build and install correctly. - Modified 'ndc' to avoid deprecated use of '-' Mon Dec 22 1997 Scott Lampert <fortunato@heavymetal.org> - Used buildroot - patched bin/named/ns_udp.c to use <libelf/nlist.h> for include on Redhat 5.0 instead of <nlist.h>
2004-09-09 03:29:07 +00:00
RETVAL=0
prog="named"
auto-import changelog data from bind-8.2.2_P5-25.src.rpm Sat Aug 05 2000 Bill Nottingham <notting@redhat.com> - condrestart fixes Tue Jul 18 2000 Nalin Dahyabhai <nalin@redhat.com> - change the init script to take condrestart, not cond-restart - add sh-utils, /bin/cat, perl, /bin/chmod, /usr/sbin/useradd as prereqs for the %pre and %post scripts Sun Jul 16 2000 Bernhard Rosenkraenzer <bero@redhat.com> - Don't prereq /etc/init.d Sat Jul 15 2000 Bill Nottingham <notting@redhat.com> - move initscript back Wed Jul 12 2000 Prospector <bugzilla@redhat.com> - automatic rebuild Sun Jul 09 2000 Florian La Roche <Florian.LaRoche@redhat.de> - add "exit 0" for uninstall case Fri Jul 07 2000 Florian La Roche <Florian.LaRoche@redhat.de> - add prereq init.d and cleanup install section Fri Jun 30 2000 Trond Eivind Glomsrød <teg@redhat.com> - fix the init script Wed Jun 28 2000 Nalin Dahyabhai <nalin@redhat.com> - make libbind.a and nslookup.help readable again by setting INSTALL_LIB to "" Mon Jun 26 2000 Bernhard Rosenkränzer <bero@redhat.com> - Fix up the initscript (Bug #13033) - Fix build with current glibc (Bug #12755) - /etc/rc.d/init.d -> /etc/init.d - use %{_mandir} rather than /usr/share/man Mon Jun 19 2000 Bill Nottingham <notting@redhat.com> - fix conflict with man-pages - remove compatibilty chkconfig links - initscript munging Wed Jun 14 2000 Nalin Dahyabhai <nalin@redhat.com> - modify logrotate setup to use PID file - temporarily disable optimization by unsetting $RPM_OPT_FLAGS at build-time - actually bump the release this time Sun Jun 04 2000 Bernhard Rosenkraenzer <bero@redhat.com> - FHS compliance Mon Apr 17 2000 Nalin Dahyabhai <nalin@redhat.com> - clean up restart patch Mon Apr 10 2000 Nalin Dahyabhai <nalin@redhat.com> - provide /var/named (fix for bugs #9847, #10205) - preserve args when restarted via ndc(8) (bug #10227) - make resolv.conf(5) a link to resolver(5) (bug #10245) - fix SYSTYPE bug in all makefiles - move creation of named user from %post into %pre Mon Feb 28 2000 Bernhard Rosenkränzer <bero@redhat.com> - Fix TTL (patch from ISC, Bug #9820) Wed Feb 16 2000 Bernhard Rosenkränzer <bero@redhat.com> - fix typo in spec (it's %post, without a leading blank) introduced in -6 - change SYSTYPE to linux Fri Feb 11 2000 Bill Nottingham <notting@redhat.com> - pick a standard < 100 uid/gid for named Fri Feb 04 2000 Elliot Lee <sopwith@redhat.com> - Pass named a '-u named' parameter by default, and add/remove user. Thu Feb 03 2000 Bernhard Rosenkraenzer <bero@redhat.com> - fix host mx bug (Bug #9021) Mon Jan 31 2000 Cristian Gafton <gafton@redhat.com> - rebuild to fix dependencies - man pages are compressed Wed Jan 19 2000 Bernhard Rosenkraenzer <bero@redhat.com> - It's /usr/bin/killall, not /usr/sbin/killall (Bug #8063) Mon Jan 17 2000 Bernhard Rosenkraenzer <bero@redhat.com> - Fix up location of named-bootconf.pl and make it executable (Bug #8028) - bind-devel requires bind Mon Nov 15 1999 Bernhard Rosenkraenzer <bero@redhat.com> - update to 8.2.2-P5 Wed Nov 10 1999 Bill Nottingham <notting@redhat.com> - update to 8.2.2-P3 Tue Oct 12 1999 Cristian Gafton <gafton@redhat.com> - add patch to stop a cache only server from complaining about lame servers on every request. Fri Sep 24 1999 Preston Brown <pbrown@redhat.com> - use real stop and start in named.init for restart, not ndc restart, it has problems when named has changed during a package update... (# 4890) Fri Sep 10 1999 Bill Nottingham <notting@redhat.com> - chkconfig --del in %preun, not %postun Mon Aug 16 1999 Bill Nottingham <notting@redhat.com> - initscript munging Mon Jul 26 1999 Bill Nottingham <notting@redhat.com> - fix installed chkconfig links to match init file Sat Jul 03 1999 Jeff Johnson <jbj@redhat.com> - conflict with new (in man-1.24) man pages (#3876,#3877). Tue Jun 29 1999 Bill Nottingham <notting@redhat.com> - fix named.logrotate (wrong %SOURCE) Fri Jun 25 1999 Jeff Johnson <jbj@redhat.com> - update to 8.2.1. - add named.logrotate (#3571). - hack around egcs-1.1.2 -m486 bug (#3413, #3485). - vet file list. Fri Jun 18 1999 Bill Nottingham <notting@redhat.com> - don't run by default Sun May 30 1999 Jeff Johnson <jbj@redhat.com> - nslookup fixes (#2463). - missing files (#3152). Sat May 01 1999 Stepan Kasal <kasal@math.cas.cz> - nslookup patched: to count numRecords properly to fix subsequent calls to ls -d to parse "view" and "finger" commands properly the view hack updated for bind-8 (using sed) Wed Mar 31 1999 Bill Nottingham <notting@redhat.com> - add ISC patch - add quick hack to make host not crash - add more docs Fri Mar 26 1999 Cristian Gafton <gafton@redhat.com> - add probing information in the init file to keep linuxconf happy - dont strip libbind Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> - auto rebuild in the new build environment (release 3) Wed Mar 17 1999 Preston Brown <pbrown@redhat.com> - removed 'done' output at named shutdown. Tue Mar 16 1999 Cristian Gafton <gafton@redhat.com> - version 8.2 Wed Dec 30 1998 Cristian Gafton <gafton@redhat.com> - patch to use the __FDS_BITS macro - build for glibc 2.1 Wed Sep 23 1998 Jeff Johnson <jbj@redhat.com> - change named.restart to /usr/sbin/ndc restart Sat Sep 19 1998 Jeff Johnson <jbj@redhat.com> - install man pages correctly. - change K10named to K45named. Wed Aug 12 1998 Jeff Johnson <jbj@redhat.com> - don't start if /etc/named.conf doesn't exist. Sat Aug 08 1998 Jeff Johnson <jbj@redhat.com> - autmagically create /etc/named.conf from /etc/named.boot in %post - remove echo in %post Wed Jun 10 1998 Jeff Johnson <jbj@redhat.com> - merge in 5.1 mods Sun Apr 12 1998 Manuel J. Galan <manolow@step.es> - Several essential modifications to build and install correctly. - Modified 'ndc' to avoid deprecated use of '-' Mon Dec 22 1997 Scott Lampert <fortunato@heavymetal.org> - Used buildroot - patched bin/named/ns_udp.c to use <libelf/nlist.h> for include on Redhat 5.0 instead of <nlist.h>
2004-09-09 03:29:07 +00:00
# Check that networking is up.
auto-import changelog data from bind-9.1.0-10.src.rpm Thu Mar 15 2001 Bernhard Rosenkraenzer <bero@redhat.com> 9.1.0-10 - Merge fixes from 9.1.1rc5 Sun Mar 11 2001 Bernhard Rosenkraenzer <bero@redhat.com> 9.1.0-9 - Work around bind 8 -> bind 9 migration problem when using buggy zone files: accept zones without a TTL, but spew out a big fat warning. (#31393) Thu Mar 08 2001 Bernhard Rosenkraenzer <bero@redhat.com> - Add fixes from rc4 Fri Mar 02 2001 Nalin Dahyabhai <nalin@redhat.com> - rebuild in new environment Thu Mar 01 2001 Bernhard Rosenkraenzer <bero@redhat.com> - killall -HUP named if rndc reload fails (#30113) Tue Feb 27 2001 Bernhard Rosenkraenzer <bero@redhat.com> - Merge some fixes from 9.1.1rc3 Tue Feb 20 2001 Bernhard Rosenkraenzer <bero@redhat.com> - Don't use the standard rndc key from the documentation, instead, create a random one at installation time (#26358) - Make /etc/rndc.conf readable by user named only, it contains secret keys Tue Feb 20 2001 Bernhard Rosenkraenzer <bero@redhat.com> - 9.1.1 probably won't be out in time, revert to 9.1.0 and apply fixes from 9.1.1rc2 - bind requires bind-utils (#28317) Tue Feb 13 2001 Bernhard Rosenkraenzer <bero@redhat.com> - Update to rc2, fixes 2 more bugs - Fix build with glibc >= 2.2.1-7 Thu Feb 08 2001 Bernhard Rosenkraenzer <bero@redhat.com> - Update to 9.1.1rc1; fixes 17 bugs (14 of them affecting us; 1 was fixed in a Red Hat patch already, 2 others are portability improvements) Wed Feb 07 2001 Bernhard Rosenkraenzer <bero@redhat.com> - Remove initscripts 5.54 requirement (#26489) Mon Jan 29 2001 Bernhard Rosenkraenzer <bero@redhat.com> - Add named-checkconf, named-checkzone (#25170) Mon Jan 29 2001 Trond Eivind Glomsrød <teg@redhat.com> - use echo, not gprintf
2004-09-09 03:30:04 +00:00
[ "${NETWORKING}" = "no" ] && exit 0
[ -r /etc/sysconfig/named ] && . /etc/sysconfig/named
auto-import changelog data from bind-8.2.2_P5-25.src.rpm Sat Aug 05 2000 Bill Nottingham <notting@redhat.com> - condrestart fixes Tue Jul 18 2000 Nalin Dahyabhai <nalin@redhat.com> - change the init script to take condrestart, not cond-restart - add sh-utils, /bin/cat, perl, /bin/chmod, /usr/sbin/useradd as prereqs for the %pre and %post scripts Sun Jul 16 2000 Bernhard Rosenkraenzer <bero@redhat.com> - Don't prereq /etc/init.d Sat Jul 15 2000 Bill Nottingham <notting@redhat.com> - move initscript back Wed Jul 12 2000 Prospector <bugzilla@redhat.com> - automatic rebuild Sun Jul 09 2000 Florian La Roche <Florian.LaRoche@redhat.de> - add "exit 0" for uninstall case Fri Jul 07 2000 Florian La Roche <Florian.LaRoche@redhat.de> - add prereq init.d and cleanup install section Fri Jun 30 2000 Trond Eivind Glomsrød <teg@redhat.com> - fix the init script Wed Jun 28 2000 Nalin Dahyabhai <nalin@redhat.com> - make libbind.a and nslookup.help readable again by setting INSTALL_LIB to "" Mon Jun 26 2000 Bernhard Rosenkränzer <bero@redhat.com> - Fix up the initscript (Bug #13033) - Fix build with current glibc (Bug #12755) - /etc/rc.d/init.d -> /etc/init.d - use %{_mandir} rather than /usr/share/man Mon Jun 19 2000 Bill Nottingham <notting@redhat.com> - fix conflict with man-pages - remove compatibilty chkconfig links - initscript munging Wed Jun 14 2000 Nalin Dahyabhai <nalin@redhat.com> - modify logrotate setup to use PID file - temporarily disable optimization by unsetting $RPM_OPT_FLAGS at build-time - actually bump the release this time Sun Jun 04 2000 Bernhard Rosenkraenzer <bero@redhat.com> - FHS compliance Mon Apr 17 2000 Nalin Dahyabhai <nalin@redhat.com> - clean up restart patch Mon Apr 10 2000 Nalin Dahyabhai <nalin@redhat.com> - provide /var/named (fix for bugs #9847, #10205) - preserve args when restarted via ndc(8) (bug #10227) - make resolv.conf(5) a link to resolver(5) (bug #10245) - fix SYSTYPE bug in all makefiles - move creation of named user from %post into %pre Mon Feb 28 2000 Bernhard Rosenkränzer <bero@redhat.com> - Fix TTL (patch from ISC, Bug #9820) Wed Feb 16 2000 Bernhard Rosenkränzer <bero@redhat.com> - fix typo in spec (it's %post, without a leading blank) introduced in -6 - change SYSTYPE to linux Fri Feb 11 2000 Bill Nottingham <notting@redhat.com> - pick a standard < 100 uid/gid for named Fri Feb 04 2000 Elliot Lee <sopwith@redhat.com> - Pass named a '-u named' parameter by default, and add/remove user. Thu Feb 03 2000 Bernhard Rosenkraenzer <bero@redhat.com> - fix host mx bug (Bug #9021) Mon Jan 31 2000 Cristian Gafton <gafton@redhat.com> - rebuild to fix dependencies - man pages are compressed Wed Jan 19 2000 Bernhard Rosenkraenzer <bero@redhat.com> - It's /usr/bin/killall, not /usr/sbin/killall (Bug #8063) Mon Jan 17 2000 Bernhard Rosenkraenzer <bero@redhat.com> - Fix up location of named-bootconf.pl and make it executable (Bug #8028) - bind-devel requires bind Mon Nov 15 1999 Bernhard Rosenkraenzer <bero@redhat.com> - update to 8.2.2-P5 Wed Nov 10 1999 Bill Nottingham <notting@redhat.com> - update to 8.2.2-P3 Tue Oct 12 1999 Cristian Gafton <gafton@redhat.com> - add patch to stop a cache only server from complaining about lame servers on every request. Fri Sep 24 1999 Preston Brown <pbrown@redhat.com> - use real stop and start in named.init for restart, not ndc restart, it has problems when named has changed during a package update... (# 4890) Fri Sep 10 1999 Bill Nottingham <notting@redhat.com> - chkconfig --del in %preun, not %postun Mon Aug 16 1999 Bill Nottingham <notting@redhat.com> - initscript munging Mon Jul 26 1999 Bill Nottingham <notting@redhat.com> - fix installed chkconfig links to match init file Sat Jul 03 1999 Jeff Johnson <jbj@redhat.com> - conflict with new (in man-1.24) man pages (#3876,#3877). Tue Jun 29 1999 Bill Nottingham <notting@redhat.com> - fix named.logrotate (wrong %SOURCE) Fri Jun 25 1999 Jeff Johnson <jbj@redhat.com> - update to 8.2.1. - add named.logrotate (#3571). - hack around egcs-1.1.2 -m486 bug (#3413, #3485). - vet file list. Fri Jun 18 1999 Bill Nottingham <notting@redhat.com> - don't run by default Sun May 30 1999 Jeff Johnson <jbj@redhat.com> - nslookup fixes (#2463). - missing files (#3152). Sat May 01 1999 Stepan Kasal <kasal@math.cas.cz> - nslookup patched: to count numRecords properly to fix subsequent calls to ls -d to parse "view" and "finger" commands properly the view hack updated for bind-8 (using sed) Wed Mar 31 1999 Bill Nottingham <notting@redhat.com> - add ISC patch - add quick hack to make host not crash - add more docs Fri Mar 26 1999 Cristian Gafton <gafton@redhat.com> - add probing information in the init file to keep linuxconf happy - dont strip libbind Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> - auto rebuild in the new build environment (release 3) Wed Mar 17 1999 Preston Brown <pbrown@redhat.com> - removed 'done' output at named shutdown. Tue Mar 16 1999 Cristian Gafton <gafton@redhat.com> - version 8.2 Wed Dec 30 1998 Cristian Gafton <gafton@redhat.com> - patch to use the __FDS_BITS macro - build for glibc 2.1 Wed Sep 23 1998 Jeff Johnson <jbj@redhat.com> - change named.restart to /usr/sbin/ndc restart Sat Sep 19 1998 Jeff Johnson <jbj@redhat.com> - install man pages correctly. - change K10named to K45named. Wed Aug 12 1998 Jeff Johnson <jbj@redhat.com> - don't start if /etc/named.conf doesn't exist. Sat Aug 08 1998 Jeff Johnson <jbj@redhat.com> - autmagically create /etc/named.conf from /etc/named.boot in %post - remove echo in %post Wed Jun 10 1998 Jeff Johnson <jbj@redhat.com> - merge in 5.1 mods Sun Apr 12 1998 Manuel J. Galan <manolow@step.es> - Several essential modifications to build and install correctly. - Modified 'ndc' to avoid deprecated use of '-' Mon Dec 22 1997 Scott Lampert <fortunato@heavymetal.org> - Used buildroot - patched bin/named/ns_udp.c to use <libelf/nlist.h> for include on Redhat 5.0 instead of <nlist.h>
2004-09-09 03:29:07 +00:00
[ -x /usr/sbin/named ] || exit 0
auto-import changelog data from bind-8.2.2_P5-25.src.rpm Sat Aug 05 2000 Bill Nottingham <notting@redhat.com> - condrestart fixes Tue Jul 18 2000 Nalin Dahyabhai <nalin@redhat.com> - change the init script to take condrestart, not cond-restart - add sh-utils, /bin/cat, perl, /bin/chmod, /usr/sbin/useradd as prereqs for the %pre and %post scripts Sun Jul 16 2000 Bernhard Rosenkraenzer <bero@redhat.com> - Don't prereq /etc/init.d Sat Jul 15 2000 Bill Nottingham <notting@redhat.com> - move initscript back Wed Jul 12 2000 Prospector <bugzilla@redhat.com> - automatic rebuild Sun Jul 09 2000 Florian La Roche <Florian.LaRoche@redhat.de> - add "exit 0" for uninstall case Fri Jul 07 2000 Florian La Roche <Florian.LaRoche@redhat.de> - add prereq init.d and cleanup install section Fri Jun 30 2000 Trond Eivind Glomsrød <teg@redhat.com> - fix the init script Wed Jun 28 2000 Nalin Dahyabhai <nalin@redhat.com> - make libbind.a and nslookup.help readable again by setting INSTALL_LIB to "" Mon Jun 26 2000 Bernhard Rosenkränzer <bero@redhat.com> - Fix up the initscript (Bug #13033) - Fix build with current glibc (Bug #12755) - /etc/rc.d/init.d -> /etc/init.d - use %{_mandir} rather than /usr/share/man Mon Jun 19 2000 Bill Nottingham <notting@redhat.com> - fix conflict with man-pages - remove compatibilty chkconfig links - initscript munging Wed Jun 14 2000 Nalin Dahyabhai <nalin@redhat.com> - modify logrotate setup to use PID file - temporarily disable optimization by unsetting $RPM_OPT_FLAGS at build-time - actually bump the release this time Sun Jun 04 2000 Bernhard Rosenkraenzer <bero@redhat.com> - FHS compliance Mon Apr 17 2000 Nalin Dahyabhai <nalin@redhat.com> - clean up restart patch Mon Apr 10 2000 Nalin Dahyabhai <nalin@redhat.com> - provide /var/named (fix for bugs #9847, #10205) - preserve args when restarted via ndc(8) (bug #10227) - make resolv.conf(5) a link to resolver(5) (bug #10245) - fix SYSTYPE bug in all makefiles - move creation of named user from %post into %pre Mon Feb 28 2000 Bernhard Rosenkränzer <bero@redhat.com> - Fix TTL (patch from ISC, Bug #9820) Wed Feb 16 2000 Bernhard Rosenkränzer <bero@redhat.com> - fix typo in spec (it's %post, without a leading blank) introduced in -6 - change SYSTYPE to linux Fri Feb 11 2000 Bill Nottingham <notting@redhat.com> - pick a standard < 100 uid/gid for named Fri Feb 04 2000 Elliot Lee <sopwith@redhat.com> - Pass named a '-u named' parameter by default, and add/remove user. Thu Feb 03 2000 Bernhard Rosenkraenzer <bero@redhat.com> - fix host mx bug (Bug #9021) Mon Jan 31 2000 Cristian Gafton <gafton@redhat.com> - rebuild to fix dependencies - man pages are compressed Wed Jan 19 2000 Bernhard Rosenkraenzer <bero@redhat.com> - It's /usr/bin/killall, not /usr/sbin/killall (Bug #8063) Mon Jan 17 2000 Bernhard Rosenkraenzer <bero@redhat.com> - Fix up location of named-bootconf.pl and make it executable (Bug #8028) - bind-devel requires bind Mon Nov 15 1999 Bernhard Rosenkraenzer <bero@redhat.com> - update to 8.2.2-P5 Wed Nov 10 1999 Bill Nottingham <notting@redhat.com> - update to 8.2.2-P3 Tue Oct 12 1999 Cristian Gafton <gafton@redhat.com> - add patch to stop a cache only server from complaining about lame servers on every request. Fri Sep 24 1999 Preston Brown <pbrown@redhat.com> - use real stop and start in named.init for restart, not ndc restart, it has problems when named has changed during a package update... (# 4890) Fri Sep 10 1999 Bill Nottingham <notting@redhat.com> - chkconfig --del in %preun, not %postun Mon Aug 16 1999 Bill Nottingham <notting@redhat.com> - initscript munging Mon Jul 26 1999 Bill Nottingham <notting@redhat.com> - fix installed chkconfig links to match init file Sat Jul 03 1999 Jeff Johnson <jbj@redhat.com> - conflict with new (in man-1.24) man pages (#3876,#3877). Tue Jun 29 1999 Bill Nottingham <notting@redhat.com> - fix named.logrotate (wrong %SOURCE) Fri Jun 25 1999 Jeff Johnson <jbj@redhat.com> - update to 8.2.1. - add named.logrotate (#3571). - hack around egcs-1.1.2 -m486 bug (#3413, #3485). - vet file list. Fri Jun 18 1999 Bill Nottingham <notting@redhat.com> - don't run by default Sun May 30 1999 Jeff Johnson <jbj@redhat.com> - nslookup fixes (#2463). - missing files (#3152). Sat May 01 1999 Stepan Kasal <kasal@math.cas.cz> - nslookup patched: to count numRecords properly to fix subsequent calls to ls -d to parse "view" and "finger" commands properly the view hack updated for bind-8 (using sed) Wed Mar 31 1999 Bill Nottingham <notting@redhat.com> - add ISC patch - add quick hack to make host not crash - add more docs Fri Mar 26 1999 Cristian Gafton <gafton@redhat.com> - add probing information in the init file to keep linuxconf happy - dont strip libbind Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> - auto rebuild in the new build environment (release 3) Wed Mar 17 1999 Preston Brown <pbrown@redhat.com> - removed 'done' output at named shutdown. Tue Mar 16 1999 Cristian Gafton <gafton@redhat.com> - version 8.2 Wed Dec 30 1998 Cristian Gafton <gafton@redhat.com> - patch to use the __FDS_BITS macro - build for glibc 2.1 Wed Sep 23 1998 Jeff Johnson <jbj@redhat.com> - change named.restart to /usr/sbin/ndc restart Sat Sep 19 1998 Jeff Johnson <jbj@redhat.com> - install man pages correctly. - change K10named to K45named. Wed Aug 12 1998 Jeff Johnson <jbj@redhat.com> - don't start if /etc/named.conf doesn't exist. Sat Aug 08 1998 Jeff Johnson <jbj@redhat.com> - autmagically create /etc/named.conf from /etc/named.boot in %post - remove echo in %post Wed Jun 10 1998 Jeff Johnson <jbj@redhat.com> - merge in 5.1 mods Sun Apr 12 1998 Manuel J. Galan <manolow@step.es> - Several essential modifications to build and install correctly. - Modified 'ndc' to avoid deprecated use of '-' Mon Dec 22 1997 Scott Lampert <fortunato@heavymetal.org> - Used buildroot - patched bin/named/ns_udp.c to use <libelf/nlist.h> for include on Redhat 5.0 instead of <nlist.h>
2004-09-09 03:29:07 +00:00
[ -r ${ROOTDIR}/etc/named.conf ] || exit 0
auto-import changelog data from bind-8.2.2_P5-25.src.rpm Sat Aug 05 2000 Bill Nottingham <notting@redhat.com> - condrestart fixes Tue Jul 18 2000 Nalin Dahyabhai <nalin@redhat.com> - change the init script to take condrestart, not cond-restart - add sh-utils, /bin/cat, perl, /bin/chmod, /usr/sbin/useradd as prereqs for the %pre and %post scripts Sun Jul 16 2000 Bernhard Rosenkraenzer <bero@redhat.com> - Don't prereq /etc/init.d Sat Jul 15 2000 Bill Nottingham <notting@redhat.com> - move initscript back Wed Jul 12 2000 Prospector <bugzilla@redhat.com> - automatic rebuild Sun Jul 09 2000 Florian La Roche <Florian.LaRoche@redhat.de> - add "exit 0" for uninstall case Fri Jul 07 2000 Florian La Roche <Florian.LaRoche@redhat.de> - add prereq init.d and cleanup install section Fri Jun 30 2000 Trond Eivind Glomsrød <teg@redhat.com> - fix the init script Wed Jun 28 2000 Nalin Dahyabhai <nalin@redhat.com> - make libbind.a and nslookup.help readable again by setting INSTALL_LIB to "" Mon Jun 26 2000 Bernhard Rosenkränzer <bero@redhat.com> - Fix up the initscript (Bug #13033) - Fix build with current glibc (Bug #12755) - /etc/rc.d/init.d -> /etc/init.d - use %{_mandir} rather than /usr/share/man Mon Jun 19 2000 Bill Nottingham <notting@redhat.com> - fix conflict with man-pages - remove compatibilty chkconfig links - initscript munging Wed Jun 14 2000 Nalin Dahyabhai <nalin@redhat.com> - modify logrotate setup to use PID file - temporarily disable optimization by unsetting $RPM_OPT_FLAGS at build-time - actually bump the release this time Sun Jun 04 2000 Bernhard Rosenkraenzer <bero@redhat.com> - FHS compliance Mon Apr 17 2000 Nalin Dahyabhai <nalin@redhat.com> - clean up restart patch Mon Apr 10 2000 Nalin Dahyabhai <nalin@redhat.com> - provide /var/named (fix for bugs #9847, #10205) - preserve args when restarted via ndc(8) (bug #10227) - make resolv.conf(5) a link to resolver(5) (bug #10245) - fix SYSTYPE bug in all makefiles - move creation of named user from %post into %pre Mon Feb 28 2000 Bernhard Rosenkränzer <bero@redhat.com> - Fix TTL (patch from ISC, Bug #9820) Wed Feb 16 2000 Bernhard Rosenkränzer <bero@redhat.com> - fix typo in spec (it's %post, without a leading blank) introduced in -6 - change SYSTYPE to linux Fri Feb 11 2000 Bill Nottingham <notting@redhat.com> - pick a standard < 100 uid/gid for named Fri Feb 04 2000 Elliot Lee <sopwith@redhat.com> - Pass named a '-u named' parameter by default, and add/remove user. Thu Feb 03 2000 Bernhard Rosenkraenzer <bero@redhat.com> - fix host mx bug (Bug #9021) Mon Jan 31 2000 Cristian Gafton <gafton@redhat.com> - rebuild to fix dependencies - man pages are compressed Wed Jan 19 2000 Bernhard Rosenkraenzer <bero@redhat.com> - It's /usr/bin/killall, not /usr/sbin/killall (Bug #8063) Mon Jan 17 2000 Bernhard Rosenkraenzer <bero@redhat.com> - Fix up location of named-bootconf.pl and make it executable (Bug #8028) - bind-devel requires bind Mon Nov 15 1999 Bernhard Rosenkraenzer <bero@redhat.com> - update to 8.2.2-P5 Wed Nov 10 1999 Bill Nottingham <notting@redhat.com> - update to 8.2.2-P3 Tue Oct 12 1999 Cristian Gafton <gafton@redhat.com> - add patch to stop a cache only server from complaining about lame servers on every request. Fri Sep 24 1999 Preston Brown <pbrown@redhat.com> - use real stop and start in named.init for restart, not ndc restart, it has problems when named has changed during a package update... (# 4890) Fri Sep 10 1999 Bill Nottingham <notting@redhat.com> - chkconfig --del in %preun, not %postun Mon Aug 16 1999 Bill Nottingham <notting@redhat.com> - initscript munging Mon Jul 26 1999 Bill Nottingham <notting@redhat.com> - fix installed chkconfig links to match init file Sat Jul 03 1999 Jeff Johnson <jbj@redhat.com> - conflict with new (in man-1.24) man pages (#3876,#3877). Tue Jun 29 1999 Bill Nottingham <notting@redhat.com> - fix named.logrotate (wrong %SOURCE) Fri Jun 25 1999 Jeff Johnson <jbj@redhat.com> - update to 8.2.1. - add named.logrotate (#3571). - hack around egcs-1.1.2 -m486 bug (#3413, #3485). - vet file list. Fri Jun 18 1999 Bill Nottingham <notting@redhat.com> - don't run by default Sun May 30 1999 Jeff Johnson <jbj@redhat.com> - nslookup fixes (#2463). - missing files (#3152). Sat May 01 1999 Stepan Kasal <kasal@math.cas.cz> - nslookup patched: to count numRecords properly to fix subsequent calls to ls -d to parse "view" and "finger" commands properly the view hack updated for bind-8 (using sed) Wed Mar 31 1999 Bill Nottingham <notting@redhat.com> - add ISC patch - add quick hack to make host not crash - add more docs Fri Mar 26 1999 Cristian Gafton <gafton@redhat.com> - add probing information in the init file to keep linuxconf happy - dont strip libbind Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> - auto rebuild in the new build environment (release 3) Wed Mar 17 1999 Preston Brown <pbrown@redhat.com> - removed 'done' output at named shutdown. Tue Mar 16 1999 Cristian Gafton <gafton@redhat.com> - version 8.2 Wed Dec 30 1998 Cristian Gafton <gafton@redhat.com> - patch to use the __FDS_BITS macro - build for glibc 2.1 Wed Sep 23 1998 Jeff Johnson <jbj@redhat.com> - change named.restart to /usr/sbin/ndc restart Sat Sep 19 1998 Jeff Johnson <jbj@redhat.com> - install man pages correctly. - change K10named to K45named. Wed Aug 12 1998 Jeff Johnson <jbj@redhat.com> - don't start if /etc/named.conf doesn't exist. Sat Aug 08 1998 Jeff Johnson <jbj@redhat.com> - autmagically create /etc/named.conf from /etc/named.boot in %post - remove echo in %post Wed Jun 10 1998 Jeff Johnson <jbj@redhat.com> - merge in 5.1 mods Sun Apr 12 1998 Manuel J. Galan <manolow@step.es> - Several essential modifications to build and install correctly. - Modified 'ndc' to avoid deprecated use of '-' Mon Dec 22 1997 Scott Lampert <fortunato@heavymetal.org> - Used buildroot - patched bin/named/ns_udp.c to use <libelf/nlist.h> for include on Redhat 5.0 instead of <nlist.h>
2004-09-09 03:29:07 +00:00
start() {
# Start daemons.
if [ -n "`/sbin/pidof named`" ]; then
echo -n $"$prog: already running"
return 1
fi
auto-import changelog data from bind-9.1.0-10.src.rpm Thu Mar 15 2001 Bernhard Rosenkraenzer <bero@redhat.com> 9.1.0-10 - Merge fixes from 9.1.1rc5 Sun Mar 11 2001 Bernhard Rosenkraenzer <bero@redhat.com> 9.1.0-9 - Work around bind 8 -> bind 9 migration problem when using buggy zone files: accept zones without a TTL, but spew out a big fat warning. (#31393) Thu Mar 08 2001 Bernhard Rosenkraenzer <bero@redhat.com> - Add fixes from rc4 Fri Mar 02 2001 Nalin Dahyabhai <nalin@redhat.com> - rebuild in new environment Thu Mar 01 2001 Bernhard Rosenkraenzer <bero@redhat.com> - killall -HUP named if rndc reload fails (#30113) Tue Feb 27 2001 Bernhard Rosenkraenzer <bero@redhat.com> - Merge some fixes from 9.1.1rc3 Tue Feb 20 2001 Bernhard Rosenkraenzer <bero@redhat.com> - Don't use the standard rndc key from the documentation, instead, create a random one at installation time (#26358) - Make /etc/rndc.conf readable by user named only, it contains secret keys Tue Feb 20 2001 Bernhard Rosenkraenzer <bero@redhat.com> - 9.1.1 probably won't be out in time, revert to 9.1.0 and apply fixes from 9.1.1rc2 - bind requires bind-utils (#28317) Tue Feb 13 2001 Bernhard Rosenkraenzer <bero@redhat.com> - Update to rc2, fixes 2 more bugs - Fix build with glibc >= 2.2.1-7 Thu Feb 08 2001 Bernhard Rosenkraenzer <bero@redhat.com> - Update to 9.1.1rc1; fixes 17 bugs (14 of them affecting us; 1 was fixed in a Red Hat patch already, 2 others are portability improvements) Wed Feb 07 2001 Bernhard Rosenkraenzer <bero@redhat.com> - Remove initscripts 5.54 requirement (#26489) Mon Jan 29 2001 Bernhard Rosenkraenzer <bero@redhat.com> - Add named-checkconf, named-checkzone (#25170) Mon Jan 29 2001 Trond Eivind Glomsrød <teg@redhat.com> - use echo, not gprintf
2004-09-09 03:30:04 +00:00
echo -n $"Starting $prog: "
if [ -n "${ROOTDIR}" -a "x${ROOTDIR}" != "x/" ]; then
OPTIONS="${OPTIONS} -t ${ROOTDIR}"
fi
daemon /usr/sbin/named -u named ${OPTIONS}
auto-import changelog data from bind-8.2.2_P5-25.src.rpm Sat Aug 05 2000 Bill Nottingham <notting@redhat.com> - condrestart fixes Tue Jul 18 2000 Nalin Dahyabhai <nalin@redhat.com> - change the init script to take condrestart, not cond-restart - add sh-utils, /bin/cat, perl, /bin/chmod, /usr/sbin/useradd as prereqs for the %pre and %post scripts Sun Jul 16 2000 Bernhard Rosenkraenzer <bero@redhat.com> - Don't prereq /etc/init.d Sat Jul 15 2000 Bill Nottingham <notting@redhat.com> - move initscript back Wed Jul 12 2000 Prospector <bugzilla@redhat.com> - automatic rebuild Sun Jul 09 2000 Florian La Roche <Florian.LaRoche@redhat.de> - add "exit 0" for uninstall case Fri Jul 07 2000 Florian La Roche <Florian.LaRoche@redhat.de> - add prereq init.d and cleanup install section Fri Jun 30 2000 Trond Eivind Glomsrød <teg@redhat.com> - fix the init script Wed Jun 28 2000 Nalin Dahyabhai <nalin@redhat.com> - make libbind.a and nslookup.help readable again by setting INSTALL_LIB to "" Mon Jun 26 2000 Bernhard Rosenkränzer <bero@redhat.com> - Fix up the initscript (Bug #13033) - Fix build with current glibc (Bug #12755) - /etc/rc.d/init.d -> /etc/init.d - use %{_mandir} rather than /usr/share/man Mon Jun 19 2000 Bill Nottingham <notting@redhat.com> - fix conflict with man-pages - remove compatibilty chkconfig links - initscript munging Wed Jun 14 2000 Nalin Dahyabhai <nalin@redhat.com> - modify logrotate setup to use PID file - temporarily disable optimization by unsetting $RPM_OPT_FLAGS at build-time - actually bump the release this time Sun Jun 04 2000 Bernhard Rosenkraenzer <bero@redhat.com> - FHS compliance Mon Apr 17 2000 Nalin Dahyabhai <nalin@redhat.com> - clean up restart patch Mon Apr 10 2000 Nalin Dahyabhai <nalin@redhat.com> - provide /var/named (fix for bugs #9847, #10205) - preserve args when restarted via ndc(8) (bug #10227) - make resolv.conf(5) a link to resolver(5) (bug #10245) - fix SYSTYPE bug in all makefiles - move creation of named user from %post into %pre Mon Feb 28 2000 Bernhard Rosenkränzer <bero@redhat.com> - Fix TTL (patch from ISC, Bug #9820) Wed Feb 16 2000 Bernhard Rosenkränzer <bero@redhat.com> - fix typo in spec (it's %post, without a leading blank) introduced in -6 - change SYSTYPE to linux Fri Feb 11 2000 Bill Nottingham <notting@redhat.com> - pick a standard < 100 uid/gid for named Fri Feb 04 2000 Elliot Lee <sopwith@redhat.com> - Pass named a '-u named' parameter by default, and add/remove user. Thu Feb 03 2000 Bernhard Rosenkraenzer <bero@redhat.com> - fix host mx bug (Bug #9021) Mon Jan 31 2000 Cristian Gafton <gafton@redhat.com> - rebuild to fix dependencies - man pages are compressed Wed Jan 19 2000 Bernhard Rosenkraenzer <bero@redhat.com> - It's /usr/bin/killall, not /usr/sbin/killall (Bug #8063) Mon Jan 17 2000 Bernhard Rosenkraenzer <bero@redhat.com> - Fix up location of named-bootconf.pl and make it executable (Bug #8028) - bind-devel requires bind Mon Nov 15 1999 Bernhard Rosenkraenzer <bero@redhat.com> - update to 8.2.2-P5 Wed Nov 10 1999 Bill Nottingham <notting@redhat.com> - update to 8.2.2-P3 Tue Oct 12 1999 Cristian Gafton <gafton@redhat.com> - add patch to stop a cache only server from complaining about lame servers on every request. Fri Sep 24 1999 Preston Brown <pbrown@redhat.com> - use real stop and start in named.init for restart, not ndc restart, it has problems when named has changed during a package update... (# 4890) Fri Sep 10 1999 Bill Nottingham <notting@redhat.com> - chkconfig --del in %preun, not %postun Mon Aug 16 1999 Bill Nottingham <notting@redhat.com> - initscript munging Mon Jul 26 1999 Bill Nottingham <notting@redhat.com> - fix installed chkconfig links to match init file Sat Jul 03 1999 Jeff Johnson <jbj@redhat.com> - conflict with new (in man-1.24) man pages (#3876,#3877). Tue Jun 29 1999 Bill Nottingham <notting@redhat.com> - fix named.logrotate (wrong %SOURCE) Fri Jun 25 1999 Jeff Johnson <jbj@redhat.com> - update to 8.2.1. - add named.logrotate (#3571). - hack around egcs-1.1.2 -m486 bug (#3413, #3485). - vet file list. Fri Jun 18 1999 Bill Nottingham <notting@redhat.com> - don't run by default Sun May 30 1999 Jeff Johnson <jbj@redhat.com> - nslookup fixes (#2463). - missing files (#3152). Sat May 01 1999 Stepan Kasal <kasal@math.cas.cz> - nslookup patched: to count numRecords properly to fix subsequent calls to ls -d to parse "view" and "finger" commands properly the view hack updated for bind-8 (using sed) Wed Mar 31 1999 Bill Nottingham <notting@redhat.com> - add ISC patch - add quick hack to make host not crash - add more docs Fri Mar 26 1999 Cristian Gafton <gafton@redhat.com> - add probing information in the init file to keep linuxconf happy - dont strip libbind Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> - auto rebuild in the new build environment (release 3) Wed Mar 17 1999 Preston Brown <pbrown@redhat.com> - removed 'done' output at named shutdown. Tue Mar 16 1999 Cristian Gafton <gafton@redhat.com> - version 8.2 Wed Dec 30 1998 Cristian Gafton <gafton@redhat.com> - patch to use the __FDS_BITS macro - build for glibc 2.1 Wed Sep 23 1998 Jeff Johnson <jbj@redhat.com> - change named.restart to /usr/sbin/ndc restart Sat Sep 19 1998 Jeff Johnson <jbj@redhat.com> - install man pages correctly. - change K10named to K45named. Wed Aug 12 1998 Jeff Johnson <jbj@redhat.com> - don't start if /etc/named.conf doesn't exist. Sat Aug 08 1998 Jeff Johnson <jbj@redhat.com> - autmagically create /etc/named.conf from /etc/named.boot in %post - remove echo in %post Wed Jun 10 1998 Jeff Johnson <jbj@redhat.com> - merge in 5.1 mods Sun Apr 12 1998 Manuel J. Galan <manolow@step.es> - Several essential modifications to build and install correctly. - Modified 'ndc' to avoid deprecated use of '-' Mon Dec 22 1997 Scott Lampert <fortunato@heavymetal.org> - Used buildroot - patched bin/named/ns_udp.c to use <libelf/nlist.h> for include on Redhat 5.0 instead of <nlist.h>
2004-09-09 03:29:07 +00:00
RETVAL=$?
[ $RETVAL -eq 0 ] && touch /var/lock/subsys/named
auto-import changelog data from bind-9.2.2.P3-9.src.rpm Fri Oct 17 2003 Daniel Walsh <dwalsh@redhat.com> 9.2.2.P3-9 - Add /var/named/slaves directory Sun Oct 12 2003 Florian La Roche <Florian.LaRoche@redhat.de> - do not link against libnsl, not needed for Linux Wed Oct 08 2003 Daniel Walsh <dwalsh@redhat.com> 9.2.2.P3-6 - Fix local time in log file Tue Oct 07 2003 Daniel Walsh <dwalsh@redhat.com> 9.2.2.P3-5 - Try again Mon Oct 06 2003 Daniel Walsh <dwalsh@redhat.com> 9.2.2.P3-4 - Fix handling of chroot -/dev/random Thu Oct 02 2003 Daniel Walsh <dwalsh@redhat.com> 9.2.2.P3-3 - Stop hammering stuff on update of chroot environment Mon Sep 29 2003 Daniel Walsh <dwalsh@redhat.com> 9.2.2.P3-2 - Fix chroot directory to grab all subdirectories Wed Sep 24 2003 Daniel Walsh <dwalsh@redhat.com> 9.2.2.P3-1 - New patch to support for "delegation-only" Wed Sep 17 2003 Daniel Walsh <dwalsh@redhat.com> 9.2.2-23 - patch support for "delegation-only" Wed Jul 30 2003 Daniel Walsh <dwalsh@redhat.com> 9.2.2-22 - Update to build on RHL Wed Jul 30 2003 Daniel Walsh <dwalsh@redhat.com> 9.2.2-21 - Install libraries as exec so debug info will be pulled Sat Jul 19 2003 Daniel Walsh <dwalsh@redhat.com> 9.2.2-20 - Remove BSDCOMPAT Tue Jul 15 2003 Daniel Walsh <dwalsh@redhat.com> 9.2.2-19 - Update to build on RHL Tue Jul 15 2003 Daniel Walsh <dwalsh@redhat.com> 9.2.2-18 - Change protections on /var/named and /var/chroot/named Tue Jun 17 2003 Daniel Walsh <dwalsh@redhat.com> 9.2.2-17 - Update to build on RHL Tue Jun 17 2003 Daniel Walsh <dwalsh@redhat.com> 9.2.2-16 - Update to build on RHEL Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com> - rebuilt Tue Apr 22 2003 Daniel Walsh <dwalsh@redhat.com> 9.2.2-14 - Update to build on RHEL Tue Apr 22 2003 Daniel Walsh <dwalsh@redhat.com> 9.2.2-13 - Fix config description of named.conf in chroot - Change named.init script to check for existence of /etc/sysconfig/network Fri Apr 18 2003 Daniel Walsh <dwalsh@redhat.com> 9.2.2-12 - Update to build on RHEL Fri Apr 18 2003 Daniel Walsh <dwalsh@redhat.com> 9.2.2-11 - Update to build on RHEL Fri Apr 18 2003 Daniel Walsh <dwalsh@redhat.com> 9.2.2-10 - Fix echo OK on starting/stopping service Fri Mar 28 2003 Daniel Walsh <dwalsh@redhat.com> 9.2.2-9 - Update to build on RHEL Fri Mar 28 2003 Daniel Walsh <dwalsh@redhat.com> 9.2.2-8 - Fix echo on startup Tue Mar 25 2003 Daniel Walsh <dwalsh@redhat.com> 9.2.2-7 - Fix problems with chroot environment - Eliminate posix threads Mon Mar 24 2003 Daniel Walsh <dwalsh@redhat.com> 9.2.2-6 - Fix build problems Fri Mar 14 2003 Daniel Walsh <dwalsh@redhat.com> 9.2.2-5 - Fix build on beehive Thu Mar 13 2003 Daniel Walsh <dwalsh@redhat.com> 9.2.2-4 - build bind-chroot kit Tue Mar 11 2003 Daniel Walsh <dwalsh@redhat.com> 9.2.2-3 - Change configure to use proper threads model Fri Mar 07 2003 Daniel Walsh <dwalsh@redhat.com> 9.2.2-2 - update to 9.2.2 Tue Mar 04 2003 Daniel Walsh <dwalsh@redhat.com> 9.2.2-1 - update to 9.2.2
2004-09-09 03:34:55 +00:00
echo
auto-import changelog data from bind-8.2.2_P5-25.src.rpm Sat Aug 05 2000 Bill Nottingham <notting@redhat.com> - condrestart fixes Tue Jul 18 2000 Nalin Dahyabhai <nalin@redhat.com> - change the init script to take condrestart, not cond-restart - add sh-utils, /bin/cat, perl, /bin/chmod, /usr/sbin/useradd as prereqs for the %pre and %post scripts Sun Jul 16 2000 Bernhard Rosenkraenzer <bero@redhat.com> - Don't prereq /etc/init.d Sat Jul 15 2000 Bill Nottingham <notting@redhat.com> - move initscript back Wed Jul 12 2000 Prospector <bugzilla@redhat.com> - automatic rebuild Sun Jul 09 2000 Florian La Roche <Florian.LaRoche@redhat.de> - add "exit 0" for uninstall case Fri Jul 07 2000 Florian La Roche <Florian.LaRoche@redhat.de> - add prereq init.d and cleanup install section Fri Jun 30 2000 Trond Eivind Glomsrød <teg@redhat.com> - fix the init script Wed Jun 28 2000 Nalin Dahyabhai <nalin@redhat.com> - make libbind.a and nslookup.help readable again by setting INSTALL_LIB to "" Mon Jun 26 2000 Bernhard Rosenkränzer <bero@redhat.com> - Fix up the initscript (Bug #13033) - Fix build with current glibc (Bug #12755) - /etc/rc.d/init.d -> /etc/init.d - use %{_mandir} rather than /usr/share/man Mon Jun 19 2000 Bill Nottingham <notting@redhat.com> - fix conflict with man-pages - remove compatibilty chkconfig links - initscript munging Wed Jun 14 2000 Nalin Dahyabhai <nalin@redhat.com> - modify logrotate setup to use PID file - temporarily disable optimization by unsetting $RPM_OPT_FLAGS at build-time - actually bump the release this time Sun Jun 04 2000 Bernhard Rosenkraenzer <bero@redhat.com> - FHS compliance Mon Apr 17 2000 Nalin Dahyabhai <nalin@redhat.com> - clean up restart patch Mon Apr 10 2000 Nalin Dahyabhai <nalin@redhat.com> - provide /var/named (fix for bugs #9847, #10205) - preserve args when restarted via ndc(8) (bug #10227) - make resolv.conf(5) a link to resolver(5) (bug #10245) - fix SYSTYPE bug in all makefiles - move creation of named user from %post into %pre Mon Feb 28 2000 Bernhard Rosenkränzer <bero@redhat.com> - Fix TTL (patch from ISC, Bug #9820) Wed Feb 16 2000 Bernhard Rosenkränzer <bero@redhat.com> - fix typo in spec (it's %post, without a leading blank) introduced in -6 - change SYSTYPE to linux Fri Feb 11 2000 Bill Nottingham <notting@redhat.com> - pick a standard < 100 uid/gid for named Fri Feb 04 2000 Elliot Lee <sopwith@redhat.com> - Pass named a '-u named' parameter by default, and add/remove user. Thu Feb 03 2000 Bernhard Rosenkraenzer <bero@redhat.com> - fix host mx bug (Bug #9021) Mon Jan 31 2000 Cristian Gafton <gafton@redhat.com> - rebuild to fix dependencies - man pages are compressed Wed Jan 19 2000 Bernhard Rosenkraenzer <bero@redhat.com> - It's /usr/bin/killall, not /usr/sbin/killall (Bug #8063) Mon Jan 17 2000 Bernhard Rosenkraenzer <bero@redhat.com> - Fix up location of named-bootconf.pl and make it executable (Bug #8028) - bind-devel requires bind Mon Nov 15 1999 Bernhard Rosenkraenzer <bero@redhat.com> - update to 8.2.2-P5 Wed Nov 10 1999 Bill Nottingham <notting@redhat.com> - update to 8.2.2-P3 Tue Oct 12 1999 Cristian Gafton <gafton@redhat.com> - add patch to stop a cache only server from complaining about lame servers on every request. Fri Sep 24 1999 Preston Brown <pbrown@redhat.com> - use real stop and start in named.init for restart, not ndc restart, it has problems when named has changed during a package update... (# 4890) Fri Sep 10 1999 Bill Nottingham <notting@redhat.com> - chkconfig --del in %preun, not %postun Mon Aug 16 1999 Bill Nottingham <notting@redhat.com> - initscript munging Mon Jul 26 1999 Bill Nottingham <notting@redhat.com> - fix installed chkconfig links to match init file Sat Jul 03 1999 Jeff Johnson <jbj@redhat.com> - conflict with new (in man-1.24) man pages (#3876,#3877). Tue Jun 29 1999 Bill Nottingham <notting@redhat.com> - fix named.logrotate (wrong %SOURCE) Fri Jun 25 1999 Jeff Johnson <jbj@redhat.com> - update to 8.2.1. - add named.logrotate (#3571). - hack around egcs-1.1.2 -m486 bug (#3413, #3485). - vet file list. Fri Jun 18 1999 Bill Nottingham <notting@redhat.com> - don't run by default Sun May 30 1999 Jeff Johnson <jbj@redhat.com> - nslookup fixes (#2463). - missing files (#3152). Sat May 01 1999 Stepan Kasal <kasal@math.cas.cz> - nslookup patched: to count numRecords properly to fix subsequent calls to ls -d to parse "view" and "finger" commands properly the view hack updated for bind-8 (using sed) Wed Mar 31 1999 Bill Nottingham <notting@redhat.com> - add ISC patch - add quick hack to make host not crash - add more docs Fri Mar 26 1999 Cristian Gafton <gafton@redhat.com> - add probing information in the init file to keep linuxconf happy - dont strip libbind Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> - auto rebuild in the new build environment (release 3) Wed Mar 17 1999 Preston Brown <pbrown@redhat.com> - removed 'done' output at named shutdown. Tue Mar 16 1999 Cristian Gafton <gafton@redhat.com> - version 8.2 Wed Dec 30 1998 Cristian Gafton <gafton@redhat.com> - patch to use the __FDS_BITS macro - build for glibc 2.1 Wed Sep 23 1998 Jeff Johnson <jbj@redhat.com> - change named.restart to /usr/sbin/ndc restart Sat Sep 19 1998 Jeff Johnson <jbj@redhat.com> - install man pages correctly. - change K10named to K45named. Wed Aug 12 1998 Jeff Johnson <jbj@redhat.com> - don't start if /etc/named.conf doesn't exist. Sat Aug 08 1998 Jeff Johnson <jbj@redhat.com> - autmagically create /etc/named.conf from /etc/named.boot in %post - remove echo in %post Wed Jun 10 1998 Jeff Johnson <jbj@redhat.com> - merge in 5.1 mods Sun Apr 12 1998 Manuel J. Galan <manolow@step.es> - Several essential modifications to build and install correctly. - Modified 'ndc' to avoid deprecated use of '-' Mon Dec 22 1997 Scott Lampert <fortunato@heavymetal.org> - Used buildroot - patched bin/named/ns_udp.c to use <libelf/nlist.h> for include on Redhat 5.0 instead of <nlist.h>
2004-09-09 03:29:07 +00:00
return $RETVAL
}
stop() {
# Stop daemons.
auto-import changelog data from bind-9.1.0-10.src.rpm Thu Mar 15 2001 Bernhard Rosenkraenzer <bero@redhat.com> 9.1.0-10 - Merge fixes from 9.1.1rc5 Sun Mar 11 2001 Bernhard Rosenkraenzer <bero@redhat.com> 9.1.0-9 - Work around bind 8 -> bind 9 migration problem when using buggy zone files: accept zones without a TTL, but spew out a big fat warning. (#31393) Thu Mar 08 2001 Bernhard Rosenkraenzer <bero@redhat.com> - Add fixes from rc4 Fri Mar 02 2001 Nalin Dahyabhai <nalin@redhat.com> - rebuild in new environment Thu Mar 01 2001 Bernhard Rosenkraenzer <bero@redhat.com> - killall -HUP named if rndc reload fails (#30113) Tue Feb 27 2001 Bernhard Rosenkraenzer <bero@redhat.com> - Merge some fixes from 9.1.1rc3 Tue Feb 20 2001 Bernhard Rosenkraenzer <bero@redhat.com> - Don't use the standard rndc key from the documentation, instead, create a random one at installation time (#26358) - Make /etc/rndc.conf readable by user named only, it contains secret keys Tue Feb 20 2001 Bernhard Rosenkraenzer <bero@redhat.com> - 9.1.1 probably won't be out in time, revert to 9.1.0 and apply fixes from 9.1.1rc2 - bind requires bind-utils (#28317) Tue Feb 13 2001 Bernhard Rosenkraenzer <bero@redhat.com> - Update to rc2, fixes 2 more bugs - Fix build with glibc >= 2.2.1-7 Thu Feb 08 2001 Bernhard Rosenkraenzer <bero@redhat.com> - Update to 9.1.1rc1; fixes 17 bugs (14 of them affecting us; 1 was fixed in a Red Hat patch already, 2 others are portability improvements) Wed Feb 07 2001 Bernhard Rosenkraenzer <bero@redhat.com> - Remove initscripts 5.54 requirement (#26489) Mon Jan 29 2001 Bernhard Rosenkraenzer <bero@redhat.com> - Add named-checkconf, named-checkzone (#25170) Mon Jan 29 2001 Trond Eivind Glomsrød <teg@redhat.com> - use echo, not gprintf
2004-09-09 03:30:04 +00:00
echo -n $"Stopping $prog: "
/usr/sbin/rndc stop >/dev/null 2>&1
auto-import changelog data from bind-8.2.2_P5-25.src.rpm Sat Aug 05 2000 Bill Nottingham <notting@redhat.com> - condrestart fixes Tue Jul 18 2000 Nalin Dahyabhai <nalin@redhat.com> - change the init script to take condrestart, not cond-restart - add sh-utils, /bin/cat, perl, /bin/chmod, /usr/sbin/useradd as prereqs for the %pre and %post scripts Sun Jul 16 2000 Bernhard Rosenkraenzer <bero@redhat.com> - Don't prereq /etc/init.d Sat Jul 15 2000 Bill Nottingham <notting@redhat.com> - move initscript back Wed Jul 12 2000 Prospector <bugzilla@redhat.com> - automatic rebuild Sun Jul 09 2000 Florian La Roche <Florian.LaRoche@redhat.de> - add "exit 0" for uninstall case Fri Jul 07 2000 Florian La Roche <Florian.LaRoche@redhat.de> - add prereq init.d and cleanup install section Fri Jun 30 2000 Trond Eivind Glomsrød <teg@redhat.com> - fix the init script Wed Jun 28 2000 Nalin Dahyabhai <nalin@redhat.com> - make libbind.a and nslookup.help readable again by setting INSTALL_LIB to "" Mon Jun 26 2000 Bernhard Rosenkränzer <bero@redhat.com> - Fix up the initscript (Bug #13033) - Fix build with current glibc (Bug #12755) - /etc/rc.d/init.d -> /etc/init.d - use %{_mandir} rather than /usr/share/man Mon Jun 19 2000 Bill Nottingham <notting@redhat.com> - fix conflict with man-pages - remove compatibilty chkconfig links - initscript munging Wed Jun 14 2000 Nalin Dahyabhai <nalin@redhat.com> - modify logrotate setup to use PID file - temporarily disable optimization by unsetting $RPM_OPT_FLAGS at build-time - actually bump the release this time Sun Jun 04 2000 Bernhard Rosenkraenzer <bero@redhat.com> - FHS compliance Mon Apr 17 2000 Nalin Dahyabhai <nalin@redhat.com> - clean up restart patch Mon Apr 10 2000 Nalin Dahyabhai <nalin@redhat.com> - provide /var/named (fix for bugs #9847, #10205) - preserve args when restarted via ndc(8) (bug #10227) - make resolv.conf(5) a link to resolver(5) (bug #10245) - fix SYSTYPE bug in all makefiles - move creation of named user from %post into %pre Mon Feb 28 2000 Bernhard Rosenkränzer <bero@redhat.com> - Fix TTL (patch from ISC, Bug #9820) Wed Feb 16 2000 Bernhard Rosenkränzer <bero@redhat.com> - fix typo in spec (it's %post, without a leading blank) introduced in -6 - change SYSTYPE to linux Fri Feb 11 2000 Bill Nottingham <notting@redhat.com> - pick a standard < 100 uid/gid for named Fri Feb 04 2000 Elliot Lee <sopwith@redhat.com> - Pass named a '-u named' parameter by default, and add/remove user. Thu Feb 03 2000 Bernhard Rosenkraenzer <bero@redhat.com> - fix host mx bug (Bug #9021) Mon Jan 31 2000 Cristian Gafton <gafton@redhat.com> - rebuild to fix dependencies - man pages are compressed Wed Jan 19 2000 Bernhard Rosenkraenzer <bero@redhat.com> - It's /usr/bin/killall, not /usr/sbin/killall (Bug #8063) Mon Jan 17 2000 Bernhard Rosenkraenzer <bero@redhat.com> - Fix up location of named-bootconf.pl and make it executable (Bug #8028) - bind-devel requires bind Mon Nov 15 1999 Bernhard Rosenkraenzer <bero@redhat.com> - update to 8.2.2-P5 Wed Nov 10 1999 Bill Nottingham <notting@redhat.com> - update to 8.2.2-P3 Tue Oct 12 1999 Cristian Gafton <gafton@redhat.com> - add patch to stop a cache only server from complaining about lame servers on every request. Fri Sep 24 1999 Preston Brown <pbrown@redhat.com> - use real stop and start in named.init for restart, not ndc restart, it has problems when named has changed during a package update... (# 4890) Fri Sep 10 1999 Bill Nottingham <notting@redhat.com> - chkconfig --del in %preun, not %postun Mon Aug 16 1999 Bill Nottingham <notting@redhat.com> - initscript munging Mon Jul 26 1999 Bill Nottingham <notting@redhat.com> - fix installed chkconfig links to match init file Sat Jul 03 1999 Jeff Johnson <jbj@redhat.com> - conflict with new (in man-1.24) man pages (#3876,#3877). Tue Jun 29 1999 Bill Nottingham <notting@redhat.com> - fix named.logrotate (wrong %SOURCE) Fri Jun 25 1999 Jeff Johnson <jbj@redhat.com> - update to 8.2.1. - add named.logrotate (#3571). - hack around egcs-1.1.2 -m486 bug (#3413, #3485). - vet file list. Fri Jun 18 1999 Bill Nottingham <notting@redhat.com> - don't run by default Sun May 30 1999 Jeff Johnson <jbj@redhat.com> - nslookup fixes (#2463). - missing files (#3152). Sat May 01 1999 Stepan Kasal <kasal@math.cas.cz> - nslookup patched: to count numRecords properly to fix subsequent calls to ls -d to parse "view" and "finger" commands properly the view hack updated for bind-8 (using sed) Wed Mar 31 1999 Bill Nottingham <notting@redhat.com> - add ISC patch - add quick hack to make host not crash - add more docs Fri Mar 26 1999 Cristian Gafton <gafton@redhat.com> - add probing information in the init file to keep linuxconf happy - dont strip libbind Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> - auto rebuild in the new build environment (release 3) Wed Mar 17 1999 Preston Brown <pbrown@redhat.com> - removed 'done' output at named shutdown. Tue Mar 16 1999 Cristian Gafton <gafton@redhat.com> - version 8.2 Wed Dec 30 1998 Cristian Gafton <gafton@redhat.com> - patch to use the __FDS_BITS macro - build for glibc 2.1 Wed Sep 23 1998 Jeff Johnson <jbj@redhat.com> - change named.restart to /usr/sbin/ndc restart Sat Sep 19 1998 Jeff Johnson <jbj@redhat.com> - install man pages correctly. - change K10named to K45named. Wed Aug 12 1998 Jeff Johnson <jbj@redhat.com> - don't start if /etc/named.conf doesn't exist. Sat Aug 08 1998 Jeff Johnson <jbj@redhat.com> - autmagically create /etc/named.conf from /etc/named.boot in %post - remove echo in %post Wed Jun 10 1998 Jeff Johnson <jbj@redhat.com> - merge in 5.1 mods Sun Apr 12 1998 Manuel J. Galan <manolow@step.es> - Several essential modifications to build and install correctly. - Modified 'ndc' to avoid deprecated use of '-' Mon Dec 22 1997 Scott Lampert <fortunato@heavymetal.org> - Used buildroot - patched bin/named/ns_udp.c to use <libelf/nlist.h> for include on Redhat 5.0 instead of <nlist.h>
2004-09-09 03:29:07 +00:00
RETVAL=$?
[ $RETVAL -eq 0 ] && rm -f /var/lock/subsys/named || {
killproc named
RETVAL=$?
[ $RETVAL -eq 0 ] && rm -f /var/lock/subsys/named
auto-import changelog data from bind-9.2.2.P3-9.src.rpm Fri Oct 17 2003 Daniel Walsh <dwalsh@redhat.com> 9.2.2.P3-9 - Add /var/named/slaves directory Sun Oct 12 2003 Florian La Roche <Florian.LaRoche@redhat.de> - do not link against libnsl, not needed for Linux Wed Oct 08 2003 Daniel Walsh <dwalsh@redhat.com> 9.2.2.P3-6 - Fix local time in log file Tue Oct 07 2003 Daniel Walsh <dwalsh@redhat.com> 9.2.2.P3-5 - Try again Mon Oct 06 2003 Daniel Walsh <dwalsh@redhat.com> 9.2.2.P3-4 - Fix handling of chroot -/dev/random Thu Oct 02 2003 Daniel Walsh <dwalsh@redhat.com> 9.2.2.P3-3 - Stop hammering stuff on update of chroot environment Mon Sep 29 2003 Daniel Walsh <dwalsh@redhat.com> 9.2.2.P3-2 - Fix chroot directory to grab all subdirectories Wed Sep 24 2003 Daniel Walsh <dwalsh@redhat.com> 9.2.2.P3-1 - New patch to support for "delegation-only" Wed Sep 17 2003 Daniel Walsh <dwalsh@redhat.com> 9.2.2-23 - patch support for "delegation-only" Wed Jul 30 2003 Daniel Walsh <dwalsh@redhat.com> 9.2.2-22 - Update to build on RHL Wed Jul 30 2003 Daniel Walsh <dwalsh@redhat.com> 9.2.2-21 - Install libraries as exec so debug info will be pulled Sat Jul 19 2003 Daniel Walsh <dwalsh@redhat.com> 9.2.2-20 - Remove BSDCOMPAT Tue Jul 15 2003 Daniel Walsh <dwalsh@redhat.com> 9.2.2-19 - Update to build on RHL Tue Jul 15 2003 Daniel Walsh <dwalsh@redhat.com> 9.2.2-18 - Change protections on /var/named and /var/chroot/named Tue Jun 17 2003 Daniel Walsh <dwalsh@redhat.com> 9.2.2-17 - Update to build on RHL Tue Jun 17 2003 Daniel Walsh <dwalsh@redhat.com> 9.2.2-16 - Update to build on RHEL Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com> - rebuilt Tue Apr 22 2003 Daniel Walsh <dwalsh@redhat.com> 9.2.2-14 - Update to build on RHEL Tue Apr 22 2003 Daniel Walsh <dwalsh@redhat.com> 9.2.2-13 - Fix config description of named.conf in chroot - Change named.init script to check for existence of /etc/sysconfig/network Fri Apr 18 2003 Daniel Walsh <dwalsh@redhat.com> 9.2.2-12 - Update to build on RHEL Fri Apr 18 2003 Daniel Walsh <dwalsh@redhat.com> 9.2.2-11 - Update to build on RHEL Fri Apr 18 2003 Daniel Walsh <dwalsh@redhat.com> 9.2.2-10 - Fix echo OK on starting/stopping service Fri Mar 28 2003 Daniel Walsh <dwalsh@redhat.com> 9.2.2-9 - Update to build on RHEL Fri Mar 28 2003 Daniel Walsh <dwalsh@redhat.com> 9.2.2-8 - Fix echo on startup Tue Mar 25 2003 Daniel Walsh <dwalsh@redhat.com> 9.2.2-7 - Fix problems with chroot environment - Eliminate posix threads Mon Mar 24 2003 Daniel Walsh <dwalsh@redhat.com> 9.2.2-6 - Fix build problems Fri Mar 14 2003 Daniel Walsh <dwalsh@redhat.com> 9.2.2-5 - Fix build on beehive Thu Mar 13 2003 Daniel Walsh <dwalsh@redhat.com> 9.2.2-4 - build bind-chroot kit Tue Mar 11 2003 Daniel Walsh <dwalsh@redhat.com> 9.2.2-3 - Change configure to use proper threads model Fri Mar 07 2003 Daniel Walsh <dwalsh@redhat.com> 9.2.2-2 - update to 9.2.2 Tue Mar 04 2003 Daniel Walsh <dwalsh@redhat.com> 9.2.2-1 - update to 9.2.2
2004-09-09 03:34:55 +00:00
echo
return $RETVAL
}
auto-import changelog data from bind-9.2.2.P3-9.src.rpm Fri Oct 17 2003 Daniel Walsh <dwalsh@redhat.com> 9.2.2.P3-9 - Add /var/named/slaves directory Sun Oct 12 2003 Florian La Roche <Florian.LaRoche@redhat.de> - do not link against libnsl, not needed for Linux Wed Oct 08 2003 Daniel Walsh <dwalsh@redhat.com> 9.2.2.P3-6 - Fix local time in log file Tue Oct 07 2003 Daniel Walsh <dwalsh@redhat.com> 9.2.2.P3-5 - Try again Mon Oct 06 2003 Daniel Walsh <dwalsh@redhat.com> 9.2.2.P3-4 - Fix handling of chroot -/dev/random Thu Oct 02 2003 Daniel Walsh <dwalsh@redhat.com> 9.2.2.P3-3 - Stop hammering stuff on update of chroot environment Mon Sep 29 2003 Daniel Walsh <dwalsh@redhat.com> 9.2.2.P3-2 - Fix chroot directory to grab all subdirectories Wed Sep 24 2003 Daniel Walsh <dwalsh@redhat.com> 9.2.2.P3-1 - New patch to support for "delegation-only" Wed Sep 17 2003 Daniel Walsh <dwalsh@redhat.com> 9.2.2-23 - patch support for "delegation-only" Wed Jul 30 2003 Daniel Walsh <dwalsh@redhat.com> 9.2.2-22 - Update to build on RHL Wed Jul 30 2003 Daniel Walsh <dwalsh@redhat.com> 9.2.2-21 - Install libraries as exec so debug info will be pulled Sat Jul 19 2003 Daniel Walsh <dwalsh@redhat.com> 9.2.2-20 - Remove BSDCOMPAT Tue Jul 15 2003 Daniel Walsh <dwalsh@redhat.com> 9.2.2-19 - Update to build on RHL Tue Jul 15 2003 Daniel Walsh <dwalsh@redhat.com> 9.2.2-18 - Change protections on /var/named and /var/chroot/named Tue Jun 17 2003 Daniel Walsh <dwalsh@redhat.com> 9.2.2-17 - Update to build on RHL Tue Jun 17 2003 Daniel Walsh <dwalsh@redhat.com> 9.2.2-16 - Update to build on RHEL Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com> - rebuilt Tue Apr 22 2003 Daniel Walsh <dwalsh@redhat.com> 9.2.2-14 - Update to build on RHEL Tue Apr 22 2003 Daniel Walsh <dwalsh@redhat.com> 9.2.2-13 - Fix config description of named.conf in chroot - Change named.init script to check for existence of /etc/sysconfig/network Fri Apr 18 2003 Daniel Walsh <dwalsh@redhat.com> 9.2.2-12 - Update to build on RHEL Fri Apr 18 2003 Daniel Walsh <dwalsh@redhat.com> 9.2.2-11 - Update to build on RHEL Fri Apr 18 2003 Daniel Walsh <dwalsh@redhat.com> 9.2.2-10 - Fix echo OK on starting/stopping service Fri Mar 28 2003 Daniel Walsh <dwalsh@redhat.com> 9.2.2-9 - Update to build on RHEL Fri Mar 28 2003 Daniel Walsh <dwalsh@redhat.com> 9.2.2-8 - Fix echo on startup Tue Mar 25 2003 Daniel Walsh <dwalsh@redhat.com> 9.2.2-7 - Fix problems with chroot environment - Eliminate posix threads Mon Mar 24 2003 Daniel Walsh <dwalsh@redhat.com> 9.2.2-6 - Fix build problems Fri Mar 14 2003 Daniel Walsh <dwalsh@redhat.com> 9.2.2-5 - Fix build on beehive Thu Mar 13 2003 Daniel Walsh <dwalsh@redhat.com> 9.2.2-4 - build bind-chroot kit Tue Mar 11 2003 Daniel Walsh <dwalsh@redhat.com> 9.2.2-3 - Change configure to use proper threads model Fri Mar 07 2003 Daniel Walsh <dwalsh@redhat.com> 9.2.2-2 - update to 9.2.2 Tue Mar 04 2003 Daniel Walsh <dwalsh@redhat.com> 9.2.2-1 - update to 9.2.2
2004-09-09 03:34:55 +00:00
success
auto-import changelog data from bind-8.2.2_P5-25.src.rpm Sat Aug 05 2000 Bill Nottingham <notting@redhat.com> - condrestart fixes Tue Jul 18 2000 Nalin Dahyabhai <nalin@redhat.com> - change the init script to take condrestart, not cond-restart - add sh-utils, /bin/cat, perl, /bin/chmod, /usr/sbin/useradd as prereqs for the %pre and %post scripts Sun Jul 16 2000 Bernhard Rosenkraenzer <bero@redhat.com> - Don't prereq /etc/init.d Sat Jul 15 2000 Bill Nottingham <notting@redhat.com> - move initscript back Wed Jul 12 2000 Prospector <bugzilla@redhat.com> - automatic rebuild Sun Jul 09 2000 Florian La Roche <Florian.LaRoche@redhat.de> - add "exit 0" for uninstall case Fri Jul 07 2000 Florian La Roche <Florian.LaRoche@redhat.de> - add prereq init.d and cleanup install section Fri Jun 30 2000 Trond Eivind Glomsrød <teg@redhat.com> - fix the init script Wed Jun 28 2000 Nalin Dahyabhai <nalin@redhat.com> - make libbind.a and nslookup.help readable again by setting INSTALL_LIB to "" Mon Jun 26 2000 Bernhard Rosenkränzer <bero@redhat.com> - Fix up the initscript (Bug #13033) - Fix build with current glibc (Bug #12755) - /etc/rc.d/init.d -> /etc/init.d - use %{_mandir} rather than /usr/share/man Mon Jun 19 2000 Bill Nottingham <notting@redhat.com> - fix conflict with man-pages - remove compatibilty chkconfig links - initscript munging Wed Jun 14 2000 Nalin Dahyabhai <nalin@redhat.com> - modify logrotate setup to use PID file - temporarily disable optimization by unsetting $RPM_OPT_FLAGS at build-time - actually bump the release this time Sun Jun 04 2000 Bernhard Rosenkraenzer <bero@redhat.com> - FHS compliance Mon Apr 17 2000 Nalin Dahyabhai <nalin@redhat.com> - clean up restart patch Mon Apr 10 2000 Nalin Dahyabhai <nalin@redhat.com> - provide /var/named (fix for bugs #9847, #10205) - preserve args when restarted via ndc(8) (bug #10227) - make resolv.conf(5) a link to resolver(5) (bug #10245) - fix SYSTYPE bug in all makefiles - move creation of named user from %post into %pre Mon Feb 28 2000 Bernhard Rosenkränzer <bero@redhat.com> - Fix TTL (patch from ISC, Bug #9820) Wed Feb 16 2000 Bernhard Rosenkränzer <bero@redhat.com> - fix typo in spec (it's %post, without a leading blank) introduced in -6 - change SYSTYPE to linux Fri Feb 11 2000 Bill Nottingham <notting@redhat.com> - pick a standard < 100 uid/gid for named Fri Feb 04 2000 Elliot Lee <sopwith@redhat.com> - Pass named a '-u named' parameter by default, and add/remove user. Thu Feb 03 2000 Bernhard Rosenkraenzer <bero@redhat.com> - fix host mx bug (Bug #9021) Mon Jan 31 2000 Cristian Gafton <gafton@redhat.com> - rebuild to fix dependencies - man pages are compressed Wed Jan 19 2000 Bernhard Rosenkraenzer <bero@redhat.com> - It's /usr/bin/killall, not /usr/sbin/killall (Bug #8063) Mon Jan 17 2000 Bernhard Rosenkraenzer <bero@redhat.com> - Fix up location of named-bootconf.pl and make it executable (Bug #8028) - bind-devel requires bind Mon Nov 15 1999 Bernhard Rosenkraenzer <bero@redhat.com> - update to 8.2.2-P5 Wed Nov 10 1999 Bill Nottingham <notting@redhat.com> - update to 8.2.2-P3 Tue Oct 12 1999 Cristian Gafton <gafton@redhat.com> - add patch to stop a cache only server from complaining about lame servers on every request. Fri Sep 24 1999 Preston Brown <pbrown@redhat.com> - use real stop and start in named.init for restart, not ndc restart, it has problems when named has changed during a package update... (# 4890) Fri Sep 10 1999 Bill Nottingham <notting@redhat.com> - chkconfig --del in %preun, not %postun Mon Aug 16 1999 Bill Nottingham <notting@redhat.com> - initscript munging Mon Jul 26 1999 Bill Nottingham <notting@redhat.com> - fix installed chkconfig links to match init file Sat Jul 03 1999 Jeff Johnson <jbj@redhat.com> - conflict with new (in man-1.24) man pages (#3876,#3877). Tue Jun 29 1999 Bill Nottingham <notting@redhat.com> - fix named.logrotate (wrong %SOURCE) Fri Jun 25 1999 Jeff Johnson <jbj@redhat.com> - update to 8.2.1. - add named.logrotate (#3571). - hack around egcs-1.1.2 -m486 bug (#3413, #3485). - vet file list. Fri Jun 18 1999 Bill Nottingham <notting@redhat.com> - don't run by default Sun May 30 1999 Jeff Johnson <jbj@redhat.com> - nslookup fixes (#2463). - missing files (#3152). Sat May 01 1999 Stepan Kasal <kasal@math.cas.cz> - nslookup patched: to count numRecords properly to fix subsequent calls to ls -d to parse "view" and "finger" commands properly the view hack updated for bind-8 (using sed) Wed Mar 31 1999 Bill Nottingham <notting@redhat.com> - add ISC patch - add quick hack to make host not crash - add more docs Fri Mar 26 1999 Cristian Gafton <gafton@redhat.com> - add probing information in the init file to keep linuxconf happy - dont strip libbind Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> - auto rebuild in the new build environment (release 3) Wed Mar 17 1999 Preston Brown <pbrown@redhat.com> - removed 'done' output at named shutdown. Tue Mar 16 1999 Cristian Gafton <gafton@redhat.com> - version 8.2 Wed Dec 30 1998 Cristian Gafton <gafton@redhat.com> - patch to use the __FDS_BITS macro - build for glibc 2.1 Wed Sep 23 1998 Jeff Johnson <jbj@redhat.com> - change named.restart to /usr/sbin/ndc restart Sat Sep 19 1998 Jeff Johnson <jbj@redhat.com> - install man pages correctly. - change K10named to K45named. Wed Aug 12 1998 Jeff Johnson <jbj@redhat.com> - don't start if /etc/named.conf doesn't exist. Sat Aug 08 1998 Jeff Johnson <jbj@redhat.com> - autmagically create /etc/named.conf from /etc/named.boot in %post - remove echo in %post Wed Jun 10 1998 Jeff Johnson <jbj@redhat.com> - merge in 5.1 mods Sun Apr 12 1998 Manuel J. Galan <manolow@step.es> - Several essential modifications to build and install correctly. - Modified 'ndc' to avoid deprecated use of '-' Mon Dec 22 1997 Scott Lampert <fortunato@heavymetal.org> - Used buildroot - patched bin/named/ns_udp.c to use <libelf/nlist.h> for include on Redhat 5.0 instead of <nlist.h>
2004-09-09 03:29:07 +00:00
echo
return $RETVAL
}
rhstatus() {
/usr/sbin/rndc status
return $?
auto-import changelog data from bind-8.2.2_P5-25.src.rpm Sat Aug 05 2000 Bill Nottingham <notting@redhat.com> - condrestart fixes Tue Jul 18 2000 Nalin Dahyabhai <nalin@redhat.com> - change the init script to take condrestart, not cond-restart - add sh-utils, /bin/cat, perl, /bin/chmod, /usr/sbin/useradd as prereqs for the %pre and %post scripts Sun Jul 16 2000 Bernhard Rosenkraenzer <bero@redhat.com> - Don't prereq /etc/init.d Sat Jul 15 2000 Bill Nottingham <notting@redhat.com> - move initscript back Wed Jul 12 2000 Prospector <bugzilla@redhat.com> - automatic rebuild Sun Jul 09 2000 Florian La Roche <Florian.LaRoche@redhat.de> - add "exit 0" for uninstall case Fri Jul 07 2000 Florian La Roche <Florian.LaRoche@redhat.de> - add prereq init.d and cleanup install section Fri Jun 30 2000 Trond Eivind Glomsrød <teg@redhat.com> - fix the init script Wed Jun 28 2000 Nalin Dahyabhai <nalin@redhat.com> - make libbind.a and nslookup.help readable again by setting INSTALL_LIB to "" Mon Jun 26 2000 Bernhard Rosenkränzer <bero@redhat.com> - Fix up the initscript (Bug #13033) - Fix build with current glibc (Bug #12755) - /etc/rc.d/init.d -> /etc/init.d - use %{_mandir} rather than /usr/share/man Mon Jun 19 2000 Bill Nottingham <notting@redhat.com> - fix conflict with man-pages - remove compatibilty chkconfig links - initscript munging Wed Jun 14 2000 Nalin Dahyabhai <nalin@redhat.com> - modify logrotate setup to use PID file - temporarily disable optimization by unsetting $RPM_OPT_FLAGS at build-time - actually bump the release this time Sun Jun 04 2000 Bernhard Rosenkraenzer <bero@redhat.com> - FHS compliance Mon Apr 17 2000 Nalin Dahyabhai <nalin@redhat.com> - clean up restart patch Mon Apr 10 2000 Nalin Dahyabhai <nalin@redhat.com> - provide /var/named (fix for bugs #9847, #10205) - preserve args when restarted via ndc(8) (bug #10227) - make resolv.conf(5) a link to resolver(5) (bug #10245) - fix SYSTYPE bug in all makefiles - move creation of named user from %post into %pre Mon Feb 28 2000 Bernhard Rosenkränzer <bero@redhat.com> - Fix TTL (patch from ISC, Bug #9820) Wed Feb 16 2000 Bernhard Rosenkränzer <bero@redhat.com> - fix typo in spec (it's %post, without a leading blank) introduced in -6 - change SYSTYPE to linux Fri Feb 11 2000 Bill Nottingham <notting@redhat.com> - pick a standard < 100 uid/gid for named Fri Feb 04 2000 Elliot Lee <sopwith@redhat.com> - Pass named a '-u named' parameter by default, and add/remove user. Thu Feb 03 2000 Bernhard Rosenkraenzer <bero@redhat.com> - fix host mx bug (Bug #9021) Mon Jan 31 2000 Cristian Gafton <gafton@redhat.com> - rebuild to fix dependencies - man pages are compressed Wed Jan 19 2000 Bernhard Rosenkraenzer <bero@redhat.com> - It's /usr/bin/killall, not /usr/sbin/killall (Bug #8063) Mon Jan 17 2000 Bernhard Rosenkraenzer <bero@redhat.com> - Fix up location of named-bootconf.pl and make it executable (Bug #8028) - bind-devel requires bind Mon Nov 15 1999 Bernhard Rosenkraenzer <bero@redhat.com> - update to 8.2.2-P5 Wed Nov 10 1999 Bill Nottingham <notting@redhat.com> - update to 8.2.2-P3 Tue Oct 12 1999 Cristian Gafton <gafton@redhat.com> - add patch to stop a cache only server from complaining about lame servers on every request. Fri Sep 24 1999 Preston Brown <pbrown@redhat.com> - use real stop and start in named.init for restart, not ndc restart, it has problems when named has changed during a package update... (# 4890) Fri Sep 10 1999 Bill Nottingham <notting@redhat.com> - chkconfig --del in %preun, not %postun Mon Aug 16 1999 Bill Nottingham <notting@redhat.com> - initscript munging Mon Jul 26 1999 Bill Nottingham <notting@redhat.com> - fix installed chkconfig links to match init file Sat Jul 03 1999 Jeff Johnson <jbj@redhat.com> - conflict with new (in man-1.24) man pages (#3876,#3877). Tue Jun 29 1999 Bill Nottingham <notting@redhat.com> - fix named.logrotate (wrong %SOURCE) Fri Jun 25 1999 Jeff Johnson <jbj@redhat.com> - update to 8.2.1. - add named.logrotate (#3571). - hack around egcs-1.1.2 -m486 bug (#3413, #3485). - vet file list. Fri Jun 18 1999 Bill Nottingham <notting@redhat.com> - don't run by default Sun May 30 1999 Jeff Johnson <jbj@redhat.com> - nslookup fixes (#2463). - missing files (#3152). Sat May 01 1999 Stepan Kasal <kasal@math.cas.cz> - nslookup patched: to count numRecords properly to fix subsequent calls to ls -d to parse "view" and "finger" commands properly the view hack updated for bind-8 (using sed) Wed Mar 31 1999 Bill Nottingham <notting@redhat.com> - add ISC patch - add quick hack to make host not crash - add more docs Fri Mar 26 1999 Cristian Gafton <gafton@redhat.com> - add probing information in the init file to keep linuxconf happy - dont strip libbind Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> - auto rebuild in the new build environment (release 3) Wed Mar 17 1999 Preston Brown <pbrown@redhat.com> - removed 'done' output at named shutdown. Tue Mar 16 1999 Cristian Gafton <gafton@redhat.com> - version 8.2 Wed Dec 30 1998 Cristian Gafton <gafton@redhat.com> - patch to use the __FDS_BITS macro - build for glibc 2.1 Wed Sep 23 1998 Jeff Johnson <jbj@redhat.com> - change named.restart to /usr/sbin/ndc restart Sat Sep 19 1998 Jeff Johnson <jbj@redhat.com> - install man pages correctly. - change K10named to K45named. Wed Aug 12 1998 Jeff Johnson <jbj@redhat.com> - don't start if /etc/named.conf doesn't exist. Sat Aug 08 1998 Jeff Johnson <jbj@redhat.com> - autmagically create /etc/named.conf from /etc/named.boot in %post - remove echo in %post Wed Jun 10 1998 Jeff Johnson <jbj@redhat.com> - merge in 5.1 mods Sun Apr 12 1998 Manuel J. Galan <manolow@step.es> - Several essential modifications to build and install correctly. - Modified 'ndc' to avoid deprecated use of '-' Mon Dec 22 1997 Scott Lampert <fortunato@heavymetal.org> - Used buildroot - patched bin/named/ns_udp.c to use <libelf/nlist.h> for include on Redhat 5.0 instead of <nlist.h>
2004-09-09 03:29:07 +00:00
}
restart() {
stop
# wait a couple of seconds for the named to finish closing down
sleep 2
auto-import changelog data from bind-8.2.2_P5-25.src.rpm Sat Aug 05 2000 Bill Nottingham <notting@redhat.com> - condrestart fixes Tue Jul 18 2000 Nalin Dahyabhai <nalin@redhat.com> - change the init script to take condrestart, not cond-restart - add sh-utils, /bin/cat, perl, /bin/chmod, /usr/sbin/useradd as prereqs for the %pre and %post scripts Sun Jul 16 2000 Bernhard Rosenkraenzer <bero@redhat.com> - Don't prereq /etc/init.d Sat Jul 15 2000 Bill Nottingham <notting@redhat.com> - move initscript back Wed Jul 12 2000 Prospector <bugzilla@redhat.com> - automatic rebuild Sun Jul 09 2000 Florian La Roche <Florian.LaRoche@redhat.de> - add "exit 0" for uninstall case Fri Jul 07 2000 Florian La Roche <Florian.LaRoche@redhat.de> - add prereq init.d and cleanup install section Fri Jun 30 2000 Trond Eivind Glomsrød <teg@redhat.com> - fix the init script Wed Jun 28 2000 Nalin Dahyabhai <nalin@redhat.com> - make libbind.a and nslookup.help readable again by setting INSTALL_LIB to "" Mon Jun 26 2000 Bernhard Rosenkränzer <bero@redhat.com> - Fix up the initscript (Bug #13033) - Fix build with current glibc (Bug #12755) - /etc/rc.d/init.d -> /etc/init.d - use %{_mandir} rather than /usr/share/man Mon Jun 19 2000 Bill Nottingham <notting@redhat.com> - fix conflict with man-pages - remove compatibilty chkconfig links - initscript munging Wed Jun 14 2000 Nalin Dahyabhai <nalin@redhat.com> - modify logrotate setup to use PID file - temporarily disable optimization by unsetting $RPM_OPT_FLAGS at build-time - actually bump the release this time Sun Jun 04 2000 Bernhard Rosenkraenzer <bero@redhat.com> - FHS compliance Mon Apr 17 2000 Nalin Dahyabhai <nalin@redhat.com> - clean up restart patch Mon Apr 10 2000 Nalin Dahyabhai <nalin@redhat.com> - provide /var/named (fix for bugs #9847, #10205) - preserve args when restarted via ndc(8) (bug #10227) - make resolv.conf(5) a link to resolver(5) (bug #10245) - fix SYSTYPE bug in all makefiles - move creation of named user from %post into %pre Mon Feb 28 2000 Bernhard Rosenkränzer <bero@redhat.com> - Fix TTL (patch from ISC, Bug #9820) Wed Feb 16 2000 Bernhard Rosenkränzer <bero@redhat.com> - fix typo in spec (it's %post, without a leading blank) introduced in -6 - change SYSTYPE to linux Fri Feb 11 2000 Bill Nottingham <notting@redhat.com> - pick a standard < 100 uid/gid for named Fri Feb 04 2000 Elliot Lee <sopwith@redhat.com> - Pass named a '-u named' parameter by default, and add/remove user. Thu Feb 03 2000 Bernhard Rosenkraenzer <bero@redhat.com> - fix host mx bug (Bug #9021) Mon Jan 31 2000 Cristian Gafton <gafton@redhat.com> - rebuild to fix dependencies - man pages are compressed Wed Jan 19 2000 Bernhard Rosenkraenzer <bero@redhat.com> - It's /usr/bin/killall, not /usr/sbin/killall (Bug #8063) Mon Jan 17 2000 Bernhard Rosenkraenzer <bero@redhat.com> - Fix up location of named-bootconf.pl and make it executable (Bug #8028) - bind-devel requires bind Mon Nov 15 1999 Bernhard Rosenkraenzer <bero@redhat.com> - update to 8.2.2-P5 Wed Nov 10 1999 Bill Nottingham <notting@redhat.com> - update to 8.2.2-P3 Tue Oct 12 1999 Cristian Gafton <gafton@redhat.com> - add patch to stop a cache only server from complaining about lame servers on every request. Fri Sep 24 1999 Preston Brown <pbrown@redhat.com> - use real stop and start in named.init for restart, not ndc restart, it has problems when named has changed during a package update... (# 4890) Fri Sep 10 1999 Bill Nottingham <notting@redhat.com> - chkconfig --del in %preun, not %postun Mon Aug 16 1999 Bill Nottingham <notting@redhat.com> - initscript munging Mon Jul 26 1999 Bill Nottingham <notting@redhat.com> - fix installed chkconfig links to match init file Sat Jul 03 1999 Jeff Johnson <jbj@redhat.com> - conflict with new (in man-1.24) man pages (#3876,#3877). Tue Jun 29 1999 Bill Nottingham <notting@redhat.com> - fix named.logrotate (wrong %SOURCE) Fri Jun 25 1999 Jeff Johnson <jbj@redhat.com> - update to 8.2.1. - add named.logrotate (#3571). - hack around egcs-1.1.2 -m486 bug (#3413, #3485). - vet file list. Fri Jun 18 1999 Bill Nottingham <notting@redhat.com> - don't run by default Sun May 30 1999 Jeff Johnson <jbj@redhat.com> - nslookup fixes (#2463). - missing files (#3152). Sat May 01 1999 Stepan Kasal <kasal@math.cas.cz> - nslookup patched: to count numRecords properly to fix subsequent calls to ls -d to parse "view" and "finger" commands properly the view hack updated for bind-8 (using sed) Wed Mar 31 1999 Bill Nottingham <notting@redhat.com> - add ISC patch - add quick hack to make host not crash - add more docs Fri Mar 26 1999 Cristian Gafton <gafton@redhat.com> - add probing information in the init file to keep linuxconf happy - dont strip libbind Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> - auto rebuild in the new build environment (release 3) Wed Mar 17 1999 Preston Brown <pbrown@redhat.com> - removed 'done' output at named shutdown. Tue Mar 16 1999 Cristian Gafton <gafton@redhat.com> - version 8.2 Wed Dec 30 1998 Cristian Gafton <gafton@redhat.com> - patch to use the __FDS_BITS macro - build for glibc 2.1 Wed Sep 23 1998 Jeff Johnson <jbj@redhat.com> - change named.restart to /usr/sbin/ndc restart Sat Sep 19 1998 Jeff Johnson <jbj@redhat.com> - install man pages correctly. - change K10named to K45named. Wed Aug 12 1998 Jeff Johnson <jbj@redhat.com> - don't start if /etc/named.conf doesn't exist. Sat Aug 08 1998 Jeff Johnson <jbj@redhat.com> - autmagically create /etc/named.conf from /etc/named.boot in %post - remove echo in %post Wed Jun 10 1998 Jeff Johnson <jbj@redhat.com> - merge in 5.1 mods Sun Apr 12 1998 Manuel J. Galan <manolow@step.es> - Several essential modifications to build and install correctly. - Modified 'ndc' to avoid deprecated use of '-' Mon Dec 22 1997 Scott Lampert <fortunato@heavymetal.org> - Used buildroot - patched bin/named/ns_udp.c to use <libelf/nlist.h> for include on Redhat 5.0 instead of <nlist.h>
2004-09-09 03:29:07 +00:00
start
}
reload() {
echo -n $"Reloading $prog: "
p=`/sbin/pidof -o %PPID named`
RETVAL=$?
if [ "$RETVAL" -eq 0 ]; then
/usr/sbin/rndc reload >/dev/null 2>&1 || /usr/bin/kill -HUP $p;
RETVAL=$?
fi
[ "$RETVAL" -eq 0 ] && success $"$prog reload" || failure $"$prog reload"
echo
auto-import changelog data from bind-8.2.2_P5-25.src.rpm Sat Aug 05 2000 Bill Nottingham <notting@redhat.com> - condrestart fixes Tue Jul 18 2000 Nalin Dahyabhai <nalin@redhat.com> - change the init script to take condrestart, not cond-restart - add sh-utils, /bin/cat, perl, /bin/chmod, /usr/sbin/useradd as prereqs for the %pre and %post scripts Sun Jul 16 2000 Bernhard Rosenkraenzer <bero@redhat.com> - Don't prereq /etc/init.d Sat Jul 15 2000 Bill Nottingham <notting@redhat.com> - move initscript back Wed Jul 12 2000 Prospector <bugzilla@redhat.com> - automatic rebuild Sun Jul 09 2000 Florian La Roche <Florian.LaRoche@redhat.de> - add "exit 0" for uninstall case Fri Jul 07 2000 Florian La Roche <Florian.LaRoche@redhat.de> - add prereq init.d and cleanup install section Fri Jun 30 2000 Trond Eivind Glomsrød <teg@redhat.com> - fix the init script Wed Jun 28 2000 Nalin Dahyabhai <nalin@redhat.com> - make libbind.a and nslookup.help readable again by setting INSTALL_LIB to "" Mon Jun 26 2000 Bernhard Rosenkränzer <bero@redhat.com> - Fix up the initscript (Bug #13033) - Fix build with current glibc (Bug #12755) - /etc/rc.d/init.d -> /etc/init.d - use %{_mandir} rather than /usr/share/man Mon Jun 19 2000 Bill Nottingham <notting@redhat.com> - fix conflict with man-pages - remove compatibilty chkconfig links - initscript munging Wed Jun 14 2000 Nalin Dahyabhai <nalin@redhat.com> - modify logrotate setup to use PID file - temporarily disable optimization by unsetting $RPM_OPT_FLAGS at build-time - actually bump the release this time Sun Jun 04 2000 Bernhard Rosenkraenzer <bero@redhat.com> - FHS compliance Mon Apr 17 2000 Nalin Dahyabhai <nalin@redhat.com> - clean up restart patch Mon Apr 10 2000 Nalin Dahyabhai <nalin@redhat.com> - provide /var/named (fix for bugs #9847, #10205) - preserve args when restarted via ndc(8) (bug #10227) - make resolv.conf(5) a link to resolver(5) (bug #10245) - fix SYSTYPE bug in all makefiles - move creation of named user from %post into %pre Mon Feb 28 2000 Bernhard Rosenkränzer <bero@redhat.com> - Fix TTL (patch from ISC, Bug #9820) Wed Feb 16 2000 Bernhard Rosenkränzer <bero@redhat.com> - fix typo in spec (it's %post, without a leading blank) introduced in -6 - change SYSTYPE to linux Fri Feb 11 2000 Bill Nottingham <notting@redhat.com> - pick a standard < 100 uid/gid for named Fri Feb 04 2000 Elliot Lee <sopwith@redhat.com> - Pass named a '-u named' parameter by default, and add/remove user. Thu Feb 03 2000 Bernhard Rosenkraenzer <bero@redhat.com> - fix host mx bug (Bug #9021) Mon Jan 31 2000 Cristian Gafton <gafton@redhat.com> - rebuild to fix dependencies - man pages are compressed Wed Jan 19 2000 Bernhard Rosenkraenzer <bero@redhat.com> - It's /usr/bin/killall, not /usr/sbin/killall (Bug #8063) Mon Jan 17 2000 Bernhard Rosenkraenzer <bero@redhat.com> - Fix up location of named-bootconf.pl and make it executable (Bug #8028) - bind-devel requires bind Mon Nov 15 1999 Bernhard Rosenkraenzer <bero@redhat.com> - update to 8.2.2-P5 Wed Nov 10 1999 Bill Nottingham <notting@redhat.com> - update to 8.2.2-P3 Tue Oct 12 1999 Cristian Gafton <gafton@redhat.com> - add patch to stop a cache only server from complaining about lame servers on every request. Fri Sep 24 1999 Preston Brown <pbrown@redhat.com> - use real stop and start in named.init for restart, not ndc restart, it has problems when named has changed during a package update... (# 4890) Fri Sep 10 1999 Bill Nottingham <notting@redhat.com> - chkconfig --del in %preun, not %postun Mon Aug 16 1999 Bill Nottingham <notting@redhat.com> - initscript munging Mon Jul 26 1999 Bill Nottingham <notting@redhat.com> - fix installed chkconfig links to match init file Sat Jul 03 1999 Jeff Johnson <jbj@redhat.com> - conflict with new (in man-1.24) man pages (#3876,#3877). Tue Jun 29 1999 Bill Nottingham <notting@redhat.com> - fix named.logrotate (wrong %SOURCE) Fri Jun 25 1999 Jeff Johnson <jbj@redhat.com> - update to 8.2.1. - add named.logrotate (#3571). - hack around egcs-1.1.2 -m486 bug (#3413, #3485). - vet file list. Fri Jun 18 1999 Bill Nottingham <notting@redhat.com> - don't run by default Sun May 30 1999 Jeff Johnson <jbj@redhat.com> - nslookup fixes (#2463). - missing files (#3152). Sat May 01 1999 Stepan Kasal <kasal@math.cas.cz> - nslookup patched: to count numRecords properly to fix subsequent calls to ls -d to parse "view" and "finger" commands properly the view hack updated for bind-8 (using sed) Wed Mar 31 1999 Bill Nottingham <notting@redhat.com> - add ISC patch - add quick hack to make host not crash - add more docs Fri Mar 26 1999 Cristian Gafton <gafton@redhat.com> - add probing information in the init file to keep linuxconf happy - dont strip libbind Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> - auto rebuild in the new build environment (release 3) Wed Mar 17 1999 Preston Brown <pbrown@redhat.com> - removed 'done' output at named shutdown. Tue Mar 16 1999 Cristian Gafton <gafton@redhat.com> - version 8.2 Wed Dec 30 1998 Cristian Gafton <gafton@redhat.com> - patch to use the __FDS_BITS macro - build for glibc 2.1 Wed Sep 23 1998 Jeff Johnson <jbj@redhat.com> - change named.restart to /usr/sbin/ndc restart Sat Sep 19 1998 Jeff Johnson <jbj@redhat.com> - install man pages correctly. - change K10named to K45named. Wed Aug 12 1998 Jeff Johnson <jbj@redhat.com> - don't start if /etc/named.conf doesn't exist. Sat Aug 08 1998 Jeff Johnson <jbj@redhat.com> - autmagically create /etc/named.conf from /etc/named.boot in %post - remove echo in %post Wed Jun 10 1998 Jeff Johnson <jbj@redhat.com> - merge in 5.1 mods Sun Apr 12 1998 Manuel J. Galan <manolow@step.es> - Several essential modifications to build and install correctly. - Modified 'ndc' to avoid deprecated use of '-' Mon Dec 22 1997 Scott Lampert <fortunato@heavymetal.org> - Used buildroot - patched bin/named/ns_udp.c to use <libelf/nlist.h> for include on Redhat 5.0 instead of <nlist.h>
2004-09-09 03:29:07 +00:00
return $?
}
probe() {
# named knows how to reload intelligently; we don't want linuxconf
# to offer to restart every time
auto-import changelog data from bind-9.1.0-10.src.rpm Thu Mar 15 2001 Bernhard Rosenkraenzer <bero@redhat.com> 9.1.0-10 - Merge fixes from 9.1.1rc5 Sun Mar 11 2001 Bernhard Rosenkraenzer <bero@redhat.com> 9.1.0-9 - Work around bind 8 -> bind 9 migration problem when using buggy zone files: accept zones without a TTL, but spew out a big fat warning. (#31393) Thu Mar 08 2001 Bernhard Rosenkraenzer <bero@redhat.com> - Add fixes from rc4 Fri Mar 02 2001 Nalin Dahyabhai <nalin@redhat.com> - rebuild in new environment Thu Mar 01 2001 Bernhard Rosenkraenzer <bero@redhat.com> - killall -HUP named if rndc reload fails (#30113) Tue Feb 27 2001 Bernhard Rosenkraenzer <bero@redhat.com> - Merge some fixes from 9.1.1rc3 Tue Feb 20 2001 Bernhard Rosenkraenzer <bero@redhat.com> - Don't use the standard rndc key from the documentation, instead, create a random one at installation time (#26358) - Make /etc/rndc.conf readable by user named only, it contains secret keys Tue Feb 20 2001 Bernhard Rosenkraenzer <bero@redhat.com> - 9.1.1 probably won't be out in time, revert to 9.1.0 and apply fixes from 9.1.1rc2 - bind requires bind-utils (#28317) Tue Feb 13 2001 Bernhard Rosenkraenzer <bero@redhat.com> - Update to rc2, fixes 2 more bugs - Fix build with glibc >= 2.2.1-7 Thu Feb 08 2001 Bernhard Rosenkraenzer <bero@redhat.com> - Update to 9.1.1rc1; fixes 17 bugs (14 of them affecting us; 1 was fixed in a Red Hat patch already, 2 others are portability improvements) Wed Feb 07 2001 Bernhard Rosenkraenzer <bero@redhat.com> - Remove initscripts 5.54 requirement (#26489) Mon Jan 29 2001 Bernhard Rosenkraenzer <bero@redhat.com> - Add named-checkconf, named-checkzone (#25170) Mon Jan 29 2001 Trond Eivind Glomsrød <teg@redhat.com> - use echo, not gprintf
2004-09-09 03:30:04 +00:00
/usr/sbin/rndc reload >/dev/null 2>&1 || echo start
auto-import changelog data from bind-8.2.2_P5-25.src.rpm Sat Aug 05 2000 Bill Nottingham <notting@redhat.com> - condrestart fixes Tue Jul 18 2000 Nalin Dahyabhai <nalin@redhat.com> - change the init script to take condrestart, not cond-restart - add sh-utils, /bin/cat, perl, /bin/chmod, /usr/sbin/useradd as prereqs for the %pre and %post scripts Sun Jul 16 2000 Bernhard Rosenkraenzer <bero@redhat.com> - Don't prereq /etc/init.d Sat Jul 15 2000 Bill Nottingham <notting@redhat.com> - move initscript back Wed Jul 12 2000 Prospector <bugzilla@redhat.com> - automatic rebuild Sun Jul 09 2000 Florian La Roche <Florian.LaRoche@redhat.de> - add "exit 0" for uninstall case Fri Jul 07 2000 Florian La Roche <Florian.LaRoche@redhat.de> - add prereq init.d and cleanup install section Fri Jun 30 2000 Trond Eivind Glomsrød <teg@redhat.com> - fix the init script Wed Jun 28 2000 Nalin Dahyabhai <nalin@redhat.com> - make libbind.a and nslookup.help readable again by setting INSTALL_LIB to "" Mon Jun 26 2000 Bernhard Rosenkränzer <bero@redhat.com> - Fix up the initscript (Bug #13033) - Fix build with current glibc (Bug #12755) - /etc/rc.d/init.d -> /etc/init.d - use %{_mandir} rather than /usr/share/man Mon Jun 19 2000 Bill Nottingham <notting@redhat.com> - fix conflict with man-pages - remove compatibilty chkconfig links - initscript munging Wed Jun 14 2000 Nalin Dahyabhai <nalin@redhat.com> - modify logrotate setup to use PID file - temporarily disable optimization by unsetting $RPM_OPT_FLAGS at build-time - actually bump the release this time Sun Jun 04 2000 Bernhard Rosenkraenzer <bero@redhat.com> - FHS compliance Mon Apr 17 2000 Nalin Dahyabhai <nalin@redhat.com> - clean up restart patch Mon Apr 10 2000 Nalin Dahyabhai <nalin@redhat.com> - provide /var/named (fix for bugs #9847, #10205) - preserve args when restarted via ndc(8) (bug #10227) - make resolv.conf(5) a link to resolver(5) (bug #10245) - fix SYSTYPE bug in all makefiles - move creation of named user from %post into %pre Mon Feb 28 2000 Bernhard Rosenkränzer <bero@redhat.com> - Fix TTL (patch from ISC, Bug #9820) Wed Feb 16 2000 Bernhard Rosenkränzer <bero@redhat.com> - fix typo in spec (it's %post, without a leading blank) introduced in -6 - change SYSTYPE to linux Fri Feb 11 2000 Bill Nottingham <notting@redhat.com> - pick a standard < 100 uid/gid for named Fri Feb 04 2000 Elliot Lee <sopwith@redhat.com> - Pass named a '-u named' parameter by default, and add/remove user. Thu Feb 03 2000 Bernhard Rosenkraenzer <bero@redhat.com> - fix host mx bug (Bug #9021) Mon Jan 31 2000 Cristian Gafton <gafton@redhat.com> - rebuild to fix dependencies - man pages are compressed Wed Jan 19 2000 Bernhard Rosenkraenzer <bero@redhat.com> - It's /usr/bin/killall, not /usr/sbin/killall (Bug #8063) Mon Jan 17 2000 Bernhard Rosenkraenzer <bero@redhat.com> - Fix up location of named-bootconf.pl and make it executable (Bug #8028) - bind-devel requires bind Mon Nov 15 1999 Bernhard Rosenkraenzer <bero@redhat.com> - update to 8.2.2-P5 Wed Nov 10 1999 Bill Nottingham <notting@redhat.com> - update to 8.2.2-P3 Tue Oct 12 1999 Cristian Gafton <gafton@redhat.com> - add patch to stop a cache only server from complaining about lame servers on every request. Fri Sep 24 1999 Preston Brown <pbrown@redhat.com> - use real stop and start in named.init for restart, not ndc restart, it has problems when named has changed during a package update... (# 4890) Fri Sep 10 1999 Bill Nottingham <notting@redhat.com> - chkconfig --del in %preun, not %postun Mon Aug 16 1999 Bill Nottingham <notting@redhat.com> - initscript munging Mon Jul 26 1999 Bill Nottingham <notting@redhat.com> - fix installed chkconfig links to match init file Sat Jul 03 1999 Jeff Johnson <jbj@redhat.com> - conflict with new (in man-1.24) man pages (#3876,#3877). Tue Jun 29 1999 Bill Nottingham <notting@redhat.com> - fix named.logrotate (wrong %SOURCE) Fri Jun 25 1999 Jeff Johnson <jbj@redhat.com> - update to 8.2.1. - add named.logrotate (#3571). - hack around egcs-1.1.2 -m486 bug (#3413, #3485). - vet file list. Fri Jun 18 1999 Bill Nottingham <notting@redhat.com> - don't run by default Sun May 30 1999 Jeff Johnson <jbj@redhat.com> - nslookup fixes (#2463). - missing files (#3152). Sat May 01 1999 Stepan Kasal <kasal@math.cas.cz> - nslookup patched: to count numRecords properly to fix subsequent calls to ls -d to parse "view" and "finger" commands properly the view hack updated for bind-8 (using sed) Wed Mar 31 1999 Bill Nottingham <notting@redhat.com> - add ISC patch - add quick hack to make host not crash - add more docs Fri Mar 26 1999 Cristian Gafton <gafton@redhat.com> - add probing information in the init file to keep linuxconf happy - dont strip libbind Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> - auto rebuild in the new build environment (release 3) Wed Mar 17 1999 Preston Brown <pbrown@redhat.com> - removed 'done' output at named shutdown. Tue Mar 16 1999 Cristian Gafton <gafton@redhat.com> - version 8.2 Wed Dec 30 1998 Cristian Gafton <gafton@redhat.com> - patch to use the __FDS_BITS macro - build for glibc 2.1 Wed Sep 23 1998 Jeff Johnson <jbj@redhat.com> - change named.restart to /usr/sbin/ndc restart Sat Sep 19 1998 Jeff Johnson <jbj@redhat.com> - install man pages correctly. - change K10named to K45named. Wed Aug 12 1998 Jeff Johnson <jbj@redhat.com> - don't start if /etc/named.conf doesn't exist. Sat Aug 08 1998 Jeff Johnson <jbj@redhat.com> - autmagically create /etc/named.conf from /etc/named.boot in %post - remove echo in %post Wed Jun 10 1998 Jeff Johnson <jbj@redhat.com> - merge in 5.1 mods Sun Apr 12 1998 Manuel J. Galan <manolow@step.es> - Several essential modifications to build and install correctly. - Modified 'ndc' to avoid deprecated use of '-' Mon Dec 22 1997 Scott Lampert <fortunato@heavymetal.org> - Used buildroot - patched bin/named/ns_udp.c to use <libelf/nlist.h> for include on Redhat 5.0 instead of <nlist.h>
2004-09-09 03:29:07 +00:00
return $?
}
# See how we were called.
case "$1" in
start)
start
;;
stop)
stop
;;
status)
rhstatus
;;
restart)
restart
;;
condrestart)
if [ -e /var/lock/subsys/named ]; then restart; fi
auto-import changelog data from bind-8.2.2_P5-25.src.rpm Sat Aug 05 2000 Bill Nottingham <notting@redhat.com> - condrestart fixes Tue Jul 18 2000 Nalin Dahyabhai <nalin@redhat.com> - change the init script to take condrestart, not cond-restart - add sh-utils, /bin/cat, perl, /bin/chmod, /usr/sbin/useradd as prereqs for the %pre and %post scripts Sun Jul 16 2000 Bernhard Rosenkraenzer <bero@redhat.com> - Don't prereq /etc/init.d Sat Jul 15 2000 Bill Nottingham <notting@redhat.com> - move initscript back Wed Jul 12 2000 Prospector <bugzilla@redhat.com> - automatic rebuild Sun Jul 09 2000 Florian La Roche <Florian.LaRoche@redhat.de> - add "exit 0" for uninstall case Fri Jul 07 2000 Florian La Roche <Florian.LaRoche@redhat.de> - add prereq init.d and cleanup install section Fri Jun 30 2000 Trond Eivind Glomsrød <teg@redhat.com> - fix the init script Wed Jun 28 2000 Nalin Dahyabhai <nalin@redhat.com> - make libbind.a and nslookup.help readable again by setting INSTALL_LIB to "" Mon Jun 26 2000 Bernhard Rosenkränzer <bero@redhat.com> - Fix up the initscript (Bug #13033) - Fix build with current glibc (Bug #12755) - /etc/rc.d/init.d -> /etc/init.d - use %{_mandir} rather than /usr/share/man Mon Jun 19 2000 Bill Nottingham <notting@redhat.com> - fix conflict with man-pages - remove compatibilty chkconfig links - initscript munging Wed Jun 14 2000 Nalin Dahyabhai <nalin@redhat.com> - modify logrotate setup to use PID file - temporarily disable optimization by unsetting $RPM_OPT_FLAGS at build-time - actually bump the release this time Sun Jun 04 2000 Bernhard Rosenkraenzer <bero@redhat.com> - FHS compliance Mon Apr 17 2000 Nalin Dahyabhai <nalin@redhat.com> - clean up restart patch Mon Apr 10 2000 Nalin Dahyabhai <nalin@redhat.com> - provide /var/named (fix for bugs #9847, #10205) - preserve args when restarted via ndc(8) (bug #10227) - make resolv.conf(5) a link to resolver(5) (bug #10245) - fix SYSTYPE bug in all makefiles - move creation of named user from %post into %pre Mon Feb 28 2000 Bernhard Rosenkränzer <bero@redhat.com> - Fix TTL (patch from ISC, Bug #9820) Wed Feb 16 2000 Bernhard Rosenkränzer <bero@redhat.com> - fix typo in spec (it's %post, without a leading blank) introduced in -6 - change SYSTYPE to linux Fri Feb 11 2000 Bill Nottingham <notting@redhat.com> - pick a standard < 100 uid/gid for named Fri Feb 04 2000 Elliot Lee <sopwith@redhat.com> - Pass named a '-u named' parameter by default, and add/remove user. Thu Feb 03 2000 Bernhard Rosenkraenzer <bero@redhat.com> - fix host mx bug (Bug #9021) Mon Jan 31 2000 Cristian Gafton <gafton@redhat.com> - rebuild to fix dependencies - man pages are compressed Wed Jan 19 2000 Bernhard Rosenkraenzer <bero@redhat.com> - It's /usr/bin/killall, not /usr/sbin/killall (Bug #8063) Mon Jan 17 2000 Bernhard Rosenkraenzer <bero@redhat.com> - Fix up location of named-bootconf.pl and make it executable (Bug #8028) - bind-devel requires bind Mon Nov 15 1999 Bernhard Rosenkraenzer <bero@redhat.com> - update to 8.2.2-P5 Wed Nov 10 1999 Bill Nottingham <notting@redhat.com> - update to 8.2.2-P3 Tue Oct 12 1999 Cristian Gafton <gafton@redhat.com> - add patch to stop a cache only server from complaining about lame servers on every request. Fri Sep 24 1999 Preston Brown <pbrown@redhat.com> - use real stop and start in named.init for restart, not ndc restart, it has problems when named has changed during a package update... (# 4890) Fri Sep 10 1999 Bill Nottingham <notting@redhat.com> - chkconfig --del in %preun, not %postun Mon Aug 16 1999 Bill Nottingham <notting@redhat.com> - initscript munging Mon Jul 26 1999 Bill Nottingham <notting@redhat.com> - fix installed chkconfig links to match init file Sat Jul 03 1999 Jeff Johnson <jbj@redhat.com> - conflict with new (in man-1.24) man pages (#3876,#3877). Tue Jun 29 1999 Bill Nottingham <notting@redhat.com> - fix named.logrotate (wrong %SOURCE) Fri Jun 25 1999 Jeff Johnson <jbj@redhat.com> - update to 8.2.1. - add named.logrotate (#3571). - hack around egcs-1.1.2 -m486 bug (#3413, #3485). - vet file list. Fri Jun 18 1999 Bill Nottingham <notting@redhat.com> - don't run by default Sun May 30 1999 Jeff Johnson <jbj@redhat.com> - nslookup fixes (#2463). - missing files (#3152). Sat May 01 1999 Stepan Kasal <kasal@math.cas.cz> - nslookup patched: to count numRecords properly to fix subsequent calls to ls -d to parse "view" and "finger" commands properly the view hack updated for bind-8 (using sed) Wed Mar 31 1999 Bill Nottingham <notting@redhat.com> - add ISC patch - add quick hack to make host not crash - add more docs Fri Mar 26 1999 Cristian Gafton <gafton@redhat.com> - add probing information in the init file to keep linuxconf happy - dont strip libbind Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> - auto rebuild in the new build environment (release 3) Wed Mar 17 1999 Preston Brown <pbrown@redhat.com> - removed 'done' output at named shutdown. Tue Mar 16 1999 Cristian Gafton <gafton@redhat.com> - version 8.2 Wed Dec 30 1998 Cristian Gafton <gafton@redhat.com> - patch to use the __FDS_BITS macro - build for glibc 2.1 Wed Sep 23 1998 Jeff Johnson <jbj@redhat.com> - change named.restart to /usr/sbin/ndc restart Sat Sep 19 1998 Jeff Johnson <jbj@redhat.com> - install man pages correctly. - change K10named to K45named. Wed Aug 12 1998 Jeff Johnson <jbj@redhat.com> - don't start if /etc/named.conf doesn't exist. Sat Aug 08 1998 Jeff Johnson <jbj@redhat.com> - autmagically create /etc/named.conf from /etc/named.boot in %post - remove echo in %post Wed Jun 10 1998 Jeff Johnson <jbj@redhat.com> - merge in 5.1 mods Sun Apr 12 1998 Manuel J. Galan <manolow@step.es> - Several essential modifications to build and install correctly. - Modified 'ndc' to avoid deprecated use of '-' Mon Dec 22 1997 Scott Lampert <fortunato@heavymetal.org> - Used buildroot - patched bin/named/ns_udp.c to use <libelf/nlist.h> for include on Redhat 5.0 instead of <nlist.h>
2004-09-09 03:29:07 +00:00
;;
reload)
reload
;;
probe)
probe
;;
*)
auto-import changelog data from bind-9.1.0-10.src.rpm Thu Mar 15 2001 Bernhard Rosenkraenzer <bero@redhat.com> 9.1.0-10 - Merge fixes from 9.1.1rc5 Sun Mar 11 2001 Bernhard Rosenkraenzer <bero@redhat.com> 9.1.0-9 - Work around bind 8 -> bind 9 migration problem when using buggy zone files: accept zones without a TTL, but spew out a big fat warning. (#31393) Thu Mar 08 2001 Bernhard Rosenkraenzer <bero@redhat.com> - Add fixes from rc4 Fri Mar 02 2001 Nalin Dahyabhai <nalin@redhat.com> - rebuild in new environment Thu Mar 01 2001 Bernhard Rosenkraenzer <bero@redhat.com> - killall -HUP named if rndc reload fails (#30113) Tue Feb 27 2001 Bernhard Rosenkraenzer <bero@redhat.com> - Merge some fixes from 9.1.1rc3 Tue Feb 20 2001 Bernhard Rosenkraenzer <bero@redhat.com> - Don't use the standard rndc key from the documentation, instead, create a random one at installation time (#26358) - Make /etc/rndc.conf readable by user named only, it contains secret keys Tue Feb 20 2001 Bernhard Rosenkraenzer <bero@redhat.com> - 9.1.1 probably won't be out in time, revert to 9.1.0 and apply fixes from 9.1.1rc2 - bind requires bind-utils (#28317) Tue Feb 13 2001 Bernhard Rosenkraenzer <bero@redhat.com> - Update to rc2, fixes 2 more bugs - Fix build with glibc >= 2.2.1-7 Thu Feb 08 2001 Bernhard Rosenkraenzer <bero@redhat.com> - Update to 9.1.1rc1; fixes 17 bugs (14 of them affecting us; 1 was fixed in a Red Hat patch already, 2 others are portability improvements) Wed Feb 07 2001 Bernhard Rosenkraenzer <bero@redhat.com> - Remove initscripts 5.54 requirement (#26489) Mon Jan 29 2001 Bernhard Rosenkraenzer <bero@redhat.com> - Add named-checkconf, named-checkzone (#25170) Mon Jan 29 2001 Trond Eivind Glomsrød <teg@redhat.com> - use echo, not gprintf
2004-09-09 03:30:04 +00:00
echo $"Usage: $0 {start|stop|status|restart|condrestart|reload|probe}"
auto-import changelog data from bind-8.2.2_P5-25.src.rpm Sat Aug 05 2000 Bill Nottingham <notting@redhat.com> - condrestart fixes Tue Jul 18 2000 Nalin Dahyabhai <nalin@redhat.com> - change the init script to take condrestart, not cond-restart - add sh-utils, /bin/cat, perl, /bin/chmod, /usr/sbin/useradd as prereqs for the %pre and %post scripts Sun Jul 16 2000 Bernhard Rosenkraenzer <bero@redhat.com> - Don't prereq /etc/init.d Sat Jul 15 2000 Bill Nottingham <notting@redhat.com> - move initscript back Wed Jul 12 2000 Prospector <bugzilla@redhat.com> - automatic rebuild Sun Jul 09 2000 Florian La Roche <Florian.LaRoche@redhat.de> - add "exit 0" for uninstall case Fri Jul 07 2000 Florian La Roche <Florian.LaRoche@redhat.de> - add prereq init.d and cleanup install section Fri Jun 30 2000 Trond Eivind Glomsrød <teg@redhat.com> - fix the init script Wed Jun 28 2000 Nalin Dahyabhai <nalin@redhat.com> - make libbind.a and nslookup.help readable again by setting INSTALL_LIB to "" Mon Jun 26 2000 Bernhard Rosenkränzer <bero@redhat.com> - Fix up the initscript (Bug #13033) - Fix build with current glibc (Bug #12755) - /etc/rc.d/init.d -> /etc/init.d - use %{_mandir} rather than /usr/share/man Mon Jun 19 2000 Bill Nottingham <notting@redhat.com> - fix conflict with man-pages - remove compatibilty chkconfig links - initscript munging Wed Jun 14 2000 Nalin Dahyabhai <nalin@redhat.com> - modify logrotate setup to use PID file - temporarily disable optimization by unsetting $RPM_OPT_FLAGS at build-time - actually bump the release this time Sun Jun 04 2000 Bernhard Rosenkraenzer <bero@redhat.com> - FHS compliance Mon Apr 17 2000 Nalin Dahyabhai <nalin@redhat.com> - clean up restart patch Mon Apr 10 2000 Nalin Dahyabhai <nalin@redhat.com> - provide /var/named (fix for bugs #9847, #10205) - preserve args when restarted via ndc(8) (bug #10227) - make resolv.conf(5) a link to resolver(5) (bug #10245) - fix SYSTYPE bug in all makefiles - move creation of named user from %post into %pre Mon Feb 28 2000 Bernhard Rosenkränzer <bero@redhat.com> - Fix TTL (patch from ISC, Bug #9820) Wed Feb 16 2000 Bernhard Rosenkränzer <bero@redhat.com> - fix typo in spec (it's %post, without a leading blank) introduced in -6 - change SYSTYPE to linux Fri Feb 11 2000 Bill Nottingham <notting@redhat.com> - pick a standard < 100 uid/gid for named Fri Feb 04 2000 Elliot Lee <sopwith@redhat.com> - Pass named a '-u named' parameter by default, and add/remove user. Thu Feb 03 2000 Bernhard Rosenkraenzer <bero@redhat.com> - fix host mx bug (Bug #9021) Mon Jan 31 2000 Cristian Gafton <gafton@redhat.com> - rebuild to fix dependencies - man pages are compressed Wed Jan 19 2000 Bernhard Rosenkraenzer <bero@redhat.com> - It's /usr/bin/killall, not /usr/sbin/killall (Bug #8063) Mon Jan 17 2000 Bernhard Rosenkraenzer <bero@redhat.com> - Fix up location of named-bootconf.pl and make it executable (Bug #8028) - bind-devel requires bind Mon Nov 15 1999 Bernhard Rosenkraenzer <bero@redhat.com> - update to 8.2.2-P5 Wed Nov 10 1999 Bill Nottingham <notting@redhat.com> - update to 8.2.2-P3 Tue Oct 12 1999 Cristian Gafton <gafton@redhat.com> - add patch to stop a cache only server from complaining about lame servers on every request. Fri Sep 24 1999 Preston Brown <pbrown@redhat.com> - use real stop and start in named.init for restart, not ndc restart, it has problems when named has changed during a package update... (# 4890) Fri Sep 10 1999 Bill Nottingham <notting@redhat.com> - chkconfig --del in %preun, not %postun Mon Aug 16 1999 Bill Nottingham <notting@redhat.com> - initscript munging Mon Jul 26 1999 Bill Nottingham <notting@redhat.com> - fix installed chkconfig links to match init file Sat Jul 03 1999 Jeff Johnson <jbj@redhat.com> - conflict with new (in man-1.24) man pages (#3876,#3877). Tue Jun 29 1999 Bill Nottingham <notting@redhat.com> - fix named.logrotate (wrong %SOURCE) Fri Jun 25 1999 Jeff Johnson <jbj@redhat.com> - update to 8.2.1. - add named.logrotate (#3571). - hack around egcs-1.1.2 -m486 bug (#3413, #3485). - vet file list. Fri Jun 18 1999 Bill Nottingham <notting@redhat.com> - don't run by default Sun May 30 1999 Jeff Johnson <jbj@redhat.com> - nslookup fixes (#2463). - missing files (#3152). Sat May 01 1999 Stepan Kasal <kasal@math.cas.cz> - nslookup patched: to count numRecords properly to fix subsequent calls to ls -d to parse "view" and "finger" commands properly the view hack updated for bind-8 (using sed) Wed Mar 31 1999 Bill Nottingham <notting@redhat.com> - add ISC patch - add quick hack to make host not crash - add more docs Fri Mar 26 1999 Cristian Gafton <gafton@redhat.com> - add probing information in the init file to keep linuxconf happy - dont strip libbind Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> - auto rebuild in the new build environment (release 3) Wed Mar 17 1999 Preston Brown <pbrown@redhat.com> - removed 'done' output at named shutdown. Tue Mar 16 1999 Cristian Gafton <gafton@redhat.com> - version 8.2 Wed Dec 30 1998 Cristian Gafton <gafton@redhat.com> - patch to use the __FDS_BITS macro - build for glibc 2.1 Wed Sep 23 1998 Jeff Johnson <jbj@redhat.com> - change named.restart to /usr/sbin/ndc restart Sat Sep 19 1998 Jeff Johnson <jbj@redhat.com> - install man pages correctly. - change K10named to K45named. Wed Aug 12 1998 Jeff Johnson <jbj@redhat.com> - don't start if /etc/named.conf doesn't exist. Sat Aug 08 1998 Jeff Johnson <jbj@redhat.com> - autmagically create /etc/named.conf from /etc/named.boot in %post - remove echo in %post Wed Jun 10 1998 Jeff Johnson <jbj@redhat.com> - merge in 5.1 mods Sun Apr 12 1998 Manuel J. Galan <manolow@step.es> - Several essential modifications to build and install correctly. - Modified 'ndc' to avoid deprecated use of '-' Mon Dec 22 1997 Scott Lampert <fortunato@heavymetal.org> - Used buildroot - patched bin/named/ns_udp.c to use <libelf/nlist.h> for include on Redhat 5.0 instead of <nlist.h>
2004-09-09 03:29:07 +00:00
exit 1
esac
exit $?