NetBSD-Users archive

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

Re: Poor man's solution to /etc when upgrading system?



Johnny Billquist <bqt%update.uu.se@localhost> writes:

> On 2015-11-03 14:14, Greg Troxel wrote:
>>
>>> (What is etcmanage? Different from etcupdate?)
>>
>> Yes.  It aims to be fully automatic and to never change a human-changed
>> file.  See pkgsrc/sysutils/etcmanage, unpack and read the README.
>>
>> etcupdate asks the user many questions, and was in my experience
>> unsuitable for unattended upgrades of 20 machines.
>
> So how do etcmanage deal with human modified fails. Just leaves them
> alone? For, that is one of the good points of etcupdate, however I
> recognize that it requires manual work. But files that I have modified
> in /etc are also sometimes updates in the distribution, and I want
> some kind of merging of those changes sometimes.

Yes, it leaves them alone.  I then deal with merging by hand, reading
the list of files that don't match upstream and thinking about them.

The big point for me is that "do an update" is totally automatic, and
then I can deal with merge/cleanup when/if I want.

I have been running this code on several systems for over 10 years and
it has been a good experience.  The biggest hand merging issues has been
master.passwd and group for new system users/groups.

On one system, I have 37 files that differ from upstream, and some of
those are log files

Attachment: signature.asc
Description: PGP signature



Home | Main Index | Thread Index | Old Index