From owner-freebsd-current@FreeBSD.ORG Thu Aug 30 17:02:59 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D0B83106566C; Thu, 30 Aug 2012 17:02:59 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from bigwig.baldwin.cx (bigknife-pt.tunnel.tserv9.chi1.ipv6.he.net [IPv6:2001:470:1f10:75::2]) by mx1.freebsd.org (Postfix) with ESMTP id A2AF48FC16; Thu, 30 Aug 2012 17:02:59 +0000 (UTC) Received: from jhbbsd.localnet (unknown [209.249.190.124]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id C612FB91C; Thu, 30 Aug 2012 13:02:58 -0400 (EDT) From: John Baldwin To: Tijl Coosemans Date: Thu, 30 Aug 2012 12:55:42 -0400 User-Agent: KMail/1.13.5 (FreeBSD/8.2-CBSD-20110714-p17; KDE/4.5.5; amd64; ; ) References: <97612B57-1255-4BB3-A6D3-FC74324C6D67@FreeBSD.org> <201208271224.20329.jhb@freebsd.org> <503F7B15.6050607@coosemans.org> In-Reply-To: <503F7B15.6050607@coosemans.org> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <201208301255.42473.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (bigwig.baldwin.cx); Thu, 30 Aug 2012 13:02:58 -0400 (EDT) Cc: freebsd-current@freebsd.org, Doug Barton Subject: Re: pkgng suggestion: renaming /usr/sbin/pkg to /usr/sbin/pkg-bootstrap X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Aug 2012 17:02:59 -0000 On Thursday, August 30, 2012 10:39:17 am Tijl Coosemans wrote: > On 27-08-2012 18:24, John Baldwin wrote: > > On Sunday, August 26, 2012 4:37:53 pm Doug Barton wrote: > >> The problem is that we don't really support the idea of things in the > >> base magically deleting themselves. > >> > >> As I have said in previous messages, the bootstrapping problem is being > >> overblown by several orders of magnitude. For newly installed systems > >> where pkg is the default, /usr/local/bin/pkg will be installed. So there > >> is no bootstrapping problem. > >> > >> For already-installed systems who wish to switch to pkg, they can > >> install from /usr/ports, or use the pkg bootstrap tool in the base. > >> Given that they will be intentionally making this change, and there will > >> be instructions written up on how to do this which include the > >> bootstrapping step, once again this is a non-issue. > >> > >> The whole idea of having every call to /usr/local/sbin/pkg pass through > >> /usr/sbin/pkg in order to help a tiny minority of users with a one-time > >> bootstrapping issue is just plain ludicrous. > > > > I agree. Even if we keep /usr/sbin/pkg, we will presumably want to remove > > it from the base in a year or so via 'make delete-old', etc. Given that, > > I'm not sure we need it there in the first place. > > What if you pkg_delete \* or rm -rf /usr/local? Do you have to "reboot" > pkg then? Yes, if we've decided it (pkgng) should not be part of the base. This doesn't strike me as that weird. It seems similar to how one has to bootstrap, say, MacPorts. I think having pkgng self-contained is a feature, and that having /usr/sbin/pkg is of limited usefulness and is open to being stale. -- John Baldwin