group.of.nepali.translators team mailing list archive
-
group.of.nepali.translators team
-
Mailing list archive
-
Message #35853
[Bug 1427600] Re: apport-unpack: ValueError: ['UserGroups'] has no binary content
This bug was fixed in the package apport - 2.20.11-0ubuntu27.3
---------------
apport (2.20.11-0ubuntu27.3) focal; urgency=medium
* apport_python_hook.py: if python apt modules are not built for the python
version then do capture the crash. (LP: #1774843)
* apport/report.py: If the user is not a part of any system groups then
set UserGroups to 'N/A'. (LP: #1427600)
-- Brian Murray <brian@xxxxxxxxxx> Mon, 01 Jun 2020 09:44:37 -0700
** Changed in: apport (Ubuntu Focal)
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1427600
Title:
apport-unpack: ValueError: ['UserGroups'] has no binary content
Status in apport package in Ubuntu:
Fix Released
Status in apport source package in Xenial:
Triaged
Status in apport source package in Focal:
Fix Released
Status in apport source package in Groovy:
Fix Released
Bug description:
[Impact]
apport-unpack crashes when trying to unpack a crash
[Test Case]
On a system running 20.04 LTS:
1) create an additional user who is only a member of their own group e.g.
bdmurray@clean-focal-amd64:~$ id crashy
uid=1001(crashy) gid=1001(crashy) groups=1001(crashy)
2) Launch a process as that user
3) kill -11 that process
4) Confirm there is a crash file in /var/crash for that process
5) Run apport-unpack on that .crash file
With the version of apport from -proposed you will not get another
crash file when unpacking the crash file.
[Regression Potential]
We are just setting UserGroups to 'N/A' as opposed to having it be completely empty so there isn't any chance for regression.
When running apport-unpack to get at a core dump
laney@raleigh> sudo apport-unpack _usr_lib_x86_64-linux-gnu_urfkill_urfkilld.0.crash ~/temp/zozoz
[sudo] password for laney:
Traceback (most recent call last):
File "/usr/bin/apport-unpack", line 73, in <module>
pr.extract_keys(f, bin_keys, dir)
File "/usr/lib/python3/dist-packages/problem_report.py", line 253, in extract_keys
[item for item, element in b64_block.items() if element is False])
ValueError: ['UserGroups'] has no binary content
laney@raleigh> apport-cli --version
2.16.2
It's not terrible, because most files are unpacked (those which sort
before UserGroups, I guess).
ProblemType: BugDistroRelease: Ubuntu 15.04
Package: apport 2.16.2-0ubuntu1
ProcVersionSignature: Ubuntu 3.19.0-7.7-generic 3.19.0
Uname: Linux 3.19.0-7-generic x86_64
ApportLog:
ApportVersion: 2.16.2-0ubuntu1
Architecture: amd64
CurrentDesktop: Unity
Date: Tue Mar 3 10:09:26 2015
InstallationDate: Installed on 2012-10-07 (876 days ago)
InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Beta amd64 (20121007)
PackageArchitecture: allSourcePackage: apport
UpgradeStatus: Upgraded to vivid on 2013-05-07 (665 days ago)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apport/+bug/1427600/+subscriptions