Subject: Re: net/mDNSResponder suggestion
To: None <tech-pkg@NetBSD.org>
From: Daniel Eggert <eggert@macvaerk.dtu.dk>
List: tech-pkg
Date: 04/17/2007 16:28:19
On Apr 17, 2007, at 3:59 PM, Matthias Scheler wrote:
> On Tue, Apr 17, 2007 at 12:00:23PM +0200, Daniel Eggert wrote:
>> Would be nice to have a startup script for the dnsextd. The use would
>> then set
>>
>> dnsextd=YES
>> dnsextd_flags="-z bonjour.example.com -k bonjour. example.com. Ea3+1/
>> r5vsnN8SNCRQeP+Q=="
>>
>>
>> Here's my suggestion:
>>
>> #!/bin/sh
>> #
>> #
>>
>> # PROVIDE: dnsextd
>> # REQUIRE: SERVERS
>> # BEFORE: DAEMON
>
> Why does it have to be started before "DAEMON"?
Doesn't. My wrong.
Perhaps
# REQUIRE: named9
would make sense, though?
I found two other problems:
1) Shutting down dnsextd. Seems like named9 needs to be shut down only
after dnsextd has been shut down.
2) dnsextd doesn't terminate on my NetBSD 3.1 box unless I send a
SIGKILL to it.
>> . /etc/rc.subr
>>
>> name="dnsextd"
>> rcvar="${name}"
>> command="/usr/pkg/sbin/${name}"
>> dnsextd_user="named"
>> dnsextd_group="named"
>
> The user should be configurable in the package.
Makes sense.
/Daniel