From owner-freebsd-stable@FreeBSD.ORG Wed Apr 8 16:56:22 2015 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 12A5ABA8 for ; Wed, 8 Apr 2015 16:56:22 +0000 (UTC) Received: from mail.egr.msu.edu (boomhauer.egr.msu.edu [35.9.37.167]) by mx1.freebsd.org (Postfix) with ESMTP id DCADC81F for ; Wed, 8 Apr 2015 16:56:21 +0000 (UTC) Received: from boomhauer (localhost [127.0.0.1]) by mail.egr.msu.edu (Postfix) with ESMTP id A82423B835 for ; Wed, 8 Apr 2015 12:56:20 -0400 (EDT) X-Virus-Scanned: amavisd-new at egr.msu.edu Received: from mail.egr.msu.edu ([127.0.0.1]) by boomhauer (boomhauer.egr.msu.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id LcI37sD9ceRn for ; Wed, 8 Apr 2015 12:56:20 -0400 (EDT) Received: from EGR authenticated sender mcdouga9 Message-ID: <55255DB4.2080501@egr.msu.edu> Date: Wed, 08 Apr 2015 12:56:20 -0400 From: Adam McDougall User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 MIME-Version: 1.0 To: freebsd-stable@freebsd.org Subject: Re: ports/base ntpd rc.d script with WITHOUT_NTP=yes References: <20150408164825.GB1280@xtaz.uk> In-Reply-To: <20150408164825.GB1280@xtaz.uk> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Apr 2015 16:56:22 -0000 On 04/08/2015 12:48, Matt Smith wrote: > Hi, > > I just upgraded my server to 10.1-STABLE r281264 and when I ran > mergemaster it told me that /etc/rc.d/ntpd was stale and would I like to > delete it. It's never done this before. I've figured out it's because I > have WITHOUT_NTP=yes in /etc/src.conf. I did this because I use the > ports version of ntpd and thus wanted to remove the base installed > version so that when I run commands like ntpq it's using my possibly > newer port installed version and not the older one. > > However, the port version doesn't have its own rc script. It usually > uses the base version with ntpd_program and ntpd_config set. With this > latest change it means I have to have the base version installed again. > Is it possible to get the port version to have its own rc script? > net/openntpd has an rc script if you don't mind switching. It is very very simple to configure. Ideally the original problem should be solved too but I ran into the same problem with Kerberos. I didn't get anywhere in the bug report where I argued the system scripts still worked fine except for recent changes in them causing a regression and failure with the port. Both situations could probably use a contributed patch to make an rc script.