From owner-freebsd-ports@FreeBSD.ORG Sun Aug 26 19:08:50 2012 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 60D571065670; Sun, 26 Aug 2012 19:08:50 +0000 (UTC) (envelope-from freebsd@damnhippie.dyndns.org) Received: from duck.symmetricom.us (duck.symmetricom.us [206.168.13.214]) by mx1.freebsd.org (Postfix) with ESMTP id 3B2828FC08; Sun, 26 Aug 2012 19:08:36 +0000 (UTC) Received: from damnhippie.dyndns.org (daffy.symmetricom.us [206.168.13.218]) by duck.symmetricom.us (8.14.5/8.14.5) with ESMTP id q7QJ8ZCA068657; Sun, 26 Aug 2012 13:08:35 -0600 (MDT) (envelope-from freebsd@damnhippie.dyndns.org) Received: from [172.22.42.240] (revolution.hippie.lan [172.22.42.240]) by damnhippie.dyndns.org (8.14.3/8.14.3) with ESMTP id q7QJ8WjL029341; Sun, 26 Aug 2012 13:08:32 -0600 (MDT) (envelope-from freebsd@damnhippie.dyndns.org) From: Ian Lepore To: Baptiste Daroussin In-Reply-To: <20120826185810.GB42842@ithaqua.etoilebsd.net> References: <97612B57-1255-4BB3-A6D3-FC74324C6D67@FreeBSD.org> <20120824081543.GB2998@ithaqua.etoilebsd.net> <50380269.6020003@FreeBSD.org> <20120825000148.GF37867@ithaqua.etoilebsd.net> <50396113.3080607@cyberleo.net> <20120826122649.GA8995@stack.nl> <20120826125846.GD37534@ithaqua.etoilebsd.net> <503A6D4B.9070606@FreeBSD.org> <20120826185810.GB42842@ithaqua.etoilebsd.net> Content-Type: text/plain; charset="us-ascii" Date: Sun, 26 Aug 2012 13:08:32 -0600 Message-ID: <1346008112.1140.76.camel@revolution.hippie.lan> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Cc: ports@freebsd.org, Doug Barton , current@freebsd.org, Tjoelker , Steve Wills , CyberLeo Kitsana , Jilles Subject: Re: pkgng suggestion: renaming /usr/sbin/pkg to /usr/sbin/pkg-bootstrap X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Aug 2012 19:08:50 -0000 On Sun, 2012-08-26 at 20:58 +0200, Baptiste Daroussin wrote: > On Sun, Aug 26, 2012 at 11:39:07AM -0700, Doug Barton wrote: > > On 08/26/2012 05:58, Baptiste Daroussin wrote: > > This isn't the security issue I was talking about by having sbin/pkg > > pass every command line to local/sbin/pkg. > > > > You keep saying that you have no objections to changing the name. I am > > asking you to do that. I don't care if it is pkg-bootstrap or something > > else you like better. But please change the name to not be pkg, and > > limit the functionality of the tool to bootstrapping the pkg package. > > > > I received more feedback about keep pkg and changing it to > pkg-bootstrap, so what should I do, changing it because you are asking for it? Would this get better if the bootstrap tool were named pkg and were installed on a fresh system at /usr/local/sbin, so that it in effect replaces itself with the real thing, and has no need to leave a forwarding stub in /usr/sbin ? Maybe it could rename itself to /usr/local/sbin/pkg-bootstrap as part of replacing itself, so that you could re-bootstrap your way out of a problem later. Hmmm, might have to be careful that future updates don't replace the real thing with a newer bootstrap program. -- Ian