Problems with packaging /etc and etcupdate(8)

Brad Davis brd at FreeBSD.org
Mon Nov 13 19:51:51 UTC 2017


On Mon, Nov 13, 2017 at 09:26:49AM -0800, John Baldwin wrote:
> I had assumed that in a pkgbase setup, one wouldn't use etcupdate or mergemaster.
> Instead, my understanding is that pkg was going to "learn" about configuration
> files and would grow etcupdate-like functionality to merge in changes to configuration
> files during upgrades (and would also support 'pkg confdiff', etc. so that
> 'pkg confdiff -a' would replace 'etcupdate diff' for example, but would also support
> packages built from ports, not just base system conf files).  Each pkgbase package
> would contain its associated /etc files as configuration files in this scheme.

To that end Will and I have been working on a patch to move all files in head/etc/
to the places they belong.  I am probably ~75% of the way through them so
far.  Once I get the last bit wrapped up, I will post a review.


Regards,
Brad Davis



More information about the freebsd-pkgbase mailing list