When reporting a bug via 'ubuntu-bug ubuntu-release-upgrader-core', apport does not upload the file /var/log/dist-upgrade/apt-clone_system_state.tar.gz due to a permission error.
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-release-upgrader-core'
Expected result:
Apport uploads apt-clone_system_state.tar.gz to launchpad along with apt.log and main.log
Actual results
Apport uploads apt.log and main.log to launchpad, but does not upload apt-clone_system_state.tar.gz. The corresponding bug report says there is a permission error for that file (see bug 1274672 for an example)
Permissions on /var/log/dist-upgrade are:
ubuntu@ubuntu-VirtualBox:~$ ll /var/log/dist-upgrade/
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_system_state.tar.gz
-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
When reporting a bug via 'ubuntu-bug ubuntu- release- upgrader- core', apport does not upload the file /var/log/ dist-upgrade/ apt-clone_ system_ state.tar. gz due to a permission error.
To reproduce: release- upgrader- core'
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: system_ state.tar. gz to launchpad along with apt.log and main.log
Apport uploads apt-clone_
Actual results system_ state.tar. gz. The corresponding bug report says there is a permission error for that file (see bug 1274672 for an example)
Apport uploads apt.log and main.log to launchpad, but does not upload apt-clone_
Permissions on /var/log/ dist-upgrade are: ubuntu- VirtualBox: ~$ ll /var/log/ dist-upgrade/ system_ state.tar. gz
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: Bug ature: Ubuntu 3.8.0-35. 50~precise1- generic 3.8.13.13 update- manager first-run false update- manager launch-time 1391108049 ture: all release- upgrader- core deAptclonesyste mstate. tar.gz: Error: [Errno 13] Permission denied: '/var/log/ dist-upgrade/ apt-clone_ system_ state.tar. gz' deTermlog:
DistroRelease: 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=/bin/bash
SourcePackage: update-manager
Symptom: ubuntu-
UpgradeStatus: Upgraded to precise on 2014-01-30 (0 days ago)
VarLogDistupgra
VarLogDistupgra