Results 1 to 5 of 5

Thread: Why do I get warnings about cryptsetup-initramfs?

  1. #1
    Join Date
    Nov 2008
    Location
    Metro Boston
    Beans
    13,706
    Distro
    Kubuntu 18.04 Bionic Beaver

    Why do I get warnings about cryptsetup-initramfs?

    I've been testing out Kubuntu 19.04 for a couple of weeks now. Lately when I run a package upgrade, I get this warning:

    update-initramfs: Generating /boot/initrd.img-4.18.0-11-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
    I never saw anything like that in 18.04 or earlier versions. I have never had an encrypted filesystem and do not want one in the future.

    I had uninstalled both those packages, but they were apparently reinstalled by "apt upgrade". So I've now removed them again, then used "apt-mark hold" to block cryptsetup and cryptsetup-initramfs from being installed in the future. But why are these warnings appearing now?
    Last edited by SeijiSensei; 2 Days Ago at 08:11 PM.
    If you ask for help, do not abandon your request. Please have the courtesy to check for responses and thank the people who helped you.

    Blog · Linode System Administration Guides · Android Apps for Ubuntu Users

  2. #2
    Join Date
    Apr 2008
    Location
    Southern California, USA
    Beans
    Hidden!
    Distro
    Xubuntu

    Re: Why do I get warnings about cryptsetup-initramfs?

    I get the warning also. It mentioned about remove the package if your sure its not needed. I removed the package. Not sure why/when it started.

  3. #3
    Join Date
    Nov 2008
    Location
    Metro Boston
    Beans
    13,706
    Distro
    Kubuntu 18.04 Bionic Beaver

    Re: Why do I get warnings about cryptsetup-initramfs?

    I removed the packages, but they were restored at the next update. That's why I had to mark them with "apt-mark hold".
    If you ask for help, do not abandon your request. Please have the courtesy to check for responses and thank the people who helped you.

    Blog · Linode System Administration Guides · Android Apps for Ubuntu Users

  4. #4
    Join Date
    Aug 2016
    Location
    Wandering
    Beans
    Hidden!
    Distro
    Xubuntu Development Release

    Re: Why do I get warnings about cryptsetup-initramfs?

    It's been around since about kernel 4.17
    This warning is intentional if you have devices that need to be unlocked
    at initramfs stage (for instance devices required to unlock the root FS).
    And you did not need that so you were ok in uninstalling.
    First Bug Reported: https://bugs.debian.org/cgi-bin/bugr...cgi?bug=901830
    With realization of one's own potential and self-confidence in one's ability, one can build a better world.
    Dalai Lama>>
    Code Tags

  5. #5
    Join Date
    Nov 2008
    Location
    Metro Boston
    Beans
    13,706
    Distro
    Kubuntu 18.04 Bionic Beaver

    Re: Why do I get warnings about cryptsetup-initramfs?

    According to that bug report, this was "fixed" last June in Debian.

    I suppose most ordinary users never update from the command prompt. Does that mean they won't see this warning? Otherwise it will confuse the hell out of a lot of people.

    I'd be curious how many people have installations with encrypted filesystems. Are they even a quarter of installations? Can the installer determine if there are any encrypted filesystems in use and only install cryptsetup-initramfs in those situations? I realize at some level all filesystems are just a bunch of binary bits, but perhaps looking for a plain-text directory structure or something similar could help.
    If you ask for help, do not abandon your request. Please have the courtesy to check for responses and thank the people who helped you.

    Blog · Linode System Administration Guides · Android Apps for Ubuntu Users

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •