GNU bug report logs - #29947
Replace 'netstat' with 'ss'

Previous Next

Package: gzip;

Reported by: Kristýna Streitová <kstreitova <at> suse.com>

Date: Tue, 2 Jan 2018 17:10:02 UTC

Severity: normal

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Kristýna Streitová
 <kstreitova <at> suse.com>
Subject: bug#29947: closed (Re: bug#29947: Replace 'netstat' with 'ss')
Date: Wed, 03 Jan 2018 03:08:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#29947: Replace 'netstat' with 'ss'

which was filed against the gzip package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 29947 <at> debbugs.gnu.org.

-- 
29947: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=29947
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Kristýna Streitová <kstreitova <at> suse.com>,
 29947-done <at> debbugs.gnu.org
Subject: Re: bug#29947: Replace 'netstat' with 'ss'
Date: Tue, 2 Jan 2018 19:07:22 -0800
[Message part 3 (text/plain, inline)]
Thanks. I installed the attached slightly-simpler patch into Gnulib, and it 
should appear in the next Gzip release.
[0001-test-framework-sh-avoid-netstat.txt (text/plain, attachment)]
[Message part 5 (message/rfc822, inline)]
From: Kristýna Streitová <kstreitova <at> suse.com>
To: bug-gzip <at> gnu.org
Subject: Replace 'netstat' with 'ss'
Date: Tue, 2 Jan 2018 16:27:50 +0100
Hello,

Since 'netstat' command (included in the 'net-tools' package) is
deprecated, we should switch from 'netstat -n' to 'ss -n' in
tests/init.sh file.

I'm adding a simple patch:

Index: gzip-1.8/tests/init.sh
===================================================================
--- gzip-1.8.orig/tests/init.sh
+++ gzip-1.8/tests/init.sh
@@ -525,7 +525,7 @@ rand_bytes_ ()
   fi

   n_plus_50_=`expr $n_ + 50`
-  cmds_='date; date +%N; free; who -a; w; ps auxww; ps ef; netstat -n'
+  cmds_='date; date +%N; free; who -a; w; ps auxww; ps ef; ss -n'
   data_=` (eval "$cmds_") 2>&1 | gzip `

   # Ensure that $data_ has length at least 50+$n_


Best regards,
Kristyna Streitova



This bug report was last modified 7 years and 146 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.