public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] switch to iproute2 and remove net-tools?
@ 2011-09-01  0:46 Doug Hunley
  2011-09-01  2:32 ` Pandu Poluan
  0 siblings, 1 reply; 6+ messages in thread
From: Doug Hunley @ 2011-09-01  0:46 UTC (permalink / raw
  To: gentoo-user

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!



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] switch to iproute2 and remove net-tools?
  2011-09-01  0:46 [gentoo-user] switch to iproute2 and remove net-tools? Doug Hunley
@ 2011-09-01  2:32 ` Pandu Poluan
  2011-09-01 13:47   ` Doug Hunley
  0 siblings, 1 reply; 6+ messages in thread
From: Pandu Poluan @ 2011-09-01  2:32 UTC (permalink / raw
  To: gentoo-user

(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.hunley@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/



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] switch to iproute2 and remove net-tools?
  2011-09-01  2:32 ` Pandu Poluan
@ 2011-09-01 13:47   ` Doug Hunley
  2011-09-01 14:16     ` Florian Philipp
  0 siblings, 1 reply; 6+ messages in thread
From: Doug Hunley @ 2011-09-01 13:47 UTC (permalink / raw
  To: gentoo-user

On Wed, Aug 31, 2011 at 22:32, Pandu Poluan <pandu@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? ;)



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] switch to iproute2 and remove net-tools?
  2011-09-01 13:47   ` Doug Hunley
@ 2011-09-01 14:16     ` Florian Philipp
  2011-09-01 21:59       ` Alan McKinnon
  0 siblings, 1 reply; 6+ messages in thread
From: Florian Philipp @ 2011-09-01 14:16 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1004 bytes --]

Am 01.09.2011 15:47, schrieb Doug Hunley:
> On Wed, Aug 31, 2011 at 22:32, Pandu Poluan <pandu@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


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 262 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] switch to iproute2 and remove net-tools?
  2011-09-01 14:16     ` Florian Philipp
@ 2011-09-01 21:59       ` Alan McKinnon
  2011-09-02  3:25         ` Pandu Poluan
  0 siblings, 1 reply; 6+ messages in thread
From: Alan McKinnon @ 2011-09-01 21:59 UTC (permalink / raw
  To: gentoo-user

On Thu, 01 Sep 2011 16:16:05 +0200
Florian Philipp <lists@binarywings.net> wrote:

> Am 01.09.2011 15:47, schrieb Doug Hunley:
> > On Wed, Aug 31, 2011 at 22:32, Pandu Poluan <pandu@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.mckinnon@is.co.za



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] switch to iproute2 and remove net-tools?
  2011-09-01 21:59       ` Alan McKinnon
@ 2011-09-02  3:25         ` Pandu Poluan
  0 siblings, 0 replies; 6+ messages in thread
From: Pandu Poluan @ 2011-09-02  3:25 UTC (permalink / raw
  To: gentoo-user

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.mckinnon@gmail.com> wrote:
> On Thu, 01 Sep 2011 16:16:05 +0200
> Florian Philipp <lists@binarywings.net> wrote:
>
>> Am 01.09.2011 15:47, schrieb Doug Hunley:
>> > On Wed, Aug 31, 2011 at 22:32, Pandu Poluan <pandu@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.mckinnon@is.co.za
>
>


-- 
--
Pandu E Poluan - IT Optimizer
My website: http://pandu.poluan.info/



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2011-09-02  3:26 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-09-01  0:46 [gentoo-user] switch to iproute2 and remove net-tools? Doug Hunley
2011-09-01  2:32 ` Pandu Poluan
2011-09-01 13:47   ` Doug Hunley
2011-09-01 14:16     ` Florian Philipp
2011-09-01 21:59       ` Alan McKinnon
2011-09-02  3:25         ` Pandu Poluan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox