[Reportbug-maint] Bug#695220: reportbug stores empty bug reports in the ~/.reportbug directory

Vincent Lefevre vincent at vinc17.net
Wed Dec 5 23:55:12 UTC 2012


severity 695220 important
retitle 695220 reportbug stores empty bug reports in the --draftpath directory, text is lost
thanks

(Severity raised to important due to data loss, see below.)

Hi,

On 2012-12-05 21:53:57 +0100, Sandro Tosi wrote:
> Hello Vincent,
> 
> On Wed, Dec 5, 2012 at 4:36 PM, Vincent Lefevre <vincent at vinc17.net> wrote:
> > reportbug stores empty bug reports in the ~/.reportbug directory.
> > I don't think this is useful. At least the behavior should be
> > documented in the reportbug(1) man page (there's nothing about
> > this directory).
> 
> How old are those empty reports?

On one machine: 2012-11-28
On the other one: 2012-12-05

I've looked at my config files, and saw:

  alias reportbug="reportbug --draftpath=$HOME/.reportbug"

The man page says:

   --draftpath=DRAFTPATH
       Save the draft (for example, when exiting and saving the report
       without reporting it) into DRAFTPATH directory.

but it seems that an empty bug report (by "empty", the file provided
to the mailer, i.e. with the default contents), whether the bug has
been reported or not. I've just done a test, ending with:

[...]
Spawning mutt...
Mutt users should be aware it is mandatory to edit the draft before sending.
Report has not been sent yet; what do you want to do now? [E|q|?]? q
Draft saved into /home/vinc17/.reportbug/reportbug-reportbug-20121206-7695-DHs64D

but /home/vinc17/.reportbug/reportbug-reportbug-20121206-7695-DHs64D
does not contain the text I've written in the bug report. This is an
obvious data loss.

-- 
Vincent Lefèvre <vincent at vinc17.net> - Web: <http://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)



More information about the Reportbug-maint mailing list