From owner-freebsd-arch@FreeBSD.ORG Sat Nov 12 10:39:20 2011 Return-Path: Delivered-To: arch@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0B21F106566B; Sat, 12 Nov 2011 10:39:20 +0000 (UTC) (envelope-from ed@hoeg.nl) Received: from mx0.hoeg.nl (mx0.hoeg.nl [IPv6:2a01:4f8:101:5343::aa]) by mx1.freebsd.org (Postfix) with ESMTP id A1B1E8FC08; Sat, 12 Nov 2011 10:39:19 +0000 (UTC) Received: by mx0.hoeg.nl (Postfix, from userid 1000) id 8D4FE2A28CC8; Sat, 12 Nov 2011 11:39:18 +0100 (CET) Date: Sat, 12 Nov 2011 11:39:18 +0100 From: Ed Schouten To: Doug Barton Message-ID: <20111112103918.GV2164@hoeg.nl> References: <20111110123919.GF2164@hoeg.nl> <4EBC4B6E.4060607@FreeBSD.org> <20111111112821.GP2164@hoeg.nl> <4EBDC06F.6020907@FreeBSD.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="XCIqNWEteo88hZlY" Content-Disposition: inline In-Reply-To: <4EBDC06F.6020907@FreeBSD.org> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: arch@FreeBSD.org Subject: Re: The strangeness called `sbin' X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Nov 2011 10:39:20 -0000 --XCIqNWEteo88hZlY Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi Doug, * Doug Barton , 20111112 01:40: > > But the point is: there are quite some tools in */sbin that should be > > moved to */bin. I can at least point out 15 of them. >=20 > Why don't we discuss those specifics first? In my opinion at least the following binaries are candidates of apps that can be moved from sbin to bin, as they all work to some degree without root privileges: - ac - arp - config - daemon - dmesg - ifconfig - jls - kldstat - lastlogin - md5 - mtree - ping - ping6 - pkg_info - pkg_version - pstat - rcorder - rmd160 - sendmail - sha1 - sha256 - sysctl > For those individual tools, yes. But you're discounting the collateral > damage. Being? > Um, if 'make installworld' were to delete existing stuff that would be > an overwhelming POLA violation. But my patch doesn't do that. Please take a look at what it does. The user is kindly asked to move the binaries himself. Otherwise `make installworld' simply refuses to run. Unrelated to that, `make installworld' already deletes existing files =66rom the DESTDIR: - /.profile - /.cshrc - /sys - Some man/nls-related files. --=20 Ed Schouten WWW: http://80386.nl/ --XCIqNWEteo88hZlY Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (FreeBSD) iQIcBAEBAgAGBQJOvkzWAAoJEG5e2P40kaK7Ad8P/jP0/t9HX/JZzb7Zqtha9tLl N3rUzU9ueWNtStuLwqGevDP0l+G31BU2eWMte1/oMQVeEb2LtkyzqaYJSMG/XWu0 nDg1/seSpXUGU4UOFJyMm+I9kXQHHF0VMtSYGMdH4dk7kM8xeLxJf9tx/HdPxJbM 1MiNXF3+zaHkXwuSvST/9P3AXGvYkh/Z9fufSKsl/S7GfS3VDB0f1qGC4MD6bilF AwgTxNndnJZR3RJ0z0JNRNyoeKAING8PUTlZevfCHD9A9J1GcAnYKcsGK/mel3KN CQQ/rpnEMf+vy8vuqjAy2L2/lnJEkHPekOJG/FZFqH0YFBrAoLHUM+g+doSlfKO/ aFhEANGiCnyrtW0loQyDagFjUcUInFOBpp4uA6IDUtFvBZpQZCl07IoVGfELPEJy XXFEoM8PDdxEIDlovEFUahAMcGMZiNtIqzJaIQ572bVhLrH8q42b1ODBoMRmqeRQ 3IId47gAvNSA3wM9toTxUBtEApQ+N9TWVMOowXzdCP1uwbQHwy5OcFYZdi7YqkRF bfJ6iFLHK4HAm6vMspTUsPdnKeHAxGFSx1j/YafORlTg58Wv/R0j20DehAUOpk/H 74+jnn2I7NlN8Ojd2K+50d+LuBGaIHbSariWS5aftJWCTywyobe+ZWRC9L3118SY fu0/0MQk9nN1A4wUtL/9 =j3dO -----END PGP SIGNATURE----- --XCIqNWEteo88hZlY--