Verification done on trusty: bdmurray@clean-trusty-amd64:~$ ls /var/tmp/ bdmurray@clean-trusty-amd64:~$ sudo update-initramfs -k all -u [sudo] password for bdmurray: update-initramfs: Generating /boot/initrd.img-4.4.0-38-generic ^Cbdmurray@clean-trusty-amd64:~$ ls /var/tmp/ mkinitramfs-FW_pLwXEe bdmurray@clean-trusty-amd64:~$ apt-cache policy initramfs-tools initramfs-tools: Installed: 0.103ubuntu4.10 Candidate: 0.103ubuntu4.10 Version table: *** 0.103ubuntu4.10 0 500 http://ubuntu.osuosl.org/ubuntu/ trusty-proposed/main amd64 Packages 100 /var/lib/dpkg/status 0.103ubuntu4.9 0 500 http://ubuntu.osuosl.org/ubuntu/ trusty-updates/main amd64 Packages 0.103ubuntu4 0 500 http://ubuntu.osuosl.org/ubuntu/ trusty/main amd64 Packages bdmurray@clean-trusty-amd64:~$ sudo update-initramfs -k all -u update-initramfs: Generating /boot/initrd.img-4.4.0-38-generic ^Cbdmurray@clean-trusty-amd64:~$ ls /var/tmp/ mkinitramfs-FW_pLwXEe
** Tags removed: verification-needed-trusty ** Tags added: verification-done-trusty -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, 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 -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp