[Bug 263879] pkgbase removes critical etc files upon upgrade

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 05 Oct 2022 14:58:10 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=263879

--- Comment #5 from Mark Johnston <markj@FreeBSD.org> ---
(In reply to Mark Johnston from comment #4)
That check in pkg_jobs_update_universe_item_priority() is definitely not an
optimization.  Without it, pkg will not split jobs at all, and there are cases
where it is necessary.

So, what can we do?  Basically, the problem is that upgrades of certain
packages must not be split, otherwise critical config files are lost.  So we'd
need some package flag which says, "don't split an upgrade of this package,
pick a different one" and hope that at least one of the conflicting packages
does not have this flag set.

Alternately, can we change pkg/pkgbase to not manage or remove certain critical
/etc files?

-- 
You are receiving this mail because:
You are the assignee for the bug.