Current-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: chrooting ntpd, netbsd-7 (and 7.99.1)
On 27 Dec 2014, at 08:15 , Michael van Elst <mlelstv%serpens.de@localhost> wrote:
> pettai%nordu.net@localhost (Fredrik Pettai) writes:
>
>> So, isn't it time that NetBSD gets 'echo "ntpd_chrootdir=/var/chroot/ntpd/“ > /etc/rc.conf.d/ntpd’ ?
>
>> Dec 27 04:08:41 netbsd-7_BETA ntpd[6375]: giving up resolving host 0.netbsd.pool.ntp.org: servname not supported for ai_socktype (9)
>
> This says that it cannot resolve an entry ('ntp') in the services database.
> You need to augment the chroot with something like:
>
> mkdir /var/chroot/ntpd/etc
> getent services ntp/udp ntp/tcp > /var/chroot/ntpd/etc/services
>
> netbsd-current has a modified startup script that creates the services file.
Ah, right, so this needs to be pulled to netbsd-7 then as well then…
Thx,
/P
Home |
Main Index |
Thread Index |
Old Index