unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* drop net-tools from %base-packages?
@ 2020-01-01 17:13 Simon Josefsson
  2020-01-08 13:33 ` Ludovic Courtès
  2020-01-11 21:20 ` Ludovic Courtès
  0 siblings, 2 replies; 6+ messages in thread
From: Simon Josefsson @ 2020-01-01 17:13 UTC (permalink / raw)
  To: guix-devel

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

Hello!

While preparing a new release of GNU Inetutils, I read the following
comment in ./gnu/system.scm

         net-tools                        ; XXX: remove when Inetutils suffices

and looked into what possible tools Guix would want from inetutils that
aren't available already.

I'm not sure how to best find out what tools are actually used by Guix,
but on my system the following tools appear to be installed:

root@hamster ~# ls -la /run/current-system/profile/*bin/|grep net-tool|awk '{ print $9 }'
netstat
route
arp
ipmaddr
iptunnel
mii-tool
nameif
plipconfig
rarp
slattach
root@hamster ~# 

Is anything else from net-tools used?

Most of the tools are esoteric.  I suspect the more well-known tools are
'route', 'netstat', 'arp' and 'rarp'.

My Debian buster laptop has none of the tools above installed.  In fact,
the net-tools package is not even installed by default.  It seems all
uses have transitioned over to the modern 'iproute' suite.

Thus, I suggest Guix drop net-tools from its required tools.  People who
are nostalgic about the tools can install them separately, just like on
Debian.

I wouldn't know how to comprehensible test the patch below, but I'm sure
people will notice if there are problems if it is applied. :-)

/Simon

From 3ac6e4c9853a0cbc6fb42a2d263bb03bb9583c34 Mon Sep 17 00:00:00 2001
From: Simon Josefsson <simon@josefsson.org>
Date: Wed, 1 Jan 2020 18:05:47 +0100
Subject: [PATCH] system: Drop net-tools from %BASE-PACKAGES (replaced by
 iproute2).

* gnu/system.scm (%base-packages): Remove net-tools.
---
 gnu/system.scm | 1 -
 1 file changed, 1 deletion(-)

diff --git a/gnu/system.scm b/gnu/system.scm
index abdbb081e6..fbc72ada3d 100644
--- a/gnu/system.scm
+++ b/gnu/system.scm
@@ -574,7 +574,6 @@ of PROVENANCE-SERVICE-TYPE to its services."
          iw wireless-tools
 
          iproute
-         net-tools                        ; XXX: remove when Inetutils suffices
          man-db
          info-reader                     ;the standalone Info reader (no Perl)
 
-- 
2.20.1


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 227 bytes --]

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

* Re: drop net-tools from %base-packages?
  2020-01-01 17:13 drop net-tools from %base-packages? Simon Josefsson
@ 2020-01-08 13:33 ` Ludovic Courtès
  2020-01-08 21:19   ` Marius Bakke
  2020-01-11 21:20 ` Ludovic Courtès
  1 sibling, 1 reply; 6+ messages in thread
From: Ludovic Courtès @ 2020-01-08 13:33 UTC (permalink / raw)
  To: Simon Josefsson; +Cc: guix-devel

Hello Simon!

Simon Josefsson <simon@josefsson.org> skribis:

> I'm not sure how to best find out what tools are actually used by Guix,
> but on my system the following tools appear to be installed:
>
> root@hamster ~# ls -la /run/current-system/profile/*bin/|grep net-tool|awk '{ print $9 }'
> netstat
> route
> arp
> ipmaddr
> iptunnel
> mii-tool
> nameif
> plipconfig
> rarp
> slattach
> root@hamster ~# 
>
> Is anything else from net-tools used?
>
> Most of the tools are esoteric.  I suspect the more well-known tools are
> 'route', 'netstat', 'arp' and 'rarp'.

Of these I use ‘netstat’ regularly, and ‘route’ sometimes.

> My Debian buster laptop has none of the tools above installed.  In fact,
> the net-tools package is not even installed by default.  It seems all
> uses have transitioned over to the modern 'iproute' suite.
>
> Thus, I suggest Guix drop net-tools from its required tools.  People who
> are nostalgic about the tools can install them separately, just like on
> Debian.

That sounds reasonable to me.

Any objections, people?  If not let’s do that.

Thanks,
Ludo’.

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

* Re: drop net-tools from %base-packages?
  2020-01-08 13:33 ` Ludovic Courtès
@ 2020-01-08 21:19   ` Marius Bakke
  2020-01-08 21:47     ` Tobias Geerinckx-Rice
  0 siblings, 1 reply; 6+ messages in thread
From: Marius Bakke @ 2020-01-08 21:19 UTC (permalink / raw)
  To: Ludovic Courtès, Simon Josefsson; +Cc: guix-devel

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

Ludovic Courtès <ludo@gnu.org> writes:

> Hello Simon!
>
> Simon Josefsson <simon@josefsson.org> skribis:
>
>> I'm not sure how to best find out what tools are actually used by Guix,
>> but on my system the following tools appear to be installed:
>>
>> root@hamster ~# ls -la /run/current-system/profile/*bin/|grep net-tool|awk '{ print $9 }'
>> netstat
>> route
>> arp
>> ipmaddr
>> iptunnel
>> mii-tool
>> nameif
>> plipconfig
>> rarp
>> slattach
>> root@hamster ~# 
>>
>> Is anything else from net-tools used?
>>
>> Most of the tools are esoteric.  I suspect the more well-known tools are
>> 'route', 'netstat', 'arp' and 'rarp'.
>
> Of these I use ‘netstat’ regularly, and ‘route’ sometimes.

I've finally gotten used to 'ss' to the point where I reach for it
before 'netstat'.  It's also shorter to type, like 'ip r' vs 'route'.

>> My Debian buster laptop has none of the tools above installed.  In fact,
>> the net-tools package is not even installed by default.  It seems all
>> uses have transitioned over to the modern 'iproute' suite.
>>
>> Thus, I suggest Guix drop net-tools from its required tools.  People who
>> are nostalgic about the tools can install them separately, just like on
>> Debian.
>
> That sounds reasonable to me.
>
> Any objections, people?  If not let’s do that.

None from me, I've considered this in the past too.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

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

* Re: drop net-tools from %base-packages?
  2020-01-08 21:19   ` Marius Bakke
@ 2020-01-08 21:47     ` Tobias Geerinckx-Rice
  2020-01-12 19:06       ` Maxim Cournoyer
  0 siblings, 1 reply; 6+ messages in thread
From: Tobias Geerinckx-Rice @ 2020-01-08 21:47 UTC (permalink / raw)
  To: guix-devel; +Cc: Ludovic Courtès, Simon Josefsson

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

My opinion's bit-identical to Marius's.

Marius Bakke 写道:
> I've finally gotten used to 'ss' to the point where I reach for 
> it
> before 'netstat'.  It's also shorter to type, like 'ip r' vs 
> 'route'.
>
>> Any objections, people?  If not let’s do that.
>
> None from me, I've considered this in the past too.

Kind regards,

T G-R

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

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

* Re: drop net-tools from %base-packages?
  2020-01-01 17:13 drop net-tools from %base-packages? Simon Josefsson
  2020-01-08 13:33 ` Ludovic Courtès
@ 2020-01-11 21:20 ` Ludovic Courtès
  1 sibling, 0 replies; 6+ messages in thread
From: Ludovic Courtès @ 2020-01-11 21:20 UTC (permalink / raw)
  To: Simon Josefsson; +Cc: guix-devel

Hello,

Simon Josefsson <simon@josefsson.org> skribis:

> From 3ac6e4c9853a0cbc6fb42a2d263bb03bb9583c34 Mon Sep 17 00:00:00 2001
> From: Simon Josefsson <simon@josefsson.org>
> Date: Wed, 1 Jan 2020 18:05:47 +0100
> Subject: [PATCH] system: Drop net-tools from %BASE-PACKAGES (replaced by
>  iproute2).
>
> * gnu/system.scm (%base-packages): Remove net-tools.

Finally applied, thanks!

Ludo’.

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

* Re: drop net-tools from %base-packages?
  2020-01-08 21:47     ` Tobias Geerinckx-Rice
@ 2020-01-12 19:06       ` Maxim Cournoyer
  0 siblings, 0 replies; 6+ messages in thread
From: Maxim Cournoyer @ 2020-01-12 19:06 UTC (permalink / raw)
  To: Tobias Geerinckx-Rice; +Cc: guix-devel, Simon Josefsson

Hello,

Tobias Geerinckx-Rice <me@tobias.gr> writes:

> My opinion's bit-identical to Marius's.
>
> Marius Bakke 写道:
>> I've finally gotten used to 'ss' to the point where I reach for it
>> before 'netstat'.  It's also shorter to type, like 'ip r' vs
>> 'route'.
>>
>>> Any objections, people?  If not let’s do that.
>>
>> None from me, I've considered this in the past too.

I'm also in favor of dropping the 'deprecated' tools.

Maxim

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

end of thread, other threads:[~2020-01-12 19:06 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-01 17:13 drop net-tools from %base-packages? Simon Josefsson
2020-01-08 13:33 ` Ludovic Courtès
2020-01-08 21:19   ` Marius Bakke
2020-01-08 21:47     ` Tobias Geerinckx-Rice
2020-01-12 19:06       ` Maxim Cournoyer
2020-01-11 21:20 ` Ludovic Courtès

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).