chccwdev: Unexpected non-zero return code
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu on IBM z Systems |
Fix Released
|
Low
|
bugproxy | ||
s390-tools (Ubuntu) |
Fix Released
|
High
|
Unassigned |
Bug Description
$ lsb_release -rd
Description: Ubuntu Yakkety Yak (development branch)
Release: 16.10
$ apt-cache policy s390-tools
s390-tools:
Installed: 1.36.1-0ubuntu2
Candidate: 1.36.1-0ubuntu2
Version table:
*** 1.36.1-0ubuntu2 500
500 http://
100 /var/lib/
When benign options such as --help or --version are passed to chccwdev the expected output is printed but the return code is non-zero. This is inconsistent behaviour 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:
$ chccwdev -h
Usage: chccwdev [<options>] <devices>
<options>
-a|--attribute <name>=<value>
-e|--online
Tries to set the given device online.
-f|--forceonline
Tries to force a device online if the device
driver supports this.
-d|--offline
Tries to set the given device offline.
-s|--safeoffline
Tries to set the given device offline waiting for all outstanding I/O. May block forever.
-v|--version
Show tools and command version.
<devices>
<bus ID>[-<busid>
ubuntu@
1
Changed in ubuntu-z-systems: | |
importance: | Undecided → Low |
status: | New → Triaged |
tags: | added: architecture-s39064 bugnameltc-147741 severity-high targetmilestone-inin1610 |
Changed in ubuntu-z-systems: | |
assignee: | nobody → bugproxy (bugproxy) |
Changed in s390-tools (Ubuntu): | |
importance: | Undecided → High |
1.37.0-0ubuntu1 is good.