← Back to team overview

touch-packages team mailing list archive

[Bug 1251563] Re: netstat command returns nozero even if successively executing

 

Hi Chris,

The package in -proposed fixed this bug.

Test-case from description. Details below.

	root@ubuntu:~# apt-cache madison net-tools
	 net-tools | 1.60-25ubuntu2.1 | http://ports.ubuntu.com/ubuntu-ports/ trusty-proposed/main ppc64el Packages
	[...]

	root@ubuntu:~# apt-get install net-tools
	[...]
	Get:1 http://ports.ubuntu.com/ubuntu-ports/ trusty-proposed/main net-tools ppc64el 1.60-25ubuntu2.1 [172 kB]
	[...]

	root@ubuntu:~# dpkg -s net-tools | grep ^Version:
	Version: 1.60-25ubuntu2.1
	 
	root@ubuntu:~# netstat -s 1>/dev/null 2>&1 ; echo $?
	0


** Tags removed: verification-needed
** Tags added: verification-done

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to net-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1251563

Title:
  netstat command returns nozero even if successively executing

Status in “net-tools” package in Ubuntu:
  Fix Released
Status in “net-tools” source package in Trusty:
  Fix Committed
Status in “net-tools” package in Debian:
  Fix Released

Bug description:
  for example:
  in Ubuntu
       $ netstat -s 1>/dev/null 2>&1 ; echo $?
       1
  in CentOS
       $ netstat -s 1>/dev/null 2>&1 ; echo $?
       0

  My test environment is Ubuntu 12.04.03.  "-s" is a existing argument
  to netstat, so it should be executed successively and return zero.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/net-tools/+bug/1251563/+subscriptions