apport does not upload apt-clone_system_state.tar.gz (permission denied)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
update-manager (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Precise |
Fix Released
|
High
|
Brian Murray |
Bug Description
[Test Case]
1) In a terminal on a uvt virtual machine run update-manager -d
2) Choose no when presented with a warning about about your graphics not being supported
3) Confirm that /var/log/
4) Run ubuntu-bug ubuntu-
5) Expand the apport dialog and confirm that VarLogDistUpgra
After installing the update-manager package from -proposed repeat step 4.
VarLogDistUpgra
Original Report
---------------
When reporting a bug via 'ubuntu-bug ubuntu-
To reproduce:
1) Install 12.04.3 with updates
2) Try to upgrade to 14.04 via 'update-manager -d' (this fails - see bug 1274672)
3) Run 'ubuntu-bug ubuntu-
Expected result:
Apport uploads apt-clone_
Actual results
Apport uploads apt.log and main.log to launchpad, but does not upload apt-clone_
Permissions on /var/log/
ubuntu@
total 556
drwxr-xr-x 2 root root 4096 Jan 30 14:13 ./
drwxr-xr-x 15 root root 4096 Jan 30 15:59 ../
-rw------- 1 root root 417219 Jan 30 14:13 apt-clone_
-rw-r--r-- 1 root root 126781 Jan 30 14:14 apt.log
-rw-r--r-- 1 root root 1007 Jan 30 14:13 lspci.txt
-rw-r--r-- 1 root root 11331 Jan 30 14:14 main.log
-rw-r--r-- 1 root root 0 Jan 30 14:12 term.log
ProblemType: BugDistroRelease: Ubuntu 12.04
Package: update-manager 1:0.156.14.11
ProcVersionSign
Uname: Linux 3.8.0-35-generic x86_64
ApportVersion: 2.0.1-0ubuntu17.6
Architecture: amd64
Date: Thu Jan 30 16:00:41 2014
GsettingsChanges:
com.ubuntu.
com.ubuntu.
InstallationMedia: Ubuntu 12.04.3 LTS "Precise Pangolin" - Release amd64 (20130820.1)
MarkForUpload: True
PackageArchitec
ProcEnviron:
TERM=xterm
PATH=(custom, no user)
LANG=en_US.UTF-8
SHELL=
Symptom: ubuntu-
UpgradeStatus: Upgraded to precise on 2014-01-30 (0 days ago)
VarLogDistupgra
VarLogDistupgra
Related branches
Changed in update-manager (Ubuntu Precise): | |
assignee: | nobody → Brian Murray (brian-murray) |
status: | Triaged → In Progress |
description: | updated |
In the ubuntu- release- upgrader package hook for Trusty this is done via the following:
clone_file = '/var/log/ dist-upgrade/ apt-clone_ system_ state.tar. gz' exists( clone_file) :
report[ 'VarLogDistupgr adeAptclonesyst emstate. tar.gz' ] = \
root_ command_ output( ["cat", clone_file], decode_utf8=False)
if os.path.
This change should be SRU'ed back to update-manager in Precise.