[Bug 1303745] Re: sosreport 3.1.1 leaks stderr when running
Launchpad Bug Tracker
1303745 at bugs.launchpad.net
Tue Apr 8 17:04:39 UTC 2014
This bug was fixed in the package sosreport - 3.1-1ubuntu2
---------------
sosreport (3.1-1ubuntu2) trusty; urgency=medium
* Fix spurious "command not found" messages when running (LP: #1303745)
* Add collection of /var/log/cloud-init*.log files (LP: #1301819)
* Add collection of configuration files in /etc/network/interfaces.d (LP: #1303723)
-- Louis Bouchard <louis.bouchard at ubuntu.com> Tue, 08 Apr 2014 08:58:08 -0500
** Branch linked: lp:ubuntu/trusty-proposed/sosreport
** Changed in: sosreport (Ubuntu)
Status: In Progress => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1303745
Title:
sosreport 3.1.1 leaks stderr when running
Status in “sosreport” package in Ubuntu:
Fix Released
Bug description:
SRU justification :
Running sosreport generates numerous "command not found" messages
Impact :
Renders the sosreport U/I unreadable
Fix :
Add upstream fix
Test Case :
Run sosreport --batch. Without the fix, numerous "command not found" messages are displayed.
Regression :
None expected as this reinstate the previous behevior.
Original description of the problem :
Running latest sosreport 3.1.1 on trusty leads to the following output
:
root at TrustyS-sosreport:~# sosreport -a --batch
[27/750]
sosreport (version 3.1)
TL;DW
could not run 'brctl show': command not found
Running plugins. Please wait ...
Running 9/64: boot... could not run 'lsinitrd': command not found
Running 13/64: dmraid... could not run 'dmraid -V': command not found
could not run 'dmraid -b': command not found
could not run 'dmraid -r': command not found
could not run 'dmraid -s': command not found
could not run 'dmraid -tay': command not found
could not run 'dmraid -rD': command not found
Running 17/64: general... could not run 'tree /var/lib': command not found
Running 18/64: general... could not run 'tree /var/lib': command not found
Running 20/64: grub2... could not run 'grub2-mkconfig': command not found
Running 23/64: java... could not run 'alternatives --display java': command not found
Running 24/64: juju... could not run 'juju -v status': command not found
could not run 'juju -v get-constraints': command not found
Running 25/64: kernel... could not run 'dkms status': command not found
Running 26/64: krb5... could not run 'klist -ket /etc/krb5.keytab': command not found
Running 27/64: kvm... could not run 'kvm_stat --once': command not found
Running 29/64: ldap... could not run 'ldapsearch -x -b '' -s base 'objectclass=*'': command not found
could not run 'ldapsearch -Q -LLL -Y EXTERNAL -H ldapi:/// -b cn=config '(!(objectClass=olcSchemaConfig))'': command not found
could not run 'ldapsearch -Q -LLL -Y EXTERNAL -H ldapi:/// -b cn=schema,cn=config dn': command not found
could not run 'ldapsearch -Q -LLL -Y EXTERNAL -H ldapi:/// -b cn=config '(olcAccess=*)' olcAccess olcSuffix': command not found
etc until the end.
Running the following confirms that the output indeed comes from
stderr :
# sosreport -a --batch 2> /dev/null
sosreport (version 3.1)
This command will collect diagnostic and configuration information from
this Ubuntu system and installed applications.
An archive containing the collected information will be generated in
/tmp and may be provided to a Ubuntu support representative.
Any information provided to Ubuntu will be treated in accordance with
the published support policies at:
http://www.ubuntu.com/
The generated archive may contain data considered sensitive and its
content should be reviewed by the originating organization before being
passed to any third party.
No changes will be made to system configuration.
Running plugins. Please wait ...
Running 64/64: xfs...
Creating compressed archive...
Your sosreport has been generated and saved in:
/tmp/sosreport-TrustyS-sosreport-20140407112241.tar.xz
The checksum is: 77021ee8c8c64df6c8b275d81bd5dea8
Please send this file to your support representative.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/sosreport/+bug/1303745/+subscriptions
More information about the Ubuntu-sponsors
mailing list