attach_conffiles does not work for unreadable files
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apport (Ubuntu) |
Expired
|
Medium
|
Unassigned |
Bug Description
Apport hook crashes because of lack of appropriate privileges:
mdeslaur@
ERROR: hook /usr/share/
Traceback (most recent call last):
File "/usr/lib/
symb[
File "/usr/share/
attach_
File "/usr/lib/
modified = packaging.
File "/usr/lib/
with open(path, 'rb') as fd:
IOError: [Errno 13] Permission denied: u'/etc/
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: ca-certificates
ProcVersionSign
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)
PackageArchitec
ProcEnviron:
TERM=xterm
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: ca-certificates
UpgradeStatus: No upgrade log present (probably fresh install)
It looks like apport no longer crashes (on saucy) but the conffile is not included.
== modified. conffile. .etc.default. cacerts ======= ======= ======= ======= ===== cacerts' ]
[inaccessible: [Errno 13] Permission denied: '/etc/default/