From owner-svn-src-all@freebsd.org Thu Nov 23 07:15:40 2017 Return-Path: Delivered-To: svn-src-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7EF5FDE1A73; Thu, 23 Nov 2017 07:15:40 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: from mail.blih.net (mail.blih.net [212.83.177.182]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.blih.net", Issuer "mail.blih.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 369B77FF84; Thu, 23 Nov 2017 07:15:38 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: from mail.blih.net (mail.blih.net [212.83.177.182]) by mail.blih.net (OpenSMTPD) with ESMTP id 1b896e11; Thu, 23 Nov 2017 08:15:30 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=bidouilliste.com; h= mime-version:content-type:content-transfer-encoding:date:from:to :cc:subject:in-reply-to:references:message-id; s=mail; bh=vff/I3 Yxb2pnKiYC5XroLM+RQeg=; b=W+/nN9al2S0dLyJSB/Rks7FRHUwCqm0BSROOSA 0odLogTxtA0Ab+dVfQqVdz5ego408Gtm1u1zUh6tKeqrKdGMeWN51V1YfIx5R0P2 /vmQ+9VOifOKheREHQELQpS53ImYFbtrHCRiRj2GoogfU9oQzxqxt/dGEuxOHPkU Kywls= DomainKey-Signature: a=rsa-sha1; c=nofws; d=bidouilliste.com; h= mime-version:content-type:content-transfer-encoding:date:from:to :cc:subject:in-reply-to:references:message-id; q=dns; s=mail; b= HTVgtFqf6t4F4ouV/pp5qRKGd145nsByyR+NJ5U10g2U+/MkP4vZw6/LZ/aBteEO r8z9bk+TBINNq93bPCUXCF47iPRKyMq6s9/WtoWv4iaWm1t6z/n00hMbg3o7G6rj bXM/8K1t4W7pRul3BRXDBXktep+D+knW48+iEsC6ojM= Received: from webmail.megadrive.org (www1.blih.net [212.83.177.180]) by mail.blih.net (OpenSMTPD) with ESMTP id 4c22d928; Thu, 23 Nov 2017 08:15:30 +0100 (CET) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Date: Thu, 23 Nov 2017 08:15:29 +0100 From: Emmanuel Vadot To: Ian Lepore Cc: Emmanuel Vadot , src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org, owner-src-committers@freebsd.org Subject: Re: svn commit: r326095 - head/usr.sbin/bsdinstall/scripts Organization: Bidouilliste In-Reply-To: <1511368688.46031.1.camel@freebsd.org> References: <201711221527.vAMFRlTc041361@repo.freebsd.org> <1511368688.46031.1.camel@freebsd.org> Message-ID: X-Sender: manu@bidouilliste.com User-Agent: Roundcube Webmail/1.1.1 X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Nov 2017 07:15:40 -0000 On 2017-11-22 17:38, Ian Lepore wrote: > On Wed, 2017-11-22 at 15:27 +0000, Emmanuel Vadot wrote: >> Author: manu >> Date: Wed Nov 22 15:27:47 2017 >> New Revision: 326095 >> URL: https://svnweb.freebsd.org/changeset/base/326095 >> >> Log: >>   bsdinstall: Add ntpdate option >>    >>   When you install a computer for the first time, the date in the CMOS >> sometimes >>   not accurate and you need to ntpdate as ntpd will fail a the time >> difference >>   is too big. >>   Add an option in bsdinstall to enable ntpdate that will do that for >> us. >>    >>   Reviewed by: allanjude >>   Differential Revision: https://reviews.freebsd.org/D13149 >> >> Modified: >>   head/usr.sbin/bsdinstall/scripts/services >> >> Modified: head/usr.sbin/bsdinstall/scripts/services >> ============================================================================== >> --- head/usr.sbin/bsdinstall/scripts/services Wed Nov 22 15:18:11 >> 2017 (r326094) >> +++ head/usr.sbin/bsdinstall/scripts/services Wed Nov 22 15:27:47 >> 2017 (r326095) >> @@ -46,6 +46,8 @@ DAEMONS=$( dialog --backtitle "FreeBSD Installer" \ >>   local_unbound "Local caching validating resolver" >> ${local_unbound:-off} \ >>   sshd "Secure shell daemon" ${sshd_enable:-off} \ >>   moused "PS/2 mouse pointer on console" ${moused_enable:-off} \ >> + ntpdate "Synchronize system and network time at bootime" \ >> + ${ntpdate_enable:-off} \ >>   ntpd "Synchronize system and network time" ${ntpd_enable:-off} \ >>   powerd "Adjust CPU frequency dynamically if supported" \ >>   ${powerd_enable:-off} \ >> > > The right way to enable a time-step at boot is to set the rc conf > variable ntpd_sync_on_start to YES.  ntpdate has been deprecated for > *years*. > > -- Ian Hi Ian, Thanks I didn't know about option -g (nor ntpd_sync_on_start), this bring a few questions : - Is there any reason to not always use -g for ntpd ? As a lambda user I just want my time to be set, no matter what. - Should we remove ntpdate in -current before 12 if it's deprecated ? I'll make the necessary changes according to your (or others) answers. Cheers, -- Emmanuel Vadot