From owner-freebsd-current@FreeBSD.ORG Thu Aug 30 17:10:27 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4306B106566B; Thu, 30 Aug 2012 17:10:27 +0000 (UTC) (envelope-from utisoft@gmail.com) Received: from mail-bk0-f54.google.com (mail-bk0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 6D9518FC0C; Thu, 30 Aug 2012 17:10:25 +0000 (UTC) Received: by bkcje9 with SMTP id je9so1125929bkc.13 for ; Thu, 30 Aug 2012 10:10:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=znc46HAxkzUMR527pBsJsZvETfh7TjEumCLrmCvqZHE=; b=lDXJ+aFUyc4ceIkHOZT/Rqry+nYl/EAuLKtbepdP//JV7SJxahFEmkdh9dmrrWuCp0 20KZE41TY7SdWJaTKOSP58t34EbGlHQCU0wemrUgf08VcPDNj0FgPTu3c2nDNmR4ONXD +UiCeGM6/0+ARDVjrhoMYyq+Z/3dE1x9MC22viGCem/ylm3XU8K8lDTAZm0c1t7Jf5xr im1ZF/Rvedew3SkDLyq8FjLHhFC7uEg3PL1NmaqzugSI7LvmcnaM1uAraYABeIfVzD0I 1kyqrXaTG/8MszOu5I/gQz1HZYt4X5vxFrENgmQ9jFqjH3DpiwRKYHD1KJQc2MugxzcC Odew== MIME-Version: 1.0 Received: by 10.204.8.84 with SMTP id g20mr3128648bkg.126.1346346624858; Thu, 30 Aug 2012 10:10:24 -0700 (PDT) Received: by 10.204.10.141 with HTTP; Thu, 30 Aug 2012 10:10:24 -0700 (PDT) Received: by 10.204.10.141 with HTTP; Thu, 30 Aug 2012 10:10:24 -0700 (PDT) In-Reply-To: <201208301255.42473.jhb@freebsd.org> References: <97612B57-1255-4BB3-A6D3-FC74324C6D67@FreeBSD.org> <201208271224.20329.jhb@freebsd.org> <503F7B15.6050607@coosemans.org> <201208301255.42473.jhb@freebsd.org> Date: Thu, 30 Aug 2012 18:10:24 +0100 Message-ID: From: Chris Rees To: John Baldwin Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Tijl Coosemans , 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:10:27 -0000 On 30 Aug 2012 18:03, "John Baldwin" wrote: > > 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. Difference is, MacPorts isn't the official Mac distribution centre. Leaving out pkg-bootstrap (or whatever) is marginalising ports as a non-integral part of the OS. How useful is base on its own, really? Chris