Public bug reported:

$ lsb_release -rd
Description:    Ubuntu Yakkety Yak (development branch)
Release:        16.10

$ apt-cache policy s390-tools
  Installed: 1.36.1-0ubuntu2
  Candidate: 1.36.1-0ubuntu2
  Version table:
 *** 1.36.1-0ubuntu2 500
        500 yakkety/main s390x Packages
        100 /var/lib/dpkg/status

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>

        -a|--attribute <name>=<value>
                Tries to set the given device online.
                Tries to force a device online if the device
                driver supports this.
                Tries to set the given device offline.
                Tries to set the given device offline waiting for all 
outstanding I/O. May block forever.
                Show tools and command version.

        <bus ID>[-<busid>][,<busid>[-<busid>]] ...
ubuntu@s5lp1-gen03:~/src/s390-tools-1.36.1/debian/tests$ echo $?

** Affects: s390-tools (Ubuntu)
     Importance: Undecided
         Status: New

** Tags: s390x

You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

  chccwdev: Unexpected non-zero return code

To manage notifications about this bug go to:

ubuntu-bugs mailing list

Reply via email to