[Bug 772052] Re: DistUpgradeApport.py doesn't check for 0 byte files
Ubuntu QA's Bug Bot
bug-stats at murraytwins.com
Mon Sep 19 20:54:03 UTC 2011
** Tags added: testcase
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to update-manager in Ubuntu.
https://bugs.launchpad.net/bugs/772052
Title:
DistUpgradeApport.py doesn't check for 0 byte files
Status in “update-manager” package in Ubuntu:
Fix Released
Status in “update-manager” source package in Natty:
Fix Released
Bug description:
Binary package hint: update-manager
TEST CASE:
- regression test should be enough as its not clear what the best way to trigger this problem is
the fix is pretty trivial
I've seen multiple bug reports with an attachment named
VarLogDistUpgradeTermlog.gz that is 37 bytes and contains no data.
(See bug 701317 for an example) I believe update-manager creates this
log file (term.log) before actually writing to it so we have a 0 byte
file. Then if update-manager crashes (when doing a distribution
upgrade) all the files in /var/log/dist-upgrade are passed to apport
and added to bug reports as attachments. Then when trying to work
with these attachments in Launchpad we receive an unexpected end of
file.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/772052/+subscriptions
More information about the foundations-bugs
mailing list