You are not logged in.

#1 2011-09-06 22:17:07

rnabioullin
Member
Registered: 2010-10-02
Posts: 24

[SOLVED] ntpd Fails Within Chroot

I have successfully run ntpd as ntp:ntp after following https://wiki.archlinux.org/index.php/NT … -root_user. However, ntpd fails to connect to NTP servers after I try to run it within a chroot after following https://wiki.archlinux.org/index.php/NT … n_a_chroot. I have noticed the following error in /var/log/messages.log (sanitized):

...ntpd[...]: Deleting interface #4 wlan0, ...#123, interface stats: received=0, sent=0, dropped=0, active_time=1 secs

Any ideas?

Last edited by rnabioullin (2011-09-11 22:06:10)

Offline

#2 2011-09-11 22:01:15

rnabioullin
Member
Registered: 2010-10-02
Posts: 24

Re: [SOLVED] ntpd Fails Within Chroot

I have figured out the issue - the chroot environment was insufficient for getaddrinfo(), which is called by ntpd (reference: http://twiki.ntp.org/bin/view/Support/K … .4.2.5.3.). I have documented the proper setup in the ntpd wiki page (https://wiki.archlinux.org/index.php/Nt … n_a_chroot).

Offline

Board footer

Powered by FluxBB