diff options
author | Harald Hoyer <harald@redhat.com> | 2013-03-01 15:13:43 +0100 |
---|---|---|
committer | Harald Hoyer <harald@redhat.com> | 2013-04-04 17:40:09 +0200 |
commit | 68395007f39b326978d7936f203be8fcd24bd222 (patch) | |
tree | 7a1a8e65ad8bfb586c572de06c131f2a594fb5e5 /test/a.service | |
parent | dace83cbd0c2212fc0e25d36d50711b19f14b1b6 (diff) |
cryptsetup-generator: add JobTimeoutSec=0 for the decrypted crypt devices
The password query for a crypto device currently times out after 90s,
which is too short to grab a cup of coffee when a machine boots up.
The resulting decrypted device /dev/mapper/luks-<uuid> might not
be a mountpoint (but part of a LVM PV or raid array)
and therefore the timeout cannot be controlled by the settings
in /etc/fstab. For this reason this device should not carry its own timeout.
Also the encrypted device /dev/disk/by-*/* already has a timeout and
additionally the timeout for the password query is set in /etc/crypttab.
This patch disables the timeout of the resulting decrypted devices by creating
<device-unit>.d/50-job-timeout-sec-0.conf files with "JobTimeoutSec=0".
Diffstat (limited to 'test/a.service')
0 files changed, 0 insertions, 0 deletions