[Bug 284355] pkg-static: Fail to rename /var/* -> /var/db:Not a directory

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 27 Jan 2025 10:30:32 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=284355

--- Comment #3 from Baptiste Daroussin <bapt@FreeBSD.org> ---
This is a change in pkg code, which has become way more strict about the
flexibility offered to users, regarding the hierarchy of directories.
The reason behind these changes is over the last years, many packages replaced
directories with symlink to other directories and vice versa, which creates
very complex upgrade scenario to get it right.
I know this is against the flexibility for users/sysadmin, I am still stuggling
into find the right balance for both.

Another issue is the surprise it causes to users, as pkg does not have a way
without getting very slow, to warn the users in the summary instead of dying
like it does right now.

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