* Darryl Gregorash <raven@accesscomm.ca> [03-21-16 14:45]:
On 15/03/16 09:58 AM, Patrick Shanahan wrote:
* Freek de Kruijf <freek@opensuse.org> [03-15-16 11:06]:
Op dinsdag 15 maart 2016 08:44:19 schreef Patrick Shanahan:
* Per Jessen <per@computer.org> [03-15-16 06:32]:
Carlos E. R. wrote:
The funny thing is that I thought I was not, but the files there are up to date. There is a /var/lib/ntp/var/run/ntp/ntpd.pid which does point to ntpd, so it is running there. And indeed, in /etc/sysconfig/ntp I have:
NTPD_RUN_CHROOTED="yes" To make sure, try "ls -l /proc/$(pidof ntpd)" and look at root.
When chroot'ed your ntpd will be running with '-i' specified.
In Leap 42.1, sysconfig::NTPD_RUN_CHROOTED is "no". Same in 13.2, 13.1 and 12.3. Interestingly, in Leap421, /usr/bin/start-ntpd appears to have a hardcoded NTPD_RUN_CHROOTED="yes". I might not have read that script right. OK, semi-solved. The problem apparently lies with the chrooted jail. If I unset NTPD_RUN_CHROOTED, ntpd operates as desired. I checked my other local boxes and none are running chrooted.
Then the remaining question, why is it failing when running chrooted? Might have to do with an unreachable file in the chroot needed for network access like /etc/resolv.conf Well, resolv.conf does *not* appear /var/lib/ntp/etc/
How would that be added?
tks, Yast:Sysconfig Editor/Network/NTP/NTPD_CHROOT_FILES
OK, adding /etc/resolv using yast:sysconfig and running chroot provides: # ntpq -wpn remote refid st t when poll reach delay offset jitter ============================================================================== *173.51.147.14 .GPS. 1 u 33 64 1 79.785 *1.400 1.403 but unless I needed to allow more time, that doesn't look quite correct :( w/o chroot: # ntpq -wpn remote refid st t when poll reach delay offset jitter ============================================================================== -23.239.26.89 216.229.0.179 2 u 15 64 1 43.866 -0.101 0.545 -107.170.224.8 132.163.4.102 2 u 13 64 1 77.881 -5.505 0.153 +69.164.194.139 199.102.46.77 2 u 15 64 1 42.419 2.622 0.413 +2600:3c00::2:b401 129.7.1.66 2 u 13 64 1 55.907 -3.017 0.440 *128.138.141.172 .ACTS. 1 u 11 64 1 51.274 -4.490 0.383 tks, -- (paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri http://en.opensuse.org openSUSE Community Member facebook/ptilopteri http://wahoo.no-ip.org Photo Album: http://wahoo.no-ip.org/gallery2 Registered Linux User #207535 @ http://linuxcounter.net -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org