From: Frederic Crozat Date: Thu, 4 Aug 2011 14:46:33 +0000 (+0200) Subject: cryptsetup-generator: block boot when querying passphrase. X-Git-Tag: v34~7 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1c5224b33630a1f95952796b2cb582be052e0c27;p=systemd cryptsetup-generator: block boot when querying passphrase. Ensure we wait for passphrase before starting tty1 or graphical display. Needed when not using plymouth. --- diff --git a/src/cryptsetup-generator.c b/src/cryptsetup-generator.c index a340218f..6f3aa786 100644 --- a/src/cryptsetup-generator.c +++ b/src/cryptsetup-generator.c @@ -112,7 +112,8 @@ static int create_disk( "DefaultDependencies=no\n" "BindTo=%s dev-mapper-%%i.device\n" "After=systemd-readahead-collect.service systemd-readahead-replay.service %s\n" - "Before=umount.target\n", + "Before=umount.target\n" + "Before=local-fs.target\n", d, d); if (!nofail)