[VERIFICATION FOCAL]
This was tested using the following proposed pkg: sosreport 3.9-1ubuntu2.1
I confirmed the sosreport's hw plugin collect 'lshw' command as root, and its content is accurate.
# lsb_release -cs focal
# sosreport -a # cd /tmp # tar Jxvf sosreport*.tar.xz # sudo lshw | tee /tmp/lshw_not_from_sosreport.focal
# diff -u /tmp/lshw_not_from_sosreport.focal /path_to_sosreport/sos_commands/hardware/lshw 17c17 < size: 2545MHz --- > size: 3240MHz
The "size:" is dynamic so it keeps changing at each lshw run, the rest remain identical. No content missing/altered/... during the lshw sosreport collection.
[VERIFICATION FOCAL]
This was tested using the following proposed pkg:
sosreport 3.9-1ubuntu2.1
I confirmed the sosreport's hw plugin collect 'lshw' command as root,
and its content is accurate.
# lsb_release -cs
focal
# sosreport -a not_from_ sosreport. focal
# cd /tmp
# tar Jxvf sosreport*.tar.xz
# sudo lshw | tee /tmp/lshw_
# diff -u /tmp/lshw_ not_from_ sosreport. focal /path_to_ sosreport/ sos_commands/ hardware/ lshw
17c17
< size: 2545MHz
---
> size: 3240MHz
The "size:" is dynamic so it keeps changing at each lshw run, the rest remain identical.
No content missing/altered/... during the lshw sosreport collection.