Public bug reported: In ubuntu 18.10, error message is displayed at initramfs stage when cryptsetup is not included to the initrd.
vmware@ubuntu-18.10:~$ sudo update-initramfs -u [sudo] password for vmware: update-initramfs: Generating /boot/initrd.img-4.18.0-8-generic cryptsetup: WARNING: The initramfs image may not contain cryptsetup binaries nor crypto modules. If that's on purpose, you may want to uninstall the 'cryptsetup-initramfs' package in order to disable the cryptsetup initramfs integration and avoid this warning. rmdir: failed to remove '/var/tmp/mkinitramfs_mxUIaj/var/cache/ldconfig': No such file or directory vmware@ubuntu-1810:~$ There is a bug in Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=901830 ** Affects: initramfs-tools (Ubuntu) Importance: Undecided Status: New ** Package changed: cloud-init (Ubuntu) => initramfs-tools (Ubuntu) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1796438 Title: cryptsetup-initramfs: error message is displayed at initramfs stage when cryptsetup is not included to the initrd To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/1796438/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs