From owner-freebsd-questions@freebsd.org Fri Sep 28 13:51:52 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 420AB10B1506 for ; Fri, 28 Sep 2018 13:51:52 +0000 (UTC) (envelope-from ml@netfence.it) Received: from soth.netfence.it (net-2-44-121-52.cust.vodafonedsl.it [2.44.121.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "mailserver.netfence.it", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id AB65C73CCE for ; Fri, 28 Sep 2018 13:51:50 +0000 (UTC) (envelope-from ml@netfence.it) Received: from guardian.ventu (host-219-49.248-87.enter.it [87.248.49.219] (may be forged)) (authenticated bits=0) by soth.netfence.it (8.15.2/8.15.2) with ESMTPSA id w8SDo03L022456 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO) for ; Fri, 28 Sep 2018 15:50:02 +0200 (CEST) (envelope-from ml@netfence.it) X-Authentication-Warning: soth.netfence.it: Host host-219-49.248-87.enter.it [87.248.49.219] (may be forged) claimed to be guardian.ventu To: freebsd-questions@freebsd.org From: Andrea Venturoli Subject: Starting ntpd in a jail Message-ID: <8a138f2e-11d4-d890-c28d-72717a9eed3a@netfence.it> Date: Fri, 28 Sep 2018 15:50:16 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.0.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.83 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 13:51:52 -0000 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.