On Mon, 2011-03-28 at 16:23 +0200, Lennart Poettering wrote:
On Mon, 21.03.11 09:35, Bruno Wolff III (bruno(a)wolff.to) wrote:
>
> On Mon, Mar 21, 2011 at 16:22:59 +0200,
> Gilboa Davara <gilboad(a)gmail.com> wrote:
> >
> > My question is simple: Given the fact that I rarely encrypt the root,
> > can I somehow delay the encrypted partition mount to right-before-gdm,
> > so all the essential services (samba, nfs, cups) - especially network
> > and sshd, will be up, so I can remotely type the password required to
> > mount the encrypted partitions?
>
> I think under systemd there is a timeout and the system will continue to
> boot without the encrypted devices being mounted.
On systemd systems you can add "nofail" to the options in
/etc/crypttab. If used systemd will automatically decrypt the device if
it is plugged in (you will get a wall message telling you to enter the
passphrase for that and how to do that), but if it isn't it won't delay
bootup.
Lennart
I'm not sure that we're talking about the same thing:
I'm talking about having /home decrypt failure / timeout being delayed
until GDM starts.
Would nofail help?
- Gilboa