Public bug reported:
Running Ubuntu Server 17.10 preview downloaded from cdimages.ubuntu.com.
update-initramfs produces a warning complaining that CRYPSETUP should
not be set in /etc/initramfs.conf, but in /etc/cryptsetup-initramfs
/conf-hook. This happens with or without full disk encryption.
$ sudo update-initramfs -u
update-initramfs: Generating /boot/initrd.img-4.13.0-12-generic
WARNING: Setting CRYPTSETUP in /etc/initramfs-tools/initramfs.conf is
deprecated and will stop working in the future. Use
/etc/cryptsetup-initramfs/conf-hook instead.
Further investigation showed that the warning is produced by the script
/usr/share/initramfs-tools/hooks/cryptroot, part of package cryptsetup.
The warning is caused by the configuration file /usr/share/initramfs-
tools/conf-hooks.d/overlayroot, part of the package overlayroot, which
sets CRYPTSETUP=1. Both packages are dependencies on ubuntu-server and
get installed by default.
$ lsb_release -rd
Description: Ubuntu Artful Aardvark (development branch)
Release: 17.10
$ apt-cache policy overlayroot
overlayroot:
Installed: 0.39ubuntu1
Candidate: 0.39ubuntu1
Version table:
*** 0.39ubuntu1 500
500 http://ro.archive.ubuntu.com/ubuntu artful/main i386 Packages
100 /var/lib/dpkg/status
$ apt-cache policy cryptsetup
cryptsetup:
Installed: 2:1.7.3-4ubuntu1
Candidate: 2:1.7.3-4ubuntu1
Version table:
*** 2:1.7.3-4ubuntu1 500
500 http://ro.archive.ubuntu.com/ubuntu artful/main i386 Packages
100 /var/lib/dpkg/status
** Affects: cloud-initramfs-tools (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1720036
Title:
Initramfs configuration hook overlayroot sets CRYPTSETUP=1
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cloud-initramfs-tools/+bug/1720036/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs