Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #52775 > unrolled thread

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

Started byRoger Shimizu <rogershimizu@gmail.com>
First post2016-02-10 17:40 +0100
Last post2016-02-11 05:40 +0100
Articles 4 — 3 participants

Back to article view | Back to linux.debian.kernel


Contents

  Bug#814345: tmp file is left under /var/tmp if mkinitramfs fails Roger Shimizu <rogershimizu@gmail.com> - 2016-02-10 17:40 +0100
    Bug#814345: tmp file is left under /var/tmp if mkinitramfs fails Roger Shimizu <rogershimizu@gmail.com> - 2016-02-10 18:20 +0100
    Bug#814345: tmp file is left under /var/tmp if mkinitramfs fails Ben Hutchings <ben@decadent.org.uk> - 2016-02-10 19:40 +0100
    Bug#814345: marked as done (tmp file is left under /var/tmp if  mkinitramfs fails) owner@bugs.debian.org (Debian Bug Tracking System) - 2016-02-11 05:40 +0100

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

FromRoger Shimizu <rogershimizu@gmail.com>
Date2016-02-10 17:40 +0100
SubjectBug#814345: tmp file is left under /var/tmp if mkinitramfs fails
Message-ID<r0FY5-4CC-1@gated-at.bofh.it>
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, and it never get
cleaned up even after reboot.
Maybe changing to /tmp is a quick fix?

Cheers,
-- 
Roger Shimizu, GMT +9 Tokyo
PGP/GPG: 17B3ACB1

[toc] | [next] | [standalone]


#52779

FromRoger Shimizu <rogershimizu@gmail.com>
Date2016-02-10 18:20 +0100
Message-ID<r0GAP-5dx-27@gated-at.bofh.it>
In reply to#52775
> tmp file is left under /var/tmp if mkinitramfs fails

for why mkinitramfs fails, here're a few example:
- /boot partition is full
- /boot partition is mounted with "ro" option
- out of memory when xz is compressing

-- 
Roger Shimizu, GMT +9 Tokyo
PGP/GPG: 17B3ACB1

[toc] | [prev] | [next] | [standalone]


#52782

FromBen Hutchings <ben@decadent.org.uk>
Date2016-02-10 19:40 +0100
Message-ID<r0HQe-5YR-13@gated-at.bofh.it>
In reply to#52775

[Multipart message — attachments visible in raw view] — view raw

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

[toc] | [prev] | [next] | [standalone]


#52795 — Bug#814345: marked as done (tmp file is left under /var/tmp if mkinitramfs fails)

Fromowner@bugs.debian.org (Debian Bug Tracking System)
Date2016-02-11 05:40 +0100
SubjectBug#814345: marked as done (tmp file is left under /var/tmp if mkinitramfs fails)
Message-ID<r0RcS-3FW-27@gated-at.bofh.it>
In reply to#52775

[Multipart message — attachments visible in raw view] — view raw

Your message dated Thu, 11 Feb 2016 04:30:08 +0000
with message-id <E1aTitM-0005j3-FH@franck.debian.org>
and subject line Bug#814345: fixed in initramfs-tools 0.123
has caused the Debian Bug report #814345,
regarding tmp file is left under /var/tmp if mkinitramfs fails
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
814345: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=814345
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.kernel


csiph-web