Starting ntpd in a jail
Igor V. Ruzanov
igorr at pochta-mx.canmos.ru
Fri Sep 28 14:20:33 UTC 2018
You cannot launch ntpd inside FreeBSD classic (chroot) jails. ntp server
runs only on a host environment.
On Fri, 28 Sep 2018, Andrea Venturoli wrote:
|I'm trying to run ntpd in a jail.
|Before someone points out it won't be able to set time, that's ok :) I just
|want other clients to be able to synchronize with it.
|I can manually "service ntpd start" and it will happily work, but it won't
|start at boot (or if I restart the jail).
|Running "rcorder /etc/rc.d/ntpd" gives the same result in the jail as in base
|(where ntpd starts correctly):
|> rcorder: file `/etc/rc.d/ntpd' is before unknown provision `LOGIN'
|> rcorder: requirement `devfs' in file `/etc/rc.d/ntpd' has no providers.
|> rcorder: requirement `FILESYSTEMS' in file `/etc/rc.d/ntpd' has no providers.
|> rcorder: requirement `ntpdate' in file `/etc/rc.d/ntpd' has no providers.
|> rcorder: requirement `DAEMON' in file `/etc/rc.d/ntpd' has no providers.
| bye & Thanks
|freebsd-questions at freebsd.org mailing list
|To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
More information about the freebsd-questions