All of lore.kernel.org
 help / color / mirror / Atom feed
From: Colin Guthrie <gmane-D409yXkIzt2rnn0nCzrM/w@public.gmane.org>
To: initramfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: [PATCH v2] crypt: Prevent asking for password multiple times if non-default crypt name is used.
Date: Fri, 17 Jan 2014 10:32:16 +0000	[thread overview]
Message-ID: <lbb0r4$rh7$1@ger.gmane.org> (raw)
In-Reply-To: <52D40696.4080204-RWYTM8lfiZY4k1Tz1RznXQC/G2K4zDHf@public.gmane.org>

'Twas brillig, and James Lee at 13/01/14 15:30 did gyre and gimble:
> On 01/10/2014 11:55 AM, James Lee wrote:
>> I believe I've seen the situation this patch is trying to fix.  I will
>> test these patches with my fairly complex crypt setup [1] this weekend.
>>
>> James
>>
>> [1]
>> https://thestaticvoid.com/post/2013/10/26/how-i-do-encrypted-mirrored-zfs-root-on-linux/
> 
> Both patches (this one and the udev rule one) work great on all the
> systems I tried them on.  Solves the problem I was seeing with being
> asked for the passphrase multiple times.

Cool, thanks for testing!

Harald, care to commit at least one of them? I'm pretty sure the first
patch (v2) is safe on it's own. I'm not 100% sure about the udev bit as
although it solves the problem, it might have some unintended side effects.

Col

-- 

Colin Guthrie
gmane(at)colin.guthr.ie
http://colin.guthr.ie/

Day Job:
  Tribalogic Limited http://www.tribalogic.net/
Open Source:
  Mageia Contributor http://www.mageia.org/
  PulseAudio Hacker http://www.pulseaudio.org/
  Trac Hacker http://trac.edgewall.org/

  parent reply	other threads:[~2014-01-17 10:32 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-26 21:26 [PATCH 1/2] crypt: Prevent asking for password multiple times if non-default crypt name is used Colin Guthrie
     [not found] ` <1388093183-19045-1-git-send-email-colin-odJJhXpcy38dnm+yROfE0A@public.gmane.org>
2013-12-26 21:26   ` [PATCH 2/2] crypt: Only write udev rules to unlock when the device is added Colin Guthrie
     [not found]     ` <1388093183-19045-2-git-send-email-colin-odJJhXpcy38dnm+yROfE0A@public.gmane.org>
2014-01-14  7:16       ` James Lee
2014-01-28 14:39       ` Harald Hoyer
     [not found]         ` <52E7C138.4060909-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2014-01-28 15:41           ` Colin Guthrie
2013-12-27 13:00   ` [PATCH v2] crypt: Prevent asking for password multiple times if non-default crypt name is used Colin Guthrie
     [not found]     ` <1388149248-23146-1-git-send-email-colin-odJJhXpcy38dnm+yROfE0A@public.gmane.org>
2014-01-10 16:55       ` James Lee
     [not found]         ` <52D025F5.1050703-RWYTM8lfiZY4k1Tz1RznXQC/G2K4zDHf@public.gmane.org>
2014-01-13 15:30           ` James Lee
     [not found]             ` <52D40696.4080204-RWYTM8lfiZY4k1Tz1RznXQC/G2K4zDHf@public.gmane.org>
2014-01-17 10:32               ` Colin Guthrie [this message]
2014-01-28 14:38       ` Harald Hoyer
     [not found]         ` <52E7C0FD.1030209-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2014-01-28 15:40           ` Colin Guthrie

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='lbb0r4$rh7$1@ger.gmane.org' \
    --to=gmane-d409yxkizt2rnn0nczrm/w@public.gmane.org \
    --cc=initramfs-u79uwXL29TY76Z2rM5mHXA@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.