From owner-freebsd-questions@freebsd.org Sun Sep 30 15:48:35 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 DFE2310C2EFA for ; Sun, 30 Sep 2018 15:48:35 +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 46B9988157 for ; Sun, 30 Sep 2018 15:48:35 +0000 (UTC) (envelope-from ml@netfence.it) Received: from alamar.ventu (alamar.local.netfence.it [10.1.2.18]) (authenticated bits=0) by soth.netfence.it (8.15.2/8.15.2) with ESMTPSA id w8UFmOER044862 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); Sun, 30 Sep 2018 17:48:32 +0200 (CEST) (envelope-from ml@netfence.it) X-Authentication-Warning: soth.netfence.it: Host alamar.local.netfence.it [10.1.2.18] claimed to be alamar.ventu Subject: [SOLVED] Re: Starting ntpd in a jail To: Paul Mather Cc: freebsd-questions@freebsd.org References: <06B45161-72E3-49CA-9322-1D7D788928E5@gromit.dlib.vt.edu> From: Andrea Venturoli Message-ID: <32c92d13-250e-f4d9-2ac7-8b2a19796424@netfence.it> Date: Sun, 30 Sep 2018 17:48:23 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.0.1 MIME-Version: 1.0 In-Reply-To: <06B45161-72E3-49CA-9322-1D7D788928E5@gromit.dlib.vt.edu> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit 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: Sun, 30 Sep 2018 15:48:36 -0000 On 9/29/18 3:32 PM, Paul Mather wrote: > The standard /etc/rc.d/ntpd startup script has the "nojail" KEYWORD in it. Oh! Thanks a lot! I was not aware this keyword existed. > If you want ntpd to start up in a jail you could put a copy of /etc/rc.d/ntpd in /usr/local/etc/rc.d and edit it to remove the "nojail" keyword. You may have to do something similar to its dependencies based upon how the nature of the jail setup. Seems like just copying it is enough (no messing with its dependencies needed) :) bye & Thanks av.