Comment 2 for bug 767776

Revision history for this message
Brian Murray (brian-murray) wrote : Re: apport report blocking of dpkg I/O errors is incompletely

The Lucid version of dpkg has the following:

        if (bytesread < 0 || byteswritten < 0)
                ohshite(_("failed in buffer_copy (%s)"), desc);
        if (limit > 0)
                ohshit(_("short read in buffer_copy (%s)"), desc);

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.