** Description changed:
- Binary package hint: apport
+ SRU Justification
+
+ 1. impact of the bug is minimal for stable releases, since apport is
+ disabled by default. However, being able to run 'ubuntu-bug', 'apport-
+ bug' or 'apport-collect' is useful for developers trying to get more
+ information from users.
+
+ 2. This has been addressed in the development branch
+
+ 3. Patch is very small. See comment #3.
+
+ 4. TEST CASE:
+ $ sudo apport-bug apparmor --save /tmp/apport.txt
+
+ Examine /tmp/apport.txt. It should have something like:
+ ProcKernelCmdline: root=UUID=378db089-c0de-431c-b57d-9675fa5e6319 ro quiet
splash
+
+ 5. The regression potential of the patch is very low, as it updates the
+ apport hook which is not enabled by default in the stable releases.
+
+ Initial report
21:34 < kees> self['ProcCmdline'] = _read_file('/proc/' + pid +
'/cmdline').rstrip('\0')
21:34 < kees> vs
21:34 < kees> ./apport/hookutils.py: attach_file(report, '/proc/cmdline',
'ProcCmdLine')
The hardware hook is destroying the /proc/$pid/cmdline information.
ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: apport 1.14.1-0ubuntu8
ProcVersionSignature: Ubuntu 2.6.35-22.33-generic 2.6.35.4
Uname: Linux 2.6.35-22-generic x86_64
ApportLog:
-
+
Architecture: amd64
CrashReports:
- 600:0:0:2142829:2010-10-02 08:42:35.061202818 -0700:2010-10-02
08:42:35.041202736 -0700:/var/crash/libpam-ck-connector.0.crash
- 600:0:0:2142491:2010-10-02 08:42:35.021202650 -0700:2010-10-02
08:42:34.691201277 -0700:/var/crash/grub-pc.0.crash
- 600:0:0:2143151:2010-10-02 08:42:35.291203777 -0700:2010-10-02
08:42:35.261203650 -0700:/var/crash/libpam-gnome-keyring.0.crash
+ 600:0:0:2142829:2010-10-02 08:42:35.061202818 -0700:2010-10-02
08:42:35.041202736 -0700:/var/crash/libpam-ck-connector.0.crash
+ 600:0:0:2142491:2010-10-02 08:42:35.021202650 -0700:2010-10-02
08:42:34.691201277 -0700:/var/crash/grub-pc.0.crash
+ 600:0:0:2143151:2010-10-02 08:42:35.291203777 -0700:2010-10-02
08:42:35.261203650 -0700:/var/crash/libpam-gnome-keyring.0.crash
Date: Fri Oct 8 14:35:30 2010
PackageArchitecture: all
ProcEnviron:
- LANGUAGE=en_US:en
- PATH=(custom, user)
- LANG=en_US.utf8
- SHELL=/bin/bash
+ LANGUAGE=en_US:en
+ PATH=(custom, user)
+ LANG=en_US.utf8
+ SHELL=/bin/bash
SourcePackage: apport
--
the hardware hook blows away /proc/$pid/cmdline details
https://bugs.launchpad.net/bugs/657091
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs