modify ubiquity hook to use root_command_output for files in /var/log/installer/
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apport (Ubuntu) |
Fix Released
|
Medium
|
Brian Murray |
Bug Description
Expected: File a bug against oem-config, as non-root user
Got: "Cannot connect to crash database, please check your internet connection. [Errno 13] No permission: /var/log/
I.e. ubuntu-bug does not have permission to collect /var/log/
Kubuntu 10.04.3 ISO testing
ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: apport 1.13.3-0ubuntu2
ProcVersionSign
Uname: Linux 2.6.32-33-generic i686
Architecture: i386
Date: Tue Jul 19 10:01:18 2011
InstallationMedia: Kubuntu 10.04.3 LTS "Lucid Lynx" - Release i386 (20110716.1)
PackageArchitec
ProcEnviron:
LANGUAGE=
LANG=de_DE.UTF-8
SHELL=/bin/bash
SourcePackage: apport
Related branches
- Martin Pitt: Approve
-
Diff: 117 lines (+53/-7) (has conflicts)4 files modifiedapport/hookutils.py (+29/-1)
data/general-hooks/ubuntu.py (+8/-2)
data/package-hooks/source_ubiquity.py (+2/-4)
debian/changelog (+14/-0)
Changed in apport (Ubuntu): | |
status: | Triaged → In Progress |
assignee: | nobody → Brian Murray (brian-murray) |
While we could modify the ubiquity apport hook which is a part of apport to use root_command_output I'm not convinced its really worth it. Running ubuntu-bug ubiquity as root seems like a fine workaround to me.