| History log of /src/etc/rc.d/named |
| Revision | | Date | Author | Comments |
| 1.29 |
| 10-Jul-2024 |
christos | account for filter-aaaa.so rename and move
|
| 1.28 |
| 25-Dec-2023 |
kre | branches: 1.28.2;
Clean up obsolete test(1) usage - use sh's || instead of test's obsolete -o, and sh's && instead of test's obsolete -a.
Minor formatting cleanups, including removing unneeded \ line continuations.
The somewhat bizarre way that named_migrate() was made to work in a subshell (which of itself is fine, and looks needed) has been made more rational. Because of that, the need to use local vars is no longer there, (subshells can't affect the parent) and "local" in that func could be deleted (but hasn't been).
|
| 1.27 |
| 31-Mar-2021 |
christos | handle copying of plugins to the chroot
|
| 1.26 |
| 04-Jul-2020 |
skrll | Trailing whitespace
|
| 1.25 |
| 13-Jul-2014 |
tls | Make named and the rest of BIND seed their RNG from /dev/urandom, not /dev/random. Better would be to rip the enormous gonkulating RNG machinery out of libisc entirely. Later.
|
| 1.24 |
| 08-Jul-2014 |
spz | create /etc/rndc.key on start if it doesn't already exist
|
| 1.23 |
| 01-Oct-2012 |
christos | branches: 1.23.8; PR/47024: Taylor R Campbell: handle "keys" directory and directory permissions in general
|
| 1.22 |
| 03-Aug-2009 |
perry | branches: 1.22.6; 1.22.8; 1.22.10; 1.22.12; ntpdate can't work without named because a modern ntp.conf has dns names in it. We therefore now depend on it.
However, this would have then created a circular dependency because named depended on "SERVERS", and racoon was before SERVERS and required kdc, and kdc needs the time to be right and thus depended on ntp.
Instead, have named depend on NETWORKING (so that there is a network there), mountcritremote (so we know that named has a directory to work from) and syslogd (so that named has some place to spew information).
I'm not sure this is perfect, but it is certainly a big improvement over constantly failing ntpdate runs during boot.
|
| 1.21 |
| 25-Apr-2009 |
christos | handle new directory structure.
|
| 1.20 |
| 24-Apr-2009 |
christos | PR/41273: Martin Mersberger: missing '/' in /etc/rc.d/named in section named_migrate
|
| 1.19 |
| 22-Apr-2009 |
christos | Adjust for new default location of the pid file.
|
| 1.18 |
| 29-Nov-2005 |
christos | branches: 1.18.28; 1.18.30; 1.18.32; 1.18.34; fix migration problems: 1. missing slash created namedb127 files in the dest dir. 2. /etc/named.conf was not getting migrated.
|
| 1.17 |
| 17-Jul-2005 |
christos | Improve on the migration bit. Check if files are different, and if not, remove the source and leave a symlink behind. Otherwise, let the user know.
|
| 1.16 |
| 17-Jul-2005 |
christos | Copy and link files to allow a chrooted named to start-up automatically.
|
| 1.15 |
| 17-Mar-2005 |
tron | Replace hardcoded "/var/run/named.pid" with ${pidfile}.
|
| 1.14 |
| 13-Aug-2004 |
mycroft | Add an _rc_subr_loaded variable, set to ":" by rc.subr. Scripts can use this for a speedup by doing: $_rc_subr_loaded . /etc/rc.subr
|
| 1.13 |
| 21-May-2004 |
christos | create /dev/random when chrooted.
|
| 1.12 |
| 18-Dec-2003 |
christos | prepare for bind 9.
|
| 1.11 |
| 18-Jun-2002 |
lukem | Build the list of names to check for $XXX_chrootdir support from `rcorder -k chrootdir` rather than hardcoding "named ntpd". Based on [misc/16884] from Jarle Greipsland <jarle@uninett.no>
|
| 1.10 |
| 22-Mar-2002 |
thorpej | branches: 1.10.2; Correct the "direction" of the barrier dependencies (DAEMON, LOGIN, NETWORKING, and SERVERS) by specifying that certain things should come BEFORE a given barrier, rather than having the barrier REQUIRE a service. This allows scripts to be removed without having to edit the barrier dependencies.
As discussed on tech-userlevel, and approved by Luke.
|
| 1.9 |
| 22-Mar-2002 |
lukem | - Rename a bunch of "internal" run_rc_command() variables and officially make them "externally" available: Previous Current Purpose -------- ------- ------- _arg rc_arg Argument to command, after fast/force processing performed (and prefix removed)
_flags rc_flags Flags to start the default command with. Defaults to ${name}_flags, unless overridden by $flags from the environment. This variable may be changed by the precmd method.
_pid rc_pid PID of command (if appropriate).
_rc_run_fast rc_fast Not empty is "fast" was provided.
_rc_run_force rc_force Not empty is "force" was provided.
- Use rc_flags instead of _flags or ${name}_flags in various rc.d scripts, so that $flags from the environment overrides ${name}_flags from rc.conf(5). Fixes [bin/15800].
|
| 1.8 |
| 11-Oct-2001 |
lukem | if named_chrootdir is set, always repoint the /var/run/named.pid and /var/run/ndc symlinks, because named_chrootdir might change between restarts and the symlinks weren't getting updated correctly in the old code.
|
| 1.7 |
| 12-Mar-2001 |
lukem | if $named_chrootdir != "", ensure that the following files, devices, and links exist: ${named_chrootdir}/usr/libexec/named-xfer ${named_chrootdir}/dev/null ${named_chrootdir}/etc/localtime /var/run/named.pid -> ${named_chrootdir}/var/run/named.pid /var/run/ndc -> ${named_chrootdir}/var/run/ndc and then start named with the appropriate options to run chroot(2)ed under $named_chrootdir as user named group named.
to take advantage of this, an admin should copy /etc/namedb -> ${named_chrootdir}/etc/namedb, and set named_chrootdir in /etc/rc.conf.
[dev/null & etc/localtime setup inspired by openbsd. i already had the rest]
|
| 1.6 |
| 19-Sep-2000 |
lukem | - only perform the checkyesno on the variable named in $rcvar (rather than implicitly using $name if $rcvar isn't set), and always perform this check, even when using start_cmd (et al). this check is performed before the pidcmd is run, speeding up scripts that weren't going to be run anyway. this should speed up booting slow systems.
- take advantage of the above and remove start_precmd="checkyesno foo" in scripts that use start_cmd.
- explicitly set rcvar=foo in the rc.d/foo scripts which have an equivalent rc.conf entry
- fix `rcvar' and `restart' when $rcvar isn't set. these above changes fix PR [bin/11027].
- when doing `force*', ignore the return value of *_precmd. this fixes PR [bin/10781].
- rename what sysdb provides from `databases' to `sysdb', to reflect the name of the script.
- improve the comments in rc.subr
|
| 1.5 |
| 13-May-2000 |
lukem | branches: 1.5.4; Use load_rc_config() (from rc.subr) instead of sourcing /etc/rc.conf. This allows us or a user to change the configuration file method in one place - rc.subr - without having to edit all of the rc.d/* files.
|
| 1.4 |
| 13-May-2000 |
lukem | only support reload as an extra command; there's too much special case code that needs to be implemented to make this script totally replicate what /usr/sbin/ndc does.
|
| 1.3 |
| 30-Apr-2000 |
lukem | use extra_commands= instead of using 2nd argument to run_rc_command
|
| 1.2 |
| 13-Mar-2000 |
lukem | * replace daemon, login, servers with DAEMON, LOGIN, SERVERS * remove sshd (it was from my private system)
|
| 1.1 |
| 10-Mar-2000 |
lukem | branches: 1.1.1; Initial revision
|
| 1.1.1.1 |
| 10-Mar-2000 |
lukem | rc.d scripts derived from /etc/rc
|
| 1.5.4.1 |
| 02-Oct-2000 |
lukem | pull up rev 1.6 (approved by thorpej): - always use $rcvar to determine the name of the var to checkyesno - fix force*
|
| 1.10.2.1 |
| 18-Jun-2002 |
lukem | Pull up revision 1.11 (requested by lukem in ticket #316): Build the list of names to check for $XXX_chrootdir support from `rcorder -k chrootdir` rather than hardcoding "named ntpd". Based on [misc/16884] from Jarle Greipsland <jarle@uninett.no>
|
| 1.18.34.1 |
| 21-Apr-2010 |
matt | sync to netbsd-5
|
| 1.18.32.1 |
| 10-Jan-2011 |
riz | Pull up following revision(s) (requested by tron in ticket #1519): etc/rc.d/named: revision 1.21 etc/rc.d/named: revision 1.19 Adjust for new default location of the pid file. handle new directory structure.
|
| 1.18.30.1 |
| 13-May-2009 |
jym | Sync with HEAD.
Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
|
| 1.18.28.2 |
| 07-Jan-2011 |
riz | Pull up following revision(s) (requested by tron in ticket #1519): etc/rc.d/named: revision 1.21 etc/rc.d/named: revision 1.19 Adjust for new default location of the pid file. handle new directory structure.
|
| 1.18.28.1 |
| 15-Nov-2009 |
snj | branches: 1.18.28.1.2; Pull up following revision(s) (requested by dholland in ticket #1146): etc/rc.d/named: revision 1.20 PR/41273: Martin Mersberger: missing '/' in /etc/rc.d/named in section named_migrate
|
| 1.18.28.1.2.1 |
| 09-Jan-2011 |
riz | Pull up following revision(s) (requested by tron in ticket #1519): etc/rc.d/named: revision 1.21 etc/rc.d/named: revision 1.19 Adjust for new default location of the pid file. handle new directory structure.
|
| 1.22.12.2 |
| 19-Aug-2014 |
tls | Rebase to HEAD as of a few days ago.
|
| 1.22.12.1 |
| 20-Nov-2012 |
tls | Resync to 2012-11-19 00:00:00 UTC
|
| 1.22.10.1 |
| 01-Nov-2012 |
matt | sync with netbsd-6-0-RELEASE.
|
| 1.22.8.1 |
| 09-Oct-2012 |
riz | Pull up following revision(s) (requested by christos in ticket #587): etc/rc.d/named: revision 1.23 PR/47024: Taylor R Campbell: handle "keys" directory and directory permissions in general
|
| 1.22.6.1 |
| 30-Oct-2012 |
yamt | sync with head
|
| 1.23.8.1 |
| 10-Aug-2014 |
tls | Rebase.
|
| 1.28.2.1 |
| 02-Aug-2025 |
perseant | Sync with HEAD
|