apport_python_hook.py fails in LXC container in with in get_logind_session "No such file or directory: '/sys/fs/cgroup/systemd//user/1000.user/c2.session"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apport (Ubuntu) |
Fix Released
|
Medium
|
Martin Pitt |
Bug Description
In an up to date Trusty container run:
root@trusty-
Traceback (most recent call last):
[...]
Error in sys.excepthook:
Traceback (most recent call last):
File "/usr/lib/
pr.
File "/usr/lib/
ret = self.get_
File "/usr/lib/
session_
FileNotFoundError: [Errno 2] No such file or directory: '/sys/fs/
[...]
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: apport 2.13.1-0ubuntu1
ProcVersionSign
Uname: Linux 3.13.0-4-generic x86_64
ApportLog:
ApportVersion: 2.13.1-0ubuntu1
Architecture: amd64
CrashReports:
640:1000:
640:0:
CurrentDesktop: Unity
Date: Mon Jan 20 11:25:31 2014
PackageArchitec
SourcePackage: apport
UpgradeStatus: Upgraded to trusty on 2012-01-31 (719 days ago)
modified.
mtime.conffile.
Fixed in trunk r2757.