Read-only /usr/obj/ no longer kosher?

Pawel Jakub Dawidek pjd at FreeBSD.org
Wed Aug 26 22:55:20 UTC 2015


On Tue, Aug 25, 2015 at 03:32:35PM -0700, NGie Cooper wrote:
> On Tue, Aug 25, 2015 at 3:21 PM, Xin Li <delphij at delphij.net> 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.

-- 
Pawel Jakub Dawidek                       http://www.wheelsystems.com
FreeBSD committer                         http://www.FreeBSD.org
Am I Evil? Yes, I Am!                     http://mobter.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-current/attachments/20150827/d9008865/attachment.bin>


More information about the freebsd-current mailing list