← Back to team overview

openjdk team mailing list archive

[Bug 962381] [NEW] apport hook crashes because of lack of appropriate privileges

 

Public bug reported:

Apport hook crashes because of lack of appropriate privileges:

mdeslaur@sec-precise-amd64:~$ ubuntu-bug ca-certificates-java
ERROR: hook /usr/share/apport/general-hooks/ubuntu.py crashed:
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/apport/report.py", line 718, in add_hooks_info
    symb['add_info'](self, ui)
  File "/usr/share/apport/general-hooks/ubuntu.py", line 73, in add_info
    attach_conffiles(report, package, ui=ui)
  File "/usr/lib/python2.7/dist-packages/apport/hookutils.py", line 107, in attach_conffiles
    modified = packaging.get_modified_conffiles(package)
  File "/usr/lib/python2.7/dist-packages/apport/packaging_impl.py", line 242, in get_modified_conffiles
    with open(path, 'rb') as fd:
IOError: [Errno 13] Permission denied: u'/etc/default/cacerts'

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: ca-certificates-java 20110912ubuntu4
ProcVersionSignature: User Name 3.2.0-20.32-generic 3.2.12
Uname: Linux 3.2.0-20-generic x86_64
ApportVersion: 1.94.1-0ubuntu2
Architecture: amd64
Date: Thu Mar 22 13:40:51 2012
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha amd64 (20120220)
PackageArchitecture: all
ProcEnviron:
 TERM=xterm
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: ca-certificates-java
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: apport (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug precise

-- 
You received this bug notification because you are a member of OpenJDK,
which is subscribed to ca-certificates-java in Ubuntu.
https://bugs.launchpad.net/bugs/962381

Title:
  apport hook crashes because of lack of appropriate privileges

Status in “apport” package in Ubuntu:
  New

Bug description:
  Apport hook crashes because of lack of appropriate privileges:

  mdeslaur@sec-precise-amd64:~$ ubuntu-bug ca-certificates-java
  ERROR: hook /usr/share/apport/general-hooks/ubuntu.py crashed:
  Traceback (most recent call last):
    File "/usr/lib/python2.7/dist-packages/apport/report.py", line 718, in add_hooks_info
      symb['add_info'](self, ui)
    File "/usr/share/apport/general-hooks/ubuntu.py", line 73, in add_info
      attach_conffiles(report, package, ui=ui)
    File "/usr/lib/python2.7/dist-packages/apport/hookutils.py", line 107, in attach_conffiles
      modified = packaging.get_modified_conffiles(package)
    File "/usr/lib/python2.7/dist-packages/apport/packaging_impl.py", line 242, in get_modified_conffiles
      with open(path, 'rb') as fd:
  IOError: [Errno 13] Permission denied: u'/etc/default/cacerts'

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: ca-certificates-java 20110912ubuntu4
  ProcVersionSignature: User Name 3.2.0-20.32-generic 3.2.12
  Uname: Linux 3.2.0-20-generic x86_64
  ApportVersion: 1.94.1-0ubuntu2
  Architecture: amd64
  Date: Thu Mar 22 13:40:51 2012
  InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha amd64 (20120220)
  PackageArchitecture: all
  ProcEnviron:
   TERM=xterm
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: ca-certificates-java
  UpgradeStatus: No upgrade log present (probably fresh install)

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



Follow ups

References