HomeFreeBSD

1. Determine the location of the rndc* binaries relative to $command
rS172877Unpublished

Unpublished Commit ยท Learn More

No further details are available.

Description

  1. Determine the location of the rndc* binaries relative to $command

so that when using named from the ports (or elsewhere) the proper rndc*
commands will be run.

  1. Rework the stop routine using ideas from brooks and delphij.

Specifically I am duplicating a lot of code from rc.subr's stop routine
so that this one will behave more like the one in rc.subr, but use rndc
to kill the daemon (or regular kill if that fails). This also avoids
the problems related to using killall if rndc fails, which is bad if
you're running more than one named on the same box.

  1. Take a concept from gshapiro and allow the rndc.key file to be

owned by root OR the named_uid user.

Although I used different solutions, this commit handles issues raised in:
PR: conf/73929
PR: conf/103976
PR: conf/109409

Details

Provenance
dougbAuthored on
Parents
rS172876: Add one of HTC Smartphone/PocketPC device IDs.
Branches
Unknown
Tags
Unknown

Event Timeline