Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 05 Oct 2022 14:58:10 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 263879] pkgbase removes critical etc files upon upgrade
Message-ID:  <bug-263879-227-toWlWUpLbA@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-263879-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-263879-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D263879

--- 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 ca=
ses
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 w=
e'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 crit=
ical
/etc files?

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-263879-227-toWlWUpLbA>