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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 29947 in the body.
You can then email your comments to 29947 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gzip <at> gnu.org:
bug#29947; Package gzip. (Tue, 02 Jan 2018 17:10:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Kristýna Streitová <kstreitova <at> suse.com>:
New bug report received and forwarded. Copy sent to bug-gzip <at> gnu.org. (Tue, 02 Jan 2018 17:10:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

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




Reply sent to Paul Eggert <eggert <at> cs.ucla.edu>:
You have taken responsibility. (Wed, 03 Jan 2018 03:08:02 GMT) Full text and rfc822 format available.

Notification sent to Kristýna Streitová <kstreitova <at> suse.com>:
bug acknowledged by developer. (Wed, 03 Jan 2018 03:08:02 GMT) Full text and rfc822 format available.

Message #10 received at 29947-done <at> debbugs.gnu.org (full text, mbox):

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 1 (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)]

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 31 Jan 2018 12:24:04 GMT) Full text and rfc822 format available.

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.