Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: ntpd dns resolving in current



On Mon, Jan 27, 2014 at 08:27:31AM +0100, dieter roelants wrote:
> On Sun, 26 Jan 2014 21:13:45 +0100
> Onno van der Linden <o.vd.linden%quicknet.nl@localhost> wrote:
> 
> > 26 Jan 21:00:21 ntpd[3455]: giving up resolving host ntp1.nl.net: servname 
> > not supported for ai_socktype (9)
> > 
> > To be sure I copied the ntp.conf from /usr/src/etc to /etc and
> > added my ntp servers. I also copied services from /usr/src/etc
> > to /etc. Didn't work, as you can above.
> > 
> > What am I missing ?
> 
> If your ntpd is running chrooted, you need a (minimal) copy of
> /etc/services in /var/chroot/ntpd/etc/. I guess it should be handled
> automatically (by the rc.d script?).

I needed both services *and* resolv.conf.
They're (currently ...) not copied in the rc.d script
(maybe a soft link is enough ?)

It looks like the behaviour of ntpd in NetBSD has
changed since August 2013. It now does chroot()
earlier and needs stuff in /var/chroot/ntpd/etc
to help with name resolving which I didn't need
nearly 6 months ago.

Thanks very much,

Onno


Home | Main Index | Thread Index | Old Index