From owner-freebsd-pkg@FreeBSD.ORG Sun Sep 28 20:14:05 2014 Return-Path: Delivered-To: freebsd-pkg@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D140292E for ; Sun, 28 Sep 2014 20:14:05 +0000 (UTC) Received: from mx5.roble.com (mx5.roble.com [206.40.34.5]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mx5.roble.com", Issuer "mx5.roble.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id C2351FF5 for ; Sun, 28 Sep 2014 20:14:05 +0000 (UTC) Date: Sun, 28 Sep 2014 13:07:07 -0700 (PDT) From: Roger Marquis To: freebsd-pkg@freebsd.org Subject: Re: Why clean /usr/local? In-Reply-To: References: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Binary package management and package tools discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Sep 2014 20:14:05 -0000 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