From owner-freebsd-questions@freebsd.org Fri Sep 28 14:20:33 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8D6F810B1FD9 for ; Fri, 28 Sep 2018 14:20:33 +0000 (UTC) (envelope-from igorr@pochta-mx.canmos.ru) Received: from pochta-mx.canmos.ru (pochta-mx.canmos.ru [89.107.127.240]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 2448E751E1 for ; Fri, 28 Sep 2018 14:20:33 +0000 (UTC) (envelope-from igorr@pochta-mx.canmos.ru) Received: from pochta-mx.canmos.ru (pochta-mx.canmos.ru [89.107.127.240]) by pochta-mx.canmos.ru (Postfix) with ESMTP id 1E01E2DBBC15; Fri, 28 Sep 2018 17:21:31 +0300 (MSK) X-Spam-Checker-Version: SpamAssassin 3.3.2-pochta_20120910 (2011-06-06) on pochta.canmos.ru X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.3.2-pochta_20120910 Received: from pochta-mx.canmos.ru (pochta-mx.canmos.ru [89.107.127.240]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by pochta-mx.canmos.ru (Postfix) with ESMTPS; Fri, 28 Sep 2018 17:21:31 +0300 (MSK) Date: Fri, 28 Sep 2018 17:21:31 +0300 (MSK) From: "Igor V. Ruzanov" X-X-Sender: igorr@pochta.canmos.ru To: Andrea Venturoli cc: freebsd-questions@freebsd.org Subject: Re: Starting ntpd in a jail In-Reply-To: <8a138f2e-11d4-d890-c28d-72717a9eed3a@netfence.it> Message-ID: References: <8a138f2e-11d4-d890-c28d-72717a9eed3a@netfence.it> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) X-GPG-PUBLIC-KEY: 1024D/F433BDD5 2009-06-17 Igor V. Ruzanov X-GPG-FINGERPRINT: 5030 C793 4238 FAFF 827F 0E99 FDCE 63DD F433 BDD5 MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Sep 2018 14:20:33 -0000 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: |Hello. | |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. | |Any hint? | | | bye & Thanks | av. |_______________________________________________ |freebsd-questions@freebsd.org mailing list |https://lists.freebsd.org/mailman/listinfo/freebsd-questions |To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" |