[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#814345: tmp file is left under /var/tmp if mkinitramfs fails



On Thu, 2016-02-11 at 01:29 +0900, Roger Shimizu wrote:
> Package: initramfs-tools
> Version: 0.120
> Severity: normal
> X-Debbugs-Cc: rogershimizu@gmail.com
> 
> Dear Maintainer,
> 
> tmp file is left under /var/tmp if mkinitramfs fails,

Yes I've noticed that.  We should add a trap on exit.

> and it never get cleaned up even after reboot.
> Maybe changing to /tmp is a quick fix?

/tmp may be too small.

Ben.

-- 
Ben Hutchings
Beware of bugs in the above code;
I have only proved it correct, not tried it. - Donald Knuth

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: