Re: [gentoo-user] switch to iproute2 and remove net-tools?
On Wed, Aug 31, 2011 at 22:32, Pandu Poluan pa...@poluan.info wrote: Why do you want to unmerge net-tools, anyway? 'equery depends' shows that nothing needs it, and why keep an entire package around when I have another package installed that does what the first package is supposed to do? ;)
Re: [gentoo-user] switch to iproute2 and remove net-tools?
Am 01.09.2011 15:47, schrieb Doug Hunley: On Wed, Aug 31, 2011 at 22:32, Pandu Poluan pa...@poluan.info wrote: Why do you want to unmerge net-tools, anyway? 'equery depends' shows that nothing needs it, and why keep an entire package around when I have another package installed that does what the first package is supposed to do? ;) `emerge -pv --depclean sys-apps/net-tools` is more reliable than equery for finding dependencies. It will tell you that net-tools is part of @system. It is generally discouraged for ebuild-developers to add dependencies to stuff that belongs to @system. Therefore equery does not help you find all dependencies. If you are so eager to remove net-tools, you can try to replace all binaries with symlinks to /bin/busybox. It should contain minimal implementations for most binaries like hostname. Note that this can seriously break your system if the busybox implementation is insufficient. Hope this helps, Florian Philipp signature.asc Description: OpenPGP digital signature
Re: [gentoo-user] switch to iproute2 and remove net-tools?
On Thu, 01 Sep 2011 16:16:05 +0200 Florian Philipp li...@binarywings.net wrote: Am 01.09.2011 15:47, schrieb Doug Hunley: On Wed, Aug 31, 2011 at 22:32, Pandu Poluan pa...@poluan.info wrote: Why do you want to unmerge net-tools, anyway? 'equery depends' shows that nothing needs it, and why keep an entire package around when I have another package installed that does what the first package is supposed to do? ;) `emerge -pv --depclean sys-apps/net-tools` is more reliable than equery for finding dependencies. It will tell you that net-tools is part of @system. It is generally discouraged for ebuild-developers to add dependencies to stuff that belongs to @system. Therefore equery does not help you find all dependencies. If you are so eager to remove net-tools, you can try to replace all binaries with symlinks to /bin/busybox. It should contain minimal implementations for most binaries like hostname. Note that this can seriously break your system if the busybox implementation is insufficient. *Especially* don't use BusyBox tar. Been there, done that. -- Alan McKinnnon Systems Engineer^W Technician Internet Solutions 011 575 7585 alan.mckin...@is.co.za
Re: [gentoo-user] switch to iproute2 and remove net-tools?
Well, tar is not a part of net-tools, so Doug shouldn't have any problems there ;) Rgds, On 2011-09-02, Alan McKinnon alan.mckin...@gmail.com wrote: On Thu, 01 Sep 2011 16:16:05 +0200 Florian Philipp li...@binarywings.net wrote: Am 01.09.2011 15:47, schrieb Doug Hunley: On Wed, Aug 31, 2011 at 22:32, Pandu Poluan pa...@poluan.info wrote: Why do you want to unmerge net-tools, anyway? 'equery depends' shows that nothing needs it, and why keep an entire package around when I have another package installed that does what the first package is supposed to do? ;) `emerge -pv --depclean sys-apps/net-tools` is more reliable than equery for finding dependencies. It will tell you that net-tools is part of @system. It is generally discouraged for ebuild-developers to add dependencies to stuff that belongs to @system. Therefore equery does not help you find all dependencies. If you are so eager to remove net-tools, you can try to replace all binaries with symlinks to /bin/busybox. It should contain minimal implementations for most binaries like hostname. Note that this can seriously break your system if the busybox implementation is insufficient. *Especially* don't use BusyBox tar. Been there, done that. -- Alan McKinnnon Systems Engineer^W Technician Internet Solutions 011 575 7585 alan.mckin...@is.co.za -- -- Pandu E Poluan - IT Optimizer My website: http://pandu.poluan.info/
Re: [gentoo-user] switch to iproute2 and remove net-tools?
(Sorry for top posting) baselayout 1.12 don't need net-tools, but other packages might need net-tools. Why do you want to unmerge net-tools, anyway? Rgds, On 2011-09-01, Doug Hunley doug.hun...@gmail.com wrote: I decided to switch to iproute2 and it went fine, until I removed net-tools. At that point, I got errors about /bin/hostname being missing. I did a quick search and found http://forums.gentoo.org/viewtopic-t-443540-start-0.html where the dev says baselayout 1.12 doesn't *need* the hostname command. I'm running ~amd w/ openrc and baselayout-2,0,3, yet my system complains. Anyone know how to kill net-tools completely? Thanks! -- -- Pandu E Poluan - IT Optimizer My website: http://pandu.poluan.info/