From: Harald Hoyer <harald-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
To: Michael Chapman <mike-t5o/rqeHJupYO+ANumB+pti2O/JbrIOy@public.gmane.org>
Cc: Colin Guthrie <gmane-D409yXkIzt2rnn0nCzrM/w@public.gmane.org>,
initramfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: Unable to boot with encrypted swap
Date: Tue, 28 May 2013 13:43:24 +0200 [thread overview]
Message-ID: <51A4985C.2090501@redhat.com> (raw)
In-Reply-To: <alpine.LFD.2.03.1305171058310.30473-N07bVqg5a7VBDLzU/O5InQ@public.gmane.org>
On 05/17/2013 03:38 AM, Michael Chapman wrote:
> On Thu, 16 May 2013, Colin Guthrie wrote:
>> Yeah it's almost certainly only for resume from suspend. Sadly this is
>> controlled by the resume= kernel command line and when the initrd is
>> generated it doesn't really know if it'll be needed or not.
>
> I think Dracut could use the the "swap" flag in crypttab to determine that a
> volume is definitely not needed on boot, since this tells systemd-cryptsetup
> that the swap needs to be recreated on boot. And since this is a "plain"
> dm-crypt encrypted device, the (randomly generated) encryption key isn't dropped
> from the kernel on hibernation -- so, I don't think the initrd needs to touch it
> upon resuming from hibernation either.
fixed with commit bcfbddefe13d179d553da77cf66ada5e6fd804c8
Thanks for reporting!
prev parent reply other threads:[~2013-05-28 11:43 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-14 2:43 Unable to boot with encrypted swap Michael Chapman
[not found] ` <alpine.LFD.2.03.1305141241010.30473-N07bVqg5a7VBDLzU/O5InQ@public.gmane.org>
2013-05-14 3:06 ` Joseph D. Wagner
[not found] ` <5191AA29.3010107-d25e1lPyJDacX41WfeyM6aHonnlKzd3f@public.gmane.org>
2013-05-14 3:22 ` Michael Chapman
[not found] ` <alpine.LFD.2.03.1305141317480.30473-N07bVqg5a7VBDLzU/O5InQ@public.gmane.org>
2013-05-14 3:53 ` Joseph D. Wagner
[not found] ` <5191B539.9000705-d25e1lPyJDacX41WfeyM6aHonnlKzd3f@public.gmane.org>
2013-05-14 7:28 ` Michael Chapman
[not found] ` <alpine.LFD.2.03.1305141717040.30473-N07bVqg5a7VBDLzU/O5InQ@public.gmane.org>
2013-05-14 7:47 ` Michael Chapman
2013-05-14 3:27 ` Michael Chapman
2013-05-16 8:17 ` Colin Guthrie
2013-05-17 1:38 ` Michael Chapman
[not found] ` <alpine.LFD.2.03.1305171058310.30473-N07bVqg5a7VBDLzU/O5InQ@public.gmane.org>
2013-05-28 11:43 ` Harald Hoyer [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=51A4985C.2090501@redhat.com \
--to=harald-h+wxahxf7alqt0dzr+alfa@public.gmane.org \
--cc=gmane-D409yXkIzt2rnn0nCzrM/w@public.gmane.org \
--cc=initramfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=mike-t5o/rqeHJupYO+ANumB+pti2O/JbrIOy@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox