tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: sysupgrade in src?



On Fri, Apr 15, 2022 at 01:20:04PM -0400, Greg Troxel wrote:
> Use of RCS IDs seems fragile/unsound in that you can't conclude from
> matching IDs that the files match, or really the other way around, given
> people storing sources in !cvs with local modes, local builds, etc.
> (Not saying doing local things in !cvs is bad, just that the RCS ID
> match assumption assumes more than is true.)
> 
> Seems like this should be based on a database of hashes of the old
> upstream and the new upstream, as well as the previous version in /etc,
> and perhaps have a way to record that the admin has agreed to the
> current contents of a file in /etc.

Unfortunately this is the 'state of the art' for the past 20 years,
etcupdate is what NetBSD provides as stock (I'm not proposing to add
it here because it's already been added). There is a lot of ways
it can be improved, agreed, it's by far the most irritable part
of the update process.


Home | Main Index | Thread Index | Old Index