From owner-freebsd-current@freebsd.org Thu Aug 27 02:08:55 2015 Return-Path: Delivered-To: freebsd-current@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 CDFC09C350D for ; Thu, 27 Aug 2015 02:08:55 +0000 (UTC) (envelope-from darius@dons.net.au) Received: from ipmail06.adl2.internode.on.net (ipmail06.adl2.internode.on.net [150.101.137.129]) by mx1.freebsd.org (Postfix) with ESMTP id 264ECEE; Thu, 27 Aug 2015 02:08:54 +0000 (UTC) (envelope-from darius@dons.net.au) Received: from ppp118-210-47-210.lns20.adl2.internode.on.net (HELO midget.dons.net.au) ([118.210.47.210]) by ipmail06.adl2.internode.on.net with ESMTP; 27 Aug 2015 11:33:43 +0930 Received: from macbook-pro.dons.net.au (MacBook-Pro.dons.net.au [10.0.2.26]) (authenticated bits=0) by midget.dons.net.au (8.15.1/8.14.9) with ESMTPSA id t7R23a9L031503 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 27 Aug 2015 11:33:41 +0930 (CST) (envelope-from darius@dons.net.au) Subject: Re: Read-only /usr/obj/ no longer kosher? Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2104\)) Content-Type: text/plain; charset=us-ascii From: "O'Connor, Daniel" In-Reply-To: <20150826225512.GF1172@garage.freebsd.pl> Date: Thu, 27 Aug 2015 11:33:36 +0930 Cc: NGie Cooper , Xin LI , FreeBSD Current Content-Transfer-Encoding: 7bit Message-Id: <516778C3-2B0E-4F6C-9225-C5218B0A349A@dons.net.au> References: <20150823215552.GB1314@garage.freebsd.pl> <55DA492D.4030804@delphij.net> <20150825210437.GB1172@garage.freebsd.pl> <20150825215347.GD1172@garage.freebsd.pl> <20150825215524.GE1172@garage.freebsd.pl> <55DCEA64.8040304@delphij.net> <20150826225512.GF1172@garage.freebsd.pl> To: Pawel Jakub Dawidek X-Mailer: Apple Mail (2.2104) X-Spam-Score: -4.326 () ALL_TRUSTED,BAYES_00,RP_MATCHES_RCVD,URIBL_BLOCKED X-Scanned-By: MIMEDefang 2.75 on 10.0.2.1 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.20 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, 27 Aug 2015 02:08:55 -0000 > On 27 Aug 2015, at 08:25, Pawel Jakub Dawidek wrote: > On Tue, Aug 25, 2015 at 03:32:35PM -0700, NGie Cooper wrote: >> On Tue, Aug 25, 2015 at 3:21 PM, Xin Li wrote: >>> On 08/25/15 14:55, Pawel Jakub Dawidek wrote: >>>>> Now that I think of it, it might have been that I did >>>>> buildworld/buildkernel before -p1. Then freebsd-update updated >>>>> newvers.sh and then I was trying to do installworld. >>>> >>>> Yes, I can now reproduce it with source updated to -p2. >>> >>> Yes, that's because freebsd-version.sh is generated from the files (but >>> it's not clear to me whether if it's a bug or a feature that 'make >>> install' checks if it's up-to-date and decides to regenerate it...). >> >> It's a quirk for sure. If you change the behavior, people will >> definitely complain as they will now need to go back and rebuild >> everything. > > What we have now is misleading. People should recompile. It is rather > rare to see security advisory which bumps only patch level and something > that doesn't require recompilation (eg. a shell script). Current > behaviour would make people think they are running latest patch level > because freebsd-version says so, eventhough they only did 'make > installworld' without rebuilding affected binaries. So.. How hard would it be to force CC/CXX to /usr/bin/false during installworld? -- Daniel O'Connor "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C