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

Launchpad Bug Tracker 1251563 at bugs.launchpad.net
Mon Jun 30 14:34:33 UTC 2014


This bug was fixed in the package net-tools - 1.60-26ubuntu1

---------------
net-tools (1.60-26ubuntu1) utopic; urgency=low

  * Merge from Debian unstable (LP: #1251563). Remaining changes:
    - Ubuntu_unit_conversion.patch:
      + Ubuntu Policy: output using standard SI unit multiples:
        KB (10^3), MB (10^6), GB (10^9), TB (10^12) and PB (10^15).
        Includes manpage update to remove comment about IEC units.
    - Update Bug#254243-netstat.c-wide-opt.patch:
      + Increase size of remote and local address buffers 64->128.
    - Make the package Multi-Arch: foreign.
  * Dropped overlapping changes in Bug#254243-netstat.c-wide-opt.patch with:
    - Bug#508110-inet6.c-initialize_fields.patch
    - Bug#632660-netstat.c-long_udp6_addr.patch

net-tools (1.60-26) unstable; urgency=low

  * Fix wrong exit codes in netstat.c, closes: #541172.
  * Add patch to stop buffer overflows in route -6. Closes: #747006.
  * Add patch to fix wide display for long udp and raw addresses.
    Closes: #632660.
  * Add patch to fix mishandling of 64bit integers in netstat -s.
    Closes: #561161.
  * Add patch to fix printing of uninitialised ipv6 data in netstat.
    Closes: #508110.
  * debian/control: Add ${misc:Depends}, remove 'the' from description.
  * debian/rules: Add missing build-arch and build-indep targets.
 -- James Page <james.page at ubuntu.com>   Mon, 30 Jun 2014 12:10:24 +0100

** Changed in: net-tools (Ubuntu)
       Status: Triaged => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
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:
  New
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



More information about the Ubuntu-sponsors mailing list