Public bug reported:

== Comment: #0 - PAVITHRA R. PRAKASH <[email protected]> - 2018-03-01 
00:30:14 ==
---Problem Description---

Ubuntu 18.04 [ P9 WSP DD2.2 ]: lshw version is displayed as "unknown"
and -json option is not available in help message.

---Environment--
Kernel Build:   Ubuntu 18.04 
System Name :  wcwsp3
Model/Type  :  P9
Platform    :  BML

---Uname output---

root@ltc-wcwsp3:~# uname -a
Linux ltc-wcwsp3 4.15.0-10-generic #11 SMP Thu Feb 22 23:50:53 EST 2018 ppc64le 
ppc64le ppc64le GNU/Linux

---Steps to reproduce--

1. Run below commands.

# lshw -version
# lshw -h

---Logs----

root@ltc-wcwsp3:~# lshw -version
unknown
root@ltc-wcwsp3:~# lshw -h
Hardware Lister (lshw) - unknown
usage: lshw [-format] [-options ...]
       lshw -version

        -version        print program version (unknown)

format can be
        -html           output hardware tree as HTML
        -xml            output hardware tree as XML
        -short          output hardware paths
        -businfo        output bus information

options can be
        -class CLASS    only show a certain class of hardware
        -C CLASS        same as '-class CLASS'
        -c CLASS        same as '-class CLASS'
        -disable TEST   disable a test (like pci, isapnp, cpuid, etc. )
        -enable TEST    enable a test (like pci, isapnp, cpuid, etc. )
        -quiet          don't display status
        -sanitize       sanitize output (remove sensitive information like 
serial numbers, etc.)
        -numeric        output numeric IDs (for PCI, USB, etc.)
        -notime         exclude volatile attributes (timestamps) from output

== Comment: #1 - Chandni Verma <[email protected]> - 2018-03-01 02:48:01 ==
Upstream patches:
https://github.com/lyonel/lshw/commit/18edc98f9d08883f340087cfefbdf05c585d56f7
and
https://github.com/lyonel/lshw/commit/503c76a35a9e97a098af7c1ac793a7e13c07ce70

should fix the version and missing -json option issues respectively.

Kindly cherry pick them and verify.

Thanks!

** Affects: lshw (Ubuntu)
     Importance: Undecided
     Assignee: Ubuntu on IBM Power Systems Bug Triage (ubuntu-power-triage)
         Status: New


** Tags: architecture-ppc64le bugnameltc-165253 severity-medium 
targetmilestone-inin---

** Tags added: architecture-ppc64le bugnameltc-165253 severity-medium
targetmilestone-inin---

** Changed in: ubuntu
     Assignee: (unassigned) => Ubuntu on IBM Power Systems Bug Triage 
(ubuntu-power-triage)

** Package changed: ubuntu => lshw (Ubuntu)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1752523

Title:
  Ubuntu 18.04 [ P9 WSP DD2.2 ]: lshw version is displayed as "unknown"
  and -json option is not available in help message.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lshw/+bug/1752523/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to