ubuntu-bug's quoting prevents .crash files from being reported
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apport (Ubuntu) |
In Progress
|
Low
|
Unassigned |
Bug Description
Binary package hint: apport
When attempting to file a bug report for an existing crash file in /var/crash, the quoting that's done by the /usr/bin/ubuntu-bug shell script is invoking apport-cli with single quotes around the pathname, such that apport-* attempts to open "'/path/
$ ls -l /var/crash/
-rw------- 1 root root 100817 2009-07-17 08:36 /var/crash/
$ sudo ubuntu-bug /var/crash/
*** Error: Invalid problem report
No such file or directory
Press any key to continue...
You can see what's happening by stracing it a la 'sudo strace -f -eopen,execve ubuntu-bug /var/crash/
2694 execve(
[...]
2695 execve(
[...]
2695 open("'
ProblemType: Bug
Architecture: i386
CrashReports: 600:0:0:
Date: Mon Jul 20 16:01:49 2009
DistroRelease: Ubuntu 9.10
LiveMediaBuild: Ubuntu 9.10 "Karmic Koala" - Alpha i386 (20090716)
Package: apport 1.6-0ubuntu1
PackageArchitec
ProcEnviron:
PATH=(custom, no user)
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcVersionSign
SourcePackage: apport
Uname: Linux 2.6.31-3-generic i686
I can confirm this as well. It seems the workaround for the time being is to use apport-cli -c instead