apport report blocking of dpkg I/O errors is incomplete
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apt (Ubuntu) |
Fix Released
|
High
|
Brian Murray | ||
Lucid |
Won't Fix
|
Low
|
Unassigned | ||
Maverick |
Fix Released
|
High
|
Unassigned | ||
Natty |
Fix Released
|
High
|
Unassigned | ||
Oneiric |
Fix Released
|
High
|
Brian Murray |
Bug Description
TEST CASE:
- the dpkg bugs are really hard to trigger so a regression test should be enough
Binary package hint: apt
apt currently prevents reporting of dpkg I/O errors in apt-pkg/
This incomplete blocking is leading to unnecessary bug reports in Launchpad.
ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: apt 0.8.13.2ubuntu2
ProcVersionSign
Uname: Linux 2.6.38-8-generic x86_64
Architecture: amd64
CheckboxSubmission: fee5e196cb921cb
CheckboxSystem: 2a6f54df59af338
Date: Wed Apr 20 14:48:23 2011
ProcEnviron:
LANGUAGE=en_US:en
PATH=(custom, user)
LANG=en_US.UTF-8
SHELL=/bin/zsh
SourcePackage: apt
UpgradeStatus: Upgraded to natty on 2011-04-10 (10 days ago)
Changed in apt (Ubuntu Natty): | |
assignee: | nobody → Brian Murray (brian-murray) |
description: | updated |
Changed in apt (Ubuntu Maverick): | |
status: | New → In Progress |
Changed in apt (Ubuntu Lucid): | |
status: | New → Won't Fix |
Changed in apt (Ubuntu Natty): | |
assignee: | Brian Murray (brian-murray) → adam sikora (adam23sikora) |
Changed in apt (Ubuntu Natty): | |
assignee: | adam sikora (adam23sikora) → nobody |
The Lucid version of dpkg has the following:
if (bytesread < 0 || byteswritten < 0)
ohshite( _("failed in buffer_copy (%s)"), desc);
ohshit( _("short read in buffer_copy (%s)"), desc);
if (limit > 0)
While apt looks for:
if(strstr( errormsg, "short read in buffer_copy (")) {
std::clog << _("No apport report written because the error message indicates a dpkg I/O error") << std::endl;
return;
}
So depending on the volume of apport-package bug reports regarding Lucid with 'failed in buffer_copy' this may be worth SRUing.