From owner-freebsd-current@freebsd.org Thu Sep 13 21:19:02 2018 Return-Path: Delivered-To: freebsd-current@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 D237C1099DAB for ; Thu, 13 Sep 2018 21:19:02 +0000 (UTC) (envelope-from pete@nomadlogic.org) Received: from mail.nomadlogic.org (mail.nomadlogic.org [140.82.23.70]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.nomadlogic.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 5940883787 for ; Thu, 13 Sep 2018 21:19:02 +0000 (UTC) (envelope-from pete@nomadlogic.org) Received: from [192.168.1.203] (cpe-76-175-75-27.socal.res.rr.com [76.175.75.27]) by mail.nomadlogic.org (OpenSMTPD) with ESMTPSA id 11391b61 TLS version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO; Thu, 13 Sep 2018 14:18:54 -0700 (PDT) Subject: Re: ntpd user and group missing when upgrading from sources from 11-stable to 12-current To: Marek Zarychta , freebsd-current@freebsd.org References: <20180913210755.GA23935@plan-b.pwste.edu.pl> From: Pete Wright Message-ID: Date: Thu, 13 Sep 2018 14:18:53 -0700 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.0 MIME-Version: 1.0 In-Reply-To: <20180913210755.GA23935@plan-b.pwste.edu.pl> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Sep 2018 21:19:03 -0000 On 9/13/18 2:07 PM, Marek Zarychta wrote: > Dear subscribers, > > stable/12 hasn't been branched yet, so it could be not a bug. Since > r336525 make installworld fails on 11-stable when installing world for > 12-current without ntpd user/group added. Of course, as a workaround > user and group could be added manually. Mergemeaster also fails when it > is run before installworld, what is IMHO predictable and expected > behaviour. So mergemaster will not help with this issue. > > So the question arises, is it a feature or should a PR be submitted? can you share how you are running mergemaster? i recently upgraded a system from 11.2-RELEASE to 12-CURRENT without issues.  my steps are: make buildkernel make buildworld make installkernel mergemaster -m /path/to/current/checkout -p make installworld mergemaster -m /path/to/current/checkout -a it is critical to run the mergemaster -p before installing the world.  this will prompt you to update your /etc/password and /etc/group tables to add the new ntp user/group.  the same goes for using the mergemaster -a switch after installing the world, as that will ensure that critical configs for rc are updated correctly. cheers, -pete -- Pete Wright pete@nomadlogic.org @nomadlogicLA