Re: Ordering units and targets with devices

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mi, 17.08.22 13:23, Michael Cassaniti (michael@xxxxxxxxxxxxxxx) wrote:

> Hi,
>
> I'm trying to order my units and targets during early boot so that:
> 1. A symlink to the specific FIDO2 token I'm using gets created. I already
> have a udev rule in place for this and it successfully creates the symlink
> under /dev. Because I have two tokens I need to specify which one to use.
> 2. The unit for systemd-cryptsetup@root.service has to wait for this unit.
> The unit gets generated from systemd-cryptsetup-generator so I can't just
> add Requires= stanzas to the unit. I do have a /etc/crypttab file.

systemd-cryptsetup can wait on its own for a FIDO2 token, no need to
do that with unit deps?

Lennart

--
Lennart Poettering, Berlin



[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux