Why clean /usr/local?

Roger Marquis marquis at roble.com
Sun Sep 28 20:14:05 UTC 2014


Joe Marcus Clarke wrote:
> It was pointed out on the Tinderbox list that pkg now cleans up
> directories like /usr/local/bin (i.e., removes them) if all ports are
> uninstalled.  This, of course, ticks off TB.

That can't be correct behavior.  /usr/local/bin should NEVER be cleaned
up.  A number of directories under /usr/local are shared with
administrative scripts and related files.  These are not part of the pkg
system nor should they be.

If pkg is actually deleting files or directories not owned by any package
it is a bug, a bug severe enough to warrant review of the policies,
processes and/or individuals approving checked-in code.


Roger


More information about the freebsd-pkg mailing list