Bug#786393: systemd: keyscript crypttab ignore, but booting ok with a annoying 1m30 delay
Wim Bertels
wim.bertels at ucll.be
Thu May 21 11:01:39 BST 2015
Hallo,
i tried out the graphical bugreport instead of the text version,
this is probably a duplicate of Bug#618862
Another note:
* there is no fallback to passphrase when the device with the keyfile is not plugged in (using :timeout en tries)
mvg,
Wim
________________________________________
Van: wim <wim.bertels at khleuven.be>
Verzonden: donderdag 21 mei 2015 11:37
Aan: Debian Bug Tracking System
Onderwerp: Bug#786393: systemd: keyscript crypttab ignore, but booting ok with a annoying 1m30 delay
Package: systemd
Version: 215-17
Severity: normal
Hallo,
Context, clean jessie installation:
* Setting up LVM + cryptsetup boot + keyscript + systemd
* 2 harddisk (slow and fast)
** 1. Booting with passphrases works fine
** 2. Booting with a single passphrase an using decrypt_derived works fine to
load second lvm (although there is message that systemd doensn't understand the
option that's being used, ignoring)
*** 3. Now adding a keyfile to the first luks entry in crypttab instead of
using a passphrase
*** 4. This works with the passdev script, but starts always adds an delay of
1m30
How is this delay caused: by a job start that seems to want the use the keyfile
with the syntax found in the crypttab
Some notes:
* Following $9. The "decrypt_derived" keyscript$ in
/usr/share/doc/cryptsetup/README.initramfs.gz u need 'vgchange -a y' or
vgchange -a n' when working with lvm
* 'cryptsetup status crypt_drive' shows inactive, while drives are loaded and
being used?
hth,
Wim
-- Package-specific info:
-- System Information:
Debian Release: 8.0
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 3.16.0-4-amd64 (SMP w/8 CPU cores)
Locale: LANG=nl_BE.utf8, LC_CTYPE=nl_BE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages systemd depends on:
ii acl 2.2.52-2
ii adduser 3.113+nmu3
ii initscripts 2.88dsf-59
ii libacl1 2.2.52-2
ii libaudit1 1:2.4-1+b1
ii libblkid1 2.25.2-6
ii libc6 2.19-18
ii libcap2 1:2.24-8
ii libcap2-bin 1:2.24-8
ii libcryptsetup4 2:1.6.6-5
ii libgcrypt20 1.6.3-2
ii libkmod2 18-3
ii liblzma5 5.1.1alpha+20120614-2+b3
ii libpam0g 1.1.8-3.1
ii libselinux1 2.3-2
ii libsystemd0 215-17
ii mount 2.25.2-6
ii sysv-rc 2.88dsf-59
ii udev 215-17
ii util-linux 2.25.2-6
Versions of packages systemd recommends:
ii dbus 1.8.16-1
ii libpam-systemd 215-17
Versions of packages systemd suggests:
pn systemd-ui <none>
-- no debconf information
More information about the Pkg-systemd-maintainers
mailing list