Re: pkgng suggestion: renaming /usr/sbin/pkg to

看板FB_current作者時間13年前 (2012/08/27 03:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串40/74 (看更多)
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 _______________________________________________ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
文章代碼(AID): #1GEdcpDh (FB_current)
討論串 (同標題文章)
文章代碼(AID): #1GEdcpDh (FB_current)