This bug was fixed in the package apport - 2.13.2-0ubuntu2

---------------
apport (2.13.2-0ubuntu2) trusty; urgency=medium

  * Merge from trunk:
    -  Fix backend_apt_dpkg.test_get_file_package_uninstalled test that got
       broken in the previous release.

apport (2.13.2-0ubuntu1) trusty; urgency=medium

  * New upstream bug fix release:
    - Fix crash if systemd cgroup is unreadable in /sys, such as in
      containers.  (LP: #1270783)
    - apt/dpkg: Also consider Contents.gz from updates/security/proposed
      pockets, so that e. g. apport-retrace works for crash reports with files
      that are new in those. Thanks to Brian Murray for the initial patch.
      (LP: #1271258)
    - Only drop internal/private keys (starting with '_') from uploading to
      the crash DB and from the UI report views, but not already when updating
      the report. (LP: #1272505)
    - data/apport: Fix stdout/stderr initialization of the error log, don't
      close the original fd after dup2'ing as it is usually already fd 1. This
      makes Apport work with Python 3.4. (LP: #1272355)
    - Adjust report tests to work with Python 3.4 (LP: #1272355)
 -- Martin Pitt <[email protected]>   Mon, 27 Jan 2014 15:21:06 +0100

** Changed in: apport (Ubuntu)
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to apport in Ubuntu.
https://bugs.launchpad.net/bugs/1270783

Title:
  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"

Status in “apport” package in Ubuntu:
  Fix Released

Bug description:
  In an up to date Trusty container run:

  root@trusty-amd64:~# aa-status --enabled
  Traceback (most recent call last):
  [...]
  Error in sys.excepthook:
  Traceback (most recent call last):
    File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 103, in 
apport_excepthook
      pr.add_proc_info(extraenv=['PYTHONPATH', 'PYTHONHOME'])
    File "/usr/lib/python3/dist-packages/apport/report.py", line 546, in 
add_proc_info
      ret = self.get_logind_session(pid)
    File "/usr/lib/python3/dist-packages/apport/report.py", line 1601, in 
get_logind_session
      session_start_time = os.stat('/sys/fs/cgroup/systemd/' + 
my_cgroup).st_mtime
  FileNotFoundError: [Errno 2] No such file or directory: 
'/sys/fs/cgroup/systemd//user/1000.user/c2.session'
  [...]

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: apport 2.13.1-0ubuntu1
  ProcVersionSignature: Ubuntu 3.13.0-4.19-generic 3.13.0-rc8
  Uname: Linux 3.13.0-4-generic x86_64
  ApportLog:
   
  ApportVersion: 2.13.1-0ubuntu1
  Architecture: amd64
  CrashReports:
   640:1000:136:773471:2014-01-20 08:58:46.153621912 +0100:2014-01-20 
08:58:47.153621912 +0100:/var/crash/_usr_bin_indicator-weather.1000.crash
   640:0:136:61574:2014-01-12 08:04:10.823513032 +0100:2014-01-12 
08:04:10.747513035 +0100:/var/crash/_usr_lib_squid3_pinger.0.crash
  CurrentDesktop: Unity
  Date: Mon Jan 20 11:25:31 2014
  PackageArchitecture: all
  SourcePackage: apport
  UpgradeStatus: Upgraded to trusty on 2012-01-31 (719 days ago)
  modified.conffile..etc.apport.crashdb.conf: [modified]
  mtime.conffile..etc.apport.crashdb.conf: 2013-08-28T08:47:19.111940

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apport/+bug/1270783/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to