From owner-freebsd-current@FreeBSD.ORG Fri Aug 24 07:21:57 2012 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B5EB810656A3; Fri, 24 Aug 2012 07:21:56 +0000 (UTC) (envelope-from jlaffaye.freebsd@gmail.com) Received: from mail-ee0-f54.google.com (mail-ee0-f54.google.com [74.125.83.54]) by mx1.freebsd.org (Postfix) with ESMTP id B52268FC24; Fri, 24 Aug 2012 07:21:55 +0000 (UTC) Received: by eeke52 with SMTP id e52so611905eek.13 for ; Fri, 24 Aug 2012 00:21:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=fvSs1IAcJwqLv4AVOP87LRv5VAzbVoDZOb74bjRqqH4=; b=lJsj1OwCbRrJwmyghz4dbcV0h+biEE/XCjHH44CzRJx0pDSoAGh1XzzzXJaybfav1E zd6XfczbUPhWoUMHVJXIncnkw/9XJKqEx285sK52VhgSCwn1pj10KlOCUP2+3QUSU0Es mNvtR16C0Rhl+5OKWG32z0W3STNvGC14ArLLyDOrErLHY3/DUx0RdQa+87hjeg6MGRXK T3G02nJh1vvSC/6YxiW+Hq7snhbW9PmAVFMeXDRJFinh8I7EcBvRrQZq8W0RDtDBT2E0 n31ponpWq5EsaYoT3bc/MUQ229xKL/Xu4P12YzbC4Du2rZdxFqabPql2hXbWi5PKSPuS 5CAA== Received: by 10.14.172.129 with SMTP id t1mr6078105eel.34.1345792908657; Fri, 24 Aug 2012 00:21:48 -0700 (PDT) Received: from ?IPv6:2001:41d0:fc00:100:44f:9421:bae7:af9? ([2001:41d0:fc00:100:44f:9421:bae7:af9]) by mx.google.com with ESMTPS id y1sm27416800eel.0.2012.08.24.00.21.46 (version=SSLv3 cipher=OTHER); Fri, 24 Aug 2012 00:21:47 -0700 (PDT) Sender: Julien Laffaye Message-ID: <50372B8B.6040609@freebsd.org> Date: Fri, 24 Aug 2012 09:21:47 +0200 From: Julien Laffaye User-Agent: Thunderbird/7.0.1 MIME-Version: 1.0 To: Eitan Adler References: <97612B57-1255-4BB3-A6D3-FC74324C6D67@FreeBSD.org> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: ports@freebsd.org, Steve Wills , Baptiste Daroussin , current@freebsd.org 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: Fri, 24 Aug 2012 07:21:57 -0000 On 8/24/2012 3:57 AM, Eitan Adler wrote: > On 23 August 2012 18:19, Steve Wills wrote: >> Hi, >> >> It seems to me that renaming the pkg binary in /usr/sbin/pkg to /usr/sbin/pkg-bootstrap would make sense. From a user standpoint, it is confusing that running the command gets different results the second time it is run vs. the first time. I can imagine a user saying "I ran pkg, but it didn't do what they said it would. Now I run it again, and it does do what it is supposed to." Also, it would enable setting up a pkg-bootstrap man page separate from the pkg man page, without confusion about which one you're looking at. >> >> So, opinions? There may still be time to fix it for 9.1 if we can decide quickly. > no opinion on the name, but imho there should be *something* called > "pkg" on a fresh system. Users will install a new system, follow some > random how-to, and not realize they missed a step. If the default > package errors with exit code 1 and says "run pkgbootstrap first" that > is okay too. > > Ideally, pkgng bootstrap process will be part of the bsdinstall steps (using the pkg package tarball on the installation media). The bootstrap tool is in base (instead of only on the install media) essentially for installations without the installer (like creating jails). So its true that in these case you have to think to run the bootstrap command.