Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1020232

Bug#966716: initramfs-tools: update-initramfs fails with no conf.d/resume and veracrypt volume mounted

From Ben Hutchings <ben@decadent.org.uk>
Newsgroups linux.debian.bugs.dist, linux.debian.kernel
Subject Bug#966716: initramfs-tools: update-initramfs fails with no conf.d/resume and veracrypt volume mounted
Date 2020-08-03 05:30 +0200
Message-ID <AzzkJ-64N-1@gated-at.bofh.it> (permalink)
References <AzlB7-61w-1@gated-at.bofh.it> <Azpv3-8nR-1@gated-at.bofh.it> <AzzkK-64N-3@gated-at.bofh.it> <AzlB7-61w-1@gated-at.bofh.it> <AzzkK-64N-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Cross-posted to 2 groups.

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

[Added the bug address back in cc.  Reply to all, not just to me.]

On Mon, 2020-08-03 at 00:56 +0200, mbcm@tuta.io wrote:
> > That's a warning from cryptsetup, not from initramfs-tools itself.
> I'm sorry for that, how do I forward this to cryptsetup?
> 
> > So you don't know whether update-initramfs actually failed?
> I didn't take the chance, no. 
> A few days ago I was trying to configure cryptsetup to unlock with a
> keyfile. I was doing so from a live system that mounted cryptsetup
> devices with generic names ("luks-UUID"), if I didn't change the name
> of the device to "hdd500_crypt" with "dmsetup rename", then I would
> get this exact message and the system would not boot.
> 
> Unfortunately this is my only machine and it is very important that
> it keeps working. If I do try to reboot after getting that warning I
> fear that I might have to spend an entire afternoon fixing it.

If I understand rightly, you created or reconfigured a cryptsetup
volume (hdd500_crypt) but it's not listed in /etc/crypttab.  The
initramfs should still work as it only needs to mount / and /usr, but
you probably couldn't boot all the way to multi-user mode without
/home.

Is hdd500_crypt listed in /etc/crypttab?  If you add an entry for it
and re-run "update-initramfs -u", does it complete successfully without
warnings?

Ben.

-- 
Ben Hutchings
For every complex problem
there is a solution that is simple, neat, and wrong.


Back to linux.debian.bugs.dist | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Bug#966716: initramfs-tools: update-initramfs fails with no conf.d/resume and veracrypt volume mounted Tuco <mbcm@tuta.io> - 2020-08-02 14:50 +0200
  Bug#966716: initramfs-tools: update-initramfs fails with no conf.d/resume and veracrypt volume mounted Ben Hutchings <ben@decadent.org.uk> - 2020-08-02 19:00 +0200
  Bug#966716: initramfs-tools: update-initramfs fails with no conf.d/resume and veracrypt volume mounted Ben Hutchings <ben@decadent.org.uk> - 2020-08-03 05:30 +0200

csiph-web