[Bug 1683507] Re: znetconf: Unexpected non-zero return code
Frank Heimes
1683507 at bugs.launchpad.net
Fri Sep 13 10:20:12 UTC 2019
** Also affects: ubuntu-z-systems
Importance: Undecided
Status: New
** Changed in: ubuntu-z-systems
Status: New => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to s390-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1683507
Title:
znetconf: Unexpected non-zero return code
Status in Ubuntu on IBM z Systems:
Fix Released
Status in s390-tools package in Ubuntu:
Fix Released
Bug description:
$ lsb_release -rd
Description: Ubuntu 17.04
Release: 17.04
$ apt-cache policy s390-tools
s390-tools:
Installed: 1.37.0-0ubuntu3
Candidate: 1.37.0-0ubuntu3
Version table:
*** 1.37.0-0ubuntu3 500
500 http://us.ports.ubuntu.com/ubuntu-ports zesty/main s390x Packages
100 /var/lib/dpkg/status
When benign options such as --help or --version are passed to
znetconf, on a system with no ccwgroup devices (i.e. /sys/bus/ccwgroup
does not exist) the return code is non-zero. This is inconsistent
behavior compared to other utilities shipped in the s390-tools package
and a hindrance to dep8 autopkgtests tests. Please see LP bug 1616596
for further discussion as to why this can be an impact. The unexpected
return code is shown here:
$ znetconf -v
znetconf: Error: There are no ccwgroup devices
$ echo $?
31
$ znetconf -h
znetconf: Error: There are no ccwgroup devices
$ echo $?
31
The expected result in the case of passing the -v and -h options is
the installed version and help listing.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-z-systems/+bug/1683507/+subscriptions
More information about the foundations-bugs
mailing list