[Bug 1683507] [NEW] znetconf: Unexpected non-zero return code
John George
john.george at canonical.com
Mon Apr 17 21:25:09 UTC 2017
Public bug reported:
$ 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.
** Affects: s390-tools (Ubuntu)
Importance: Undecided
Status: New
** Tags: s390x
--
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 s390-tools package in Ubuntu:
New
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/+source/s390-tools/+bug/1683507/+subscriptions
More information about the foundations-bugs
mailing list