** Description changed: - 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. + [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/dist-upgrade/apt-clone_system_state.tar.gz exists + 4) Run ubuntu-bug ubuntu-release-upgrader-core + 5) Expand the apport dialog and confirm that VarLogDistUpgradeAptclone is not included + + After installing the update-manager package from -proposed repeat step + 4. + + VarLogDistUpgradeAptclone... should now be included in the bug report + although the apport dialog will say that it is binary data. + + Original Report + --------------- + 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 - ProblemType: Bug - DistroRelease: Ubuntu 12.04 + ProblemType: BugDistroRelease: Ubuntu 12.04 Package: update-manager 1:0.156.14.11 ProcVersionSignature: Ubuntu 3.8.0-35.50~precise1-generic 3.8.13.13 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.update-manager first-run false - com.ubuntu.update-manager launch-time 1391108049 + com.ubuntu.update-manager first-run false + com.ubuntu.update-manager launch-time 1391108049 InstallationMedia: Ubuntu 12.04.3 LTS "Precise Pangolin" - Release amd64 (20130820.1) MarkForUpload: True PackageArchitecture: all ProcEnviron: - TERM=xterm - PATH=(custom, no user) - LANG=en_US.UTF-8 - SHELL=/bin/bash - SourcePackage: update-manager + TERM=xterm + PATH=(custom, no user) + LANG=en_US.UTF-8 + SHELL=/bin/bashSourcePackage: update-manager Symptom: ubuntu-release-upgrader-core UpgradeStatus: Upgraded to precise on 2014-01-30 (0 days ago) VarLogDistupgradeAptclonesystemstate.tar.gz: Error: [Errno 13] Permission denied: '/var/log/dist-upgrade/apt-clone_system_state.tar.gz' VarLogDistupgradeTermlog:
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1274704 Title: apport does not upload apt-clone_system_state.tar.gz (permission denied) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/1274704/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
