[systemd-devel] [PATCH] cryptsetup-generator: Add JobTimeoutSec=0 for all known crypt devices

Harald Hoyer harald at redhat.com
Thu Apr 4 04:19:13 PDT 2013


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Am 04.04.2013 13:09, schrieb Thomas Bächler:
> Am 03.04.2013 19:02, schrieb Lennart Poettering:
>> On Wed, 03.04.13 17:02, Harald Hoyer (harald at redhat.com) wrote:
>> 
>>>> Well, this explanation is too short. You need to clarify that this
>>>> only has an effect on devices listed in fstab with their device
>>>> mapper path (i.e. rather than LABEL= or UUID=, which is by far more
>>>> common). For the generic case there is no way around setting
>>>> x-systemd.device-timeout=0 in fstab, because we wouldn't know that
>>>> the fs with that label or uuid is hidden behind a certain encrypted
>>>> device before we have decrypted it.
>>> 
>>> This is not true. This also affects LVM on top of the cryptsetup
>>> devices, where none of the /dev/mapper devices is and can be in
>>> /etc/fstab.
>> 
>> Well, LVM does not care about proper dependencies. They still are so 
>> naive to assume they are run at a point in time where all devices are 
>> probed.
> 
> That is untrue. LVM can be enabled entirely from udev if it is so 
> configured.

This is exactly what is going on in dracut and because we don't know the
physical volumes, we cannot create systemd units with dependencies.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.13 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBAgAGBQJRXWGwAAoJEANOs3ABTfJw5wsP/3GsY5JHO0f/Q12oO+E0RNYa
dYWjBi88pCNmTB4ZlcakhAGVVKQhRcdYdlyBqXXzn+pI9gTle1eY4WgSLVCBOJ5T
oAEAGcjv8cJUu4AVdaRJQo86I7MkYuLaEh8iGnJ6zWIOL01gyIzY7td4zlQ/xwXP
vyc9xJhakemXl1jIkJjJVSTB+tMsZzIQTAlwLshavvSNotzxHbeCi+RDpCB6fXj3
Xx7ISHckjc0EPXtKDOYthgRYFzTUG9Lshk0xB8p3hWI6P9GR5CnGZzQoBbM9WNvd
JlgikDuDpE2lWAZJ2DHYlijsZpgBbjJ/CSDPL+P9vEcHdy5ktyZuDm9LjXXHohT7
gkA5B3W8jOb6taznt7gl/sPJy10kicvMd8QEFs1kIAXLnkuwzo7i5r4dT/K48S6T
mJ4p/aYJD/0wnMOUSyEX6zAeDr1I2MR29WSiAhjBGQ3YZlHzz9ivyUNOGsvIj+/v
GXeeuMucOZ8ANtdaKPK/yo2kq1jHnRNoG6rGD2ghhzJOv0hc+XbhLqTOpPi/LJ0r
JsVAa4LumUM4uz8xWRzwSCuSPGbBdkbsWd/GvRr0qEMUfyJcUPJc5nojZKbj/6kf
caGlSSUnTdls5cA+OLx6j+4jbj5FN6tnUH4+mZ0gJwTwvhJfF4FC4Ti135DCdKsW
brUqcBX9dHTiXdCK+ihS
=n8/u
-----END PGP SIGNATURE-----


More information about the systemd-devel mailing list