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).
|
|
|
|
#
|
2005-08-30 17:02:08 +00:00
|
|
|
# chkconfig: - 13 87
|
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
|
|
|
# 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.
|
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
|
|
|
|
|
|
|
# Check that networking is up.
|
2004-10-18 21:06:26 +00:00
|
|
|
[ "${NETWORKING}" = "no" ] && exit 1
|
2004-09-09 03:30:04 +00:00
|
|
|
|
2004-09-09 03:34:12 +00:00
|
|
|
[ -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
|
|
|
|
2006-03-07 04:25:38 +00:00
|
|
|
if [ -n "$ROOTDIR" ]; then
|
|
|
|
ROOTDIR=`echo $ROOTDIR | sed 's#//*#/#g;s#/$##'`;
|
|
|
|
rdl=`/usr/bin/readlink $ROOTDIR`;
|
|
|
|
if [ -n "$rdl" ]; then
|
|
|
|
ROOTDIR="$rdl";
|
|
|
|
fi;
|
|
|
|
fi
|
2005-10-19 21:48:56 +00:00
|
|
|
|
2005-08-17 02:31:35 +00:00
|
|
|
RETVAL=0
|
|
|
|
named='named'
|
|
|
|
if [[ "$ENABLE_SDB" = [yY1]* ]] && [ -x /usr/sbin/named_sdb ]; then
|
|
|
|
named='named_sdb';
|
|
|
|
fi;
|
|
|
|
prog=$named
|
|
|
|
|
|
|
|
[ -x /usr/sbin/$named ] || exit 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
|
|
|
|
2005-10-19 21:48:56 +00:00
|
|
|
nmdcOption()
|
|
|
|
{ let i=0;
|
|
|
|
for a in $*;
|
|
|
|
do ((++i));
|
|
|
|
if [ $a = -c ]; then
|
|
|
|
((++i));
|
|
|
|
eval 'echo $'$i;
|
|
|
|
elif [[ $a = -c* ]]; then
|
|
|
|
echo ${a#-c};
|
|
|
|
fi;
|
|
|
|
done;
|
|
|
|
}
|
2006-03-07 04:25:38 +00:00
|
|
|
|
|
|
|
named_c_option=`nmdcOption $OPTIONS`;
|
2006-03-22 17:55:16 +00:00
|
|
|
named_conf=${named_c_option:-/etc/named.conf};
|
2006-03-07 04:25:38 +00:00
|
|
|
|
2006-03-22 17:55:16 +00:00
|
|
|
if [ ! -r ${ROOTDIR}${named_conf} ] ; then
|
2006-03-07 04:25:38 +00:00
|
|
|
if [ -z "$named_c_option" ] && [ -r ${ROOTDIR}/etc/named.caching-nameserver.conf ]; then
|
|
|
|
named_conf='/etc/named.caching-nameserver.conf';
|
|
|
|
OPTIONS="$OPTIONS -c ${named_conf}";
|
|
|
|
else
|
|
|
|
echo Locating $ROOTDIR/${named_conf} failed:
|
|
|
|
failure
|
|
|
|
echo;
|
|
|
|
fi;
|
|
|
|
fi;
|
2005-08-03 17:05:11 +00:00
|
|
|
|
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.
|
2005-08-17 02:31:35 +00:00
|
|
|
echo -n $"Starting $named: "
|
|
|
|
if [ -n "`/sbin/pidof -o %PPID $named`" ]; then
|
|
|
|
echo -n $"$named: already running"
|
2005-05-18 02:26:57 +00:00
|
|
|
failure
|
|
|
|
echo
|
2004-09-09 03:30:22 +00:00
|
|
|
return 1
|
|
|
|
fi
|
2005-05-18 01:06:14 +00:00
|
|
|
ckcf_options='-z'; # enable named-checkzone for each zone (9.3.1+) !
|
2004-09-09 03:30:04 +00:00
|
|
|
if [ -n "${ROOTDIR}" -a "x${ROOTDIR}" != "x/" ]; then
|
|
|
|
OPTIONS="${OPTIONS} -t ${ROOTDIR}"
|
2005-05-18 01:06:14 +00:00
|
|
|
ckcf_options="$ckcf_options -t ${ROOTDIR}";
|
2004-09-20 16:25:13 +00:00
|
|
|
if [ -s /etc/localtime ]; then
|
|
|
|
cp -fp /etc/localtime ${ROOTDIR}/etc/localtime
|
|
|
|
fi;
|
2005-03-22 21:54:12 +00:00
|
|
|
if [ ! -d ${ROOTDIR}/proc ]; then
|
|
|
|
mkdir -p ${ROOTDIR}/proc
|
|
|
|
fi
|
2005-11-23 21:24:10 +00:00
|
|
|
if ! egrep -q '^/proc[[:space:]]+'${ROOTDIR}'/proc' /proc/mounts; then
|
2005-10-19 19:44:40 +00:00
|
|
|
mount --bind /proc ${ROOTDIR}/proc >/dev/null 2>&1
|
2005-03-22 21:54:12 +00:00
|
|
|
fi
|
2005-10-28 20:12:12 +00:00
|
|
|
dbus=0;
|
|
|
|
for a in $OPTIONS; do
|
|
|
|
if [ $a = "-D" ]; then
|
|
|
|
dbus=1;
|
|
|
|
fi;
|
|
|
|
done
|
|
|
|
if [ $dbus -eq 1 ]; then
|
2005-12-02 00:08:28 +00:00
|
|
|
if ! egrep -q '^/[^[:space:]]+[[:space:]]+'${ROOTDIR}'/var/run/dbus' /proc/mounts; then
|
2005-10-19 19:44:40 +00:00
|
|
|
mkdir -p ${ROOTDIR}/var/run/dbus
|
2005-11-23 21:24:10 +00:00
|
|
|
if [ ! -d /var/run/dbus ] ; then
|
|
|
|
mkdir -p /var/run/dbus ;
|
|
|
|
fi;
|
|
|
|
mount --bind /var/run/dbus ${ROOTDIR}/var/run/dbus > /dev/null 2>&1;
|
2005-10-19 19:44:40 +00:00
|
|
|
fi;
|
2005-10-28 20:12:12 +00:00
|
|
|
fi;
|
2004-09-09 03:30:04 +00:00
|
|
|
fi
|
2005-02-17 06:39:15 +00:00
|
|
|
no_write_master_zones=0
|
2005-01-14 18:03:51 +00:00
|
|
|
if [ -e /etc/selinux/config ]; then
|
|
|
|
. /etc/selinux/config
|
2005-05-18 01:06:14 +00:00
|
|
|
if [[ ( "$SELINUX" != 'disabled') && ("$SELINUXTYPE" != "") && (-d /etc/selinux/${SELINUXTYPE}) && (-e /etc/selinux/${SELINUXTYPE}/booleans || (-e /etc/selinux/${SELINUXTYPE}/booleans.local)) ]]; then
|
|
|
|
if [ -e /etc/selinux/${SELINUXTYPE}/booleans.local ]; then
|
|
|
|
. /etc/selinux/${SELINUXTYPE}/booleans.local;
|
|
|
|
else
|
|
|
|
. /etc/selinux/${SELINUXTYPE}/booleans;
|
|
|
|
fi;
|
2005-01-24 22:15:39 +00:00
|
|
|
if echo "$named_write_master_zones" | /bin/egrep -q '^[0-9]+$'; then
|
|
|
|
if [ "$named_write_master_zones" -eq 1 ] ; then
|
|
|
|
/bin/chown -f --from=root:named named:named $ROOTDIR/var/named
|
|
|
|
elif [ "$named_write_master_zones" -eq 0 ] ; then
|
|
|
|
/bin/chown -f --from=named:named root:named $ROOTDIR/var/named
|
|
|
|
fi;
|
|
|
|
fi;
|
2005-02-17 06:39:15 +00:00
|
|
|
else
|
|
|
|
no_write_master_zones=1
|
2005-01-14 18:03:51 +00:00
|
|
|
fi;
|
2005-02-17 06:39:15 +00:00
|
|
|
else
|
|
|
|
no_write_master_zones=1
|
2005-01-14 18:03:51 +00:00
|
|
|
fi;
|
2005-02-17 06:39:15 +00:00
|
|
|
if [ "$no_write_master_zones" -eq 1 ]; then
|
|
|
|
if [[ "$ENABLE_ZONE_WRITE" = [yY1]* ]]; then
|
|
|
|
/bin/chown -f --from=root:named named:named $ROOTDIR/var/named
|
|
|
|
elif [[ "$ENABLE_ZONE_WRITE" = [nN0]* ]]; then
|
|
|
|
/bin/chown -f --from=named:named root:named $ROOTDIR/var/named
|
|
|
|
fi;
|
|
|
|
fi
|
2004-09-09 03:38:29 +00:00
|
|
|
conf_ok=0;
|
2005-09-28 14:35:12 +00:00
|
|
|
if [ -x /usr/sbin/named-checkconf ] && [ -x /usr/sbin/named-checkzone ] && /usr/sbin/named-checkconf $ckcf_options ${named_conf} >/dev/null 2>&1; then
|
2004-09-09 03:38:29 +00:00
|
|
|
conf_ok=1;
|
|
|
|
else
|
|
|
|
RETVAL=$?;
|
|
|
|
fi
|
|
|
|
if [ $conf_ok -eq 1 ]; then
|
2005-08-17 02:31:35 +00:00
|
|
|
daemon /usr/sbin/$named -u named ${OPTIONS};
|
2004-09-09 03:38:29 +00:00
|
|
|
RETVAL=$?;
|
2005-05-18 01:06:14 +00:00
|
|
|
if [ $RETVAL -eq 0 ]; then
|
2005-07-19 15:40:15 +00:00
|
|
|
rm -f /var/run/named.pid
|
2005-08-17 02:31:35 +00:00
|
|
|
rm -f /var/run/named_sdb.pid 2>/dev/null
|
2005-05-18 01:06:14 +00:00
|
|
|
ln -s $ROOTDIR/var/run/named/named.pid /var/run/named.pid;
|
2005-08-17 02:31:35 +00:00
|
|
|
if [ "$named" = "named_sdb" ]; then
|
|
|
|
ln -s $ROOTDIR/var/run/named/named.pid /var/run/named_sdb.pid;
|
|
|
|
fi;
|
2004-09-09 03:39:05 +00:00
|
|
|
fi;
|
2005-05-18 01:06:14 +00:00
|
|
|
else
|
2005-09-28 14:35:12 +00:00
|
|
|
named_err="`/usr/sbin/named-checkconf $ckcf_options $named_conf 2>&1`";
|
2005-05-18 01:06:14 +00:00
|
|
|
echo
|
|
|
|
echo $"Error in named configuration"':';
|
|
|
|
echo "$named_err";
|
|
|
|
failure
|
|
|
|
echo
|
|
|
|
if [ -x /usr/bin/logger ]; then
|
|
|
|
echo "$named_err" | /usr/bin/logger -pdaemon.error -tnamed
|
|
|
|
fi;
|
2004-09-09 03:38:29 +00:00
|
|
|
return $RETVAL;
|
|
|
|
fi;
|
2004-09-09 03:34:12 +00:00
|
|
|
[ $RETVAL -eq 0 ] && touch /var/lock/subsys/named
|
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.
|
2005-08-17 02:31:35 +00:00
|
|
|
echo -n $"Stopping $named: "
|
2005-07-19 15:40:15 +00:00
|
|
|
/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=$?
|
2005-05-18 01:06:14 +00:00
|
|
|
if [ $RETVAL -eq 0 ]; then
|
|
|
|
rm -f /var/lock/subsys/named
|
|
|
|
rm -f /var/run/named.pid
|
2005-08-17 02:31:35 +00:00
|
|
|
rm -f /var/run/named_sdb.pid 2>/dev/null
|
|
|
|
elif /sbin/pidof -o %PPID $named >/dev/null; then
|
|
|
|
killproc $named -TERM >/dev/null 2>&1
|
2005-05-18 01:06:14 +00:00
|
|
|
RETVAL=$?
|
|
|
|
if [ $RETVAL -eq 0 ]; then
|
|
|
|
rm -f /var/lock/subsys/named
|
|
|
|
rm -f /var/run/named.pid
|
2005-08-17 02:31:35 +00:00
|
|
|
rm -f /var/run/named_sdb.pid 2>/dev/null
|
2005-05-18 01:06:14 +00:00
|
|
|
fi;
|
|
|
|
fi;
|
|
|
|
if [ $RETVAL -eq 0 ]; then
|
|
|
|
success
|
|
|
|
else
|
|
|
|
failure
|
|
|
|
fi;
|
|
|
|
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
|
|
|
|
}
|
|
|
|
rhstatus() {
|
2004-09-09 03:31:34 +00:00
|
|
|
/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
|
2004-09-09 03:34:12 +00:00
|
|
|
# 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() {
|
2005-08-17 02:31:35 +00:00
|
|
|
echo -n $"Reloading $named: "
|
|
|
|
p=`/sbin/pidof -o %PPID $named`
|
2004-09-09 03:37:57 +00:00
|
|
|
RETVAL=$?
|
|
|
|
if [ "$RETVAL" -eq 0 ]; then
|
2005-07-19 15:40:15 +00:00
|
|
|
/usr/sbin/rndc reload >/dev/null 2>&1 || /bin/kill -HUP $p;
|
2004-09-09 03:37:57 +00:00
|
|
|
RETVAL=$?
|
|
|
|
fi
|
2005-08-17 02:31:35 +00:00
|
|
|
[ "$RETVAL" -eq 0 ] && success $"$named reload" || failure $"$named reload"
|
2004-09-09 03:34:12 +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 $?
|
|
|
|
}
|
|
|
|
probe() {
|
|
|
|
# named knows how to reload intelligently; we don't want linuxconf
|
|
|
|
# to offer to restart every time
|
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 $?
|
2005-05-18 01:06:14 +00:00
|
|
|
}
|
|
|
|
checkconfig() {
|
|
|
|
ckcf_options='-z'; # enable named-checkzone for each zone (9.3.1+) !
|
|
|
|
if [ -n "${ROOTDIR}" -a "x${ROOTDIR}" != "x/" ]; then
|
|
|
|
OPTIONS="${OPTIONS} -t ${ROOTDIR}"
|
|
|
|
ckcf_options="$ckcf_options -t ${ROOTDIR}";
|
|
|
|
fi;
|
2005-09-28 14:35:12 +00:00
|
|
|
if [ -x /usr/sbin/named-checkconf ] && [ -x /usr/sbin/named-checkzone ] && /usr/sbin/named-checkconf $ckcf_options ${named_conf} | cat ; then
|
2005-05-18 01:06:14 +00:00
|
|
|
return 0;
|
|
|
|
else
|
|
|
|
return 1;
|
|
|
|
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
|
|
|
|
|
|
|
# See how we were called.
|
|
|
|
case "$1" in
|
|
|
|
start)
|
|
|
|
start
|
|
|
|
;;
|
|
|
|
stop)
|
|
|
|
stop
|
|
|
|
;;
|
|
|
|
status)
|
|
|
|
rhstatus
|
|
|
|
;;
|
|
|
|
restart)
|
|
|
|
restart
|
|
|
|
;;
|
|
|
|
condrestart)
|
2004-09-09 03:35:38 +00:00
|
|
|
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
|
|
|
|
;;
|
2005-08-17 02:31:35 +00:00
|
|
|
checkconfig|configtest|check|test)
|
2005-05-18 01:06:14 +00:00
|
|
|
checkconfig
|
|
|
|
;;
|
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
|
|
|
*)
|
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 $?
|
|
|
|
|