[pkg-cryptsetup-devel] Bug#924380: cryptsetup: initramfs warning
Richard Lucassen
debian-bugreport6 at xaq.nl
Tue Mar 12 08:55:06 GMT 2019
Package: cryptsetup
Version: 2:2.1.0-1
Severity: minor
Dear Maintainer,
Running "update-initramfs -u" shows this warning on a machine that has cryptsetup installed, but no encrypted devices (I only use crypsetup with USB devices)
It warns:
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.
But:
# dpkg -r cryptsetup-initramfs
dpkg: dependency problems prevent removal of cryptsetup-initramfs:
cryptsetup depends on cryptsetup-initramfs (>= 2:2.0.3-1).
dpkg: error processing package cryptsetup-initramfs (--remove):
dependency problems - not removing
Errors were encountered while processing:
cryptsetup-initramfs
So the dependency may be removed, but maybe it's easier to add an entry to /etc/default/cryptdisks, e.g.:
CRYPTDISKS_INITRAMFS=Yes
which can be set to "No" if there are no encrypted devices.
Richard.
-- Package-specific info:
-- System Information:
Debian Release: buster/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 4.19.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)
Versions of packages cryptsetup depends on:
pn cryptsetup-initramfs <none>
ii cryptsetup-run 2:2.1.0-1
cryptsetup recommends no packages.
cryptsetup suggests no packages.
-- debconf-show failed
More information about the pkg-cryptsetup-devel
mailing list