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

Thomas Bächler thomas at archlinux.org
Thu Apr 4 04:09:42 PDT 2013


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.

> Whether or not .device units exist is pretty much ignored by LVM.

That's true, LVM cannot hook into systemd,


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 901 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20130404/664f1ec4/attachment-0001.pgp>


More information about the systemd-devel mailing list