Bug#786393: systemd: should not try to open encrypted devs that were already opened succesfully, workaround

Wim Bertels wim.bertels at ucll.be
Fri May 22 13:07:34 BST 2015


Hallo,

The file /etc/init/cryptdisk.conf refers to a possible race condition    
(/lib/cryptsetup/cryptdisks.functions)

"
# This job currently still does not guarantee a race-free startup; instances
# of cryptdisks-udev may be started in parallel with this job.
"

hth,
Wim

Referencing:

3. Here the problem begins: systemd tries to re-open all the entries in /etc/crypttab;
this makes sense for entries that could or should not be opened by initramfs; this doesnt make sense for entries that were already opened.
>> Systemd should not try to open entries in /etc/crypttab that already have been opened.
(?a race condition because of the structure of systemd?)





More information about the Pkg-systemd-maintainers mailing list