Public bug reported: Binary package hint: kvm
I spoke with Dustin about this on IRC a while back, and may be fixing it already, but I'm logging it here for tracking purposes. Presently, the kvm apport hook does this: report['AllPkgs'] = command_output(['dpkg-query', '--show', '--showformat', '${Package} ${Version}\n']) which attaches a list of *all* packages in the dpkg database and their version numbers. This is sub-optimal because: 1. It is a lot of data (50k per bug report), most of which is unnecessary 2. It may reveal information about the system which the user does not wish to expose (e.g. potential security vulnerabilities, names of unreleased products, etc.) Instead, I suggest using the hookutils "attach_related_packages" function (pydoc apport.hookutils.attach_related_packages), and providing a list of relevant packages (glob patterns are supported). ProblemType: Bug Architecture: amd64 Date: Sun May 31 09:44:14 2009 DistroRelease: Ubuntu 9.10 KvmCmdLine: Error: command ['ps', '-C', 'kvm', '-F'] failed with exit code 1: UID PID PPID C SZ RSS PSR STIME TTY TIME CMD MachineType: LENOVO 6465CTO Package: kvm 1:84+dfsg-0ubuntu12 ProcCmdLine: root=UUID=305dde78-d20a-4248-aaf4-09447b7c5791 ro quiet splash ProcEnviron: LC_COLLATE=C PATH=(custom, user) LANG=en_US.UTF-8 SHELL=/bin/zsh ProcVersionSignature: Ubuntu 2.6.30-6.7-generic SourcePackage: kvm Uname: Linux 2.6.30-6-generic x86_64 UnreportableReason: This is not a genuine Ubuntu package dmi.bios.date: 01/21/2008 dmi.bios.vendor: LENOVO dmi.bios.version: 7LETB0WW (2.10 ) dmi.board.name: 6465CTO dmi.board.vendor: LENOVO dmi.board.version: Not Available dmi.chassis.asset.tag: No Asset Information dmi.chassis.type: 10 dmi.chassis.vendor: LENOVO dmi.chassis.version: Not Available dmi.modalias: dmi:bvnLENOVO:bvr7LETB0WW(2.10):bd01/21/2008:svnLENOVO:pn6465CTO:pvrThinkPadT61:rvnLENOVO:rn6465CTO:rvrNotAvailable:cvnLENOVO:ct10:cvrNotAvailable: dmi.product.name: 6465CTO dmi.product.version: ThinkPad T61 dmi.sys.vendor: LENOVO ** Affects: kvm (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug -- apport hook attaches version info for *all* packages in AllPkgs.txt https://bugs.launchpad.net/bugs/382077 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs