Apport including error messages in tags

Bug #955111 reported by Steve Conklin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
apport (Ubuntu)
Fix Released
Low
Martin Pitt

Bug Description

System currently generates a warning any time python or ssh is run, which looks like this:

sconklin@Sandy:~$ python
python: /home/sconklin/libeagle/libcrypto.so.1.0.0: no version information available (required by python)
python: /home/sconklin/libeagle/libssl.so.1.0.0: no version information available (required by python)
Python 2.7.2+ (default, Oct 4 2011, 20:03:08)
[GCC 4.6.1] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>>

The two "no version information available" lines are included by apport in bugs created using ubuntu-bug on the command line.

This resulted in the following tags for this bug (before I changed it):

"apport-bug i386 /usr/bin/python: /home/sconklin/libeagle/libcrypto.so.1.0.0: no version information available (required by /usr/bin/python) /usr/bin/python: /home/sconklin/libeagle/libssl.so.1.0.0: no version information available (required by /usr/bin/python) oneiric running-unity"

This invalid tag list then triggers this launchpad bug:
https://bugs.launchpad.net/launchpad/+bug/616034

==============================================

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: apport 1.23-0ubuntu4
ProcVersionSignature: Ubuntu 3.0.0-16.29-generic-pae 3.0.20
Uname: Linux 3.0.0-16-generic-pae i686
NonfreeKernelModules: nvidia
ApportVersion: 1.23-0ubuntu4
Architecture: i386
Date: Wed Mar 14 09:31:22 2012
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release i386 (20110427.1)
PackageArchitecture: all
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: apport
UpgradeStatus:
 Upgraded to /usr/bin/python: /home/sconklin/libeagle/libcrypto.so.1.0.0: no version information available (required by /usr/bin/python)
 /usr/bin/python: /home/sconklin/libeagle/libssl.so.1.0.0: no version information available (required by /usr/bin/python)
 oneiric on 2011-12-06 (98 days ago)

Revision history for this message
Steve Conklin (sconklin) wrote :
Changed in apport (Ubuntu):
status: New → Confirmed
Martin Pitt (pitti)
Changed in apport (Ubuntu):
status: Confirmed → In Progress
assignee: nobody → Martin Pitt (pitti)
importance: Undecided → High
Revision history for this message
Martin Pitt (pitti) wrote :

I suppose that error message is part of the output of "lsb_release -sir".

Changed in apport (Ubuntu):
importance: High → Low
Revision history for this message
Martin Pitt (pitti) wrote :

Can you please check out whether lsb_release writes those error messages to stdout instead of stderr? That would explain a lot, and sounds wrong.

Changed in apport (Ubuntu):
status: In Progress → Incomplete
Revision history for this message
Steve Conklin (sconklin) wrote :

sconklin@Sandy:~$ lsb-release -sir
/usr/bin/python: /home/sconklin/libeagle/libcrypto.so.1.0.0: no version information available (required by /usr/bin/python)
/usr/bin/python: /home/sconklin/libeagle/libssl.so.1.0.0: no version information available (required by /usr/bin/python)
No command 'lsb-release' found, did you mean:
 Command 'lsb_release' from package 'lsb-release' (main)
lsb-release: command not found
sconklin@Sandy:~$ lsb_release -sir
/usr/bin/python: /home/sconklin/libeagle/libcrypto.so.1.0.0: no version information available (required by /usr/bin/python)
/usr/bin/python: /home/sconklin/libeagle/libssl.so.1.0.0: no version information available (required by /usr/bin/python)
Ubuntu
12.04

The warnings appear on stderr

Martin Pitt (pitti)
Changed in apport (Ubuntu):
status: Incomplete → In Progress
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package apport - 2.0-0ubuntu3

---------------
apport (2.0-0ubuntu3) precise; urgency=low

  [ Martin Pitt ]
  * data/general-hooks/ubuntu.py: Do not capture stderr of lsb_release.
    (LP: #955111)

  [ Scott Moser ]
  * data/general-hooks/ubuntu.py: timeout on attempts to contact ec2 metadata
    service (LP: #855651)
 -- Martin Pitt <email address hidden> Tue, 03 Apr 2012 06:58:07 +0200

Changed in apport (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.