[Bug 1713004] Re: Temporary files left under /var/tmp by mkinitramfs
Brian Murray
brian at ubuntu.com
Wed Dec 6 22:47:56 UTC 2017
Verification done on xenial:
bdmurray at clean-xenial-amd64:~$ ls /var/tmp/
mkinitramfs-FW_Kd1tzJ systemd-private-9729e594cf0c492a8e20b5289d9df1a3-colord.service-22FIRG
mkinitramfs-OL_IGHYM7 systemd-private-9729e594cf0c492a8e20b5289d9df1a3-rtkit-daemon.service-jbvsR3
mkinitramfs_oqn7fE systemd-private-9729e594cf0c492a8e20b5289d9df1a3-systemd-timesyncd.service-9HxFZw
bdmurray at clean-xenial-amd64:~$ sudo vi /etc/apt/sources.list
bdmurray at clean-xenial-amd64:~$ apt-cache policy initramfs-tools
initramfs-tools:
Installed: 0.122ubuntu8.10
Candidate: 0.122ubuntu8.10
Version table:
*** 0.122ubuntu8.10 500
500 http://192.168.10.7/ubuntu xenial-proposed/main amd64 Packages
500 http://192.168.10.7/ubuntu xenial-proposed/main i386 Packages
100 /var/lib/dpkg/status
0.122ubuntu8.9 500
500 http://192.168.10.7/ubuntu xenial-updates/main amd64 Packages
500 http://192.168.10.7/ubuntu xenial-updates/main i386 Packages
0.122ubuntu8 500
500 http://192.168.10.7/ubuntu xenial/main amd64 Packages
500 http://192.168.10.7/ubuntu xenial/main i386 Packages
bdmurray at clean-xenial-amd64:~$ sudo update-initramfs -k all -u
update-initramfs: Generating /boot/initrd.img-4.4.0-38-generic
^C
bdmurray at clean-xenial-amd64:~$ ls /var/tmp/
mkinitramfs-FW_Kd1tzJ systemd-private-9729e594cf0c492a8e20b5289d9df1a3-colord.service-22FIRG
mkinitramfs-OL_IGHYM7 systemd-private-9729e594cf0c492a8e20b5289d9df1a3-rtkit-daemon.service-jbvsR3
mkinitramfs_oqn7fE systemd-private-9729e594cf0c492a8e20b5289d9df1a3-systemd-timesyncd.service-9HxFZw
** Tags removed: verification-needed-xenial
** Tags added: verification-done-xenial
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to initramfs-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1713004
Title:
Temporary files left under /var/tmp by mkinitramfs
Status in initramfs-tools package in Ubuntu:
Fix Released
Status in initramfs-tools source package in Trusty:
Fix Committed
Status in initramfs-tools source package in Xenial:
Fix Committed
Status in initramfs-tools package in Debian:
Fix Released
Bug description:
Test Case
---------
1) confirm there are no mkinitramfs junk files in /var/tmp
2) run 'sudo update-initramfs -k all -u -v'
3) interrupt update-initramfs with Ctrl-C
4) observe junk files in /var/tmp e.g. /var/tmp/mkinitramfs*
With the version of initramfs-tools in -proposed you should see not
have any leftovers in /var/tmp.
I recently ran out of disk space on my / mount. While looking for
what consumed the disk I noticed a large number (130) of directories
with names / paths beginning /var/tmp/mkinitramfs. These directories
seem to be either ~103 MB or ~927 MB in size. Many of these files are
months old, some are almost a year.
Having had a quick look about for an explanation as to why these files
are here and found Debian Bug #814345. That explains that temporary
files are left behind by the initramfs-tools if something fails in the
process. If this is the cause of my files then updating the Ubuntu
package to version 0.123 should resolve this issue.
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: initramfs-tools 0.122ubuntu8.8
ProcVersionSignature: Ubuntu 4.4.0-72.93-generic 4.4.49
Uname: Linux 4.4.0-72-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.10
Architecture: amd64
CurrentDesktop: Unity
Date: Fri Aug 25 09:40:41 2017
InstallationDate: Installed on 2015-03-12 (896 days ago)
InstallationMedia: Ubuntu 14.04.2 LTS "Trusty Tahr" - Release amd64 (20150218.1)
PackageArchitecture: all
SourcePackage: initramfs-tools
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/1713004/+subscriptions
More information about the foundations-bugs
mailing list