Well maybe the autodetect is now better
If someone do not use a full encrypted system, than askpass and libcrypt is not needed in the initramfs. We should really seperate the two systems:
crypted root
-> everthing for decryption is needed inside initramfs
-> systemd is coming afterwards, if there was only cryptocontainer, than everything works like charm
non crypted root / multiple cryptocontainers
-> rootfs can be used directly
-> no need to have anything for encryption inside initramfs
-> systemd handles the decryption
-> we hit the problem of parallation of opening the cryptocontainers in parallel
but trying to put the missing things inside initramfs is a good idea - maybe I'm wrong
--
Vielleicht ist die autodetection besser geworden
Wenn jemand kein vollverschlüsseltes System verwendet, dann muss askpass und libcrypt nicht ins initramfs. Wir sollten auch die beiden systeme nicht miteinander verwechseln:
verschlüsseltes root:
-> alls fürs entschlüsseln muss in initramfs
-> systemd kommt danach; wenn es nur einen cryptocontainer gibt, dann läuft alles wie gewohnt
nicht verschlüsseltes root/ mehere cryptocontainer:
-> auf rootfs kann direkt zugegriffen werden
-> deswegen brauchen wir keine tools zum entschlüsseln
-> systemd kümmert sich ums entschlüsseln
-> und tada wir haben das Problem der Parallelisierung, und der versuch die Cryptocontainer parallel zu öffnen
aber es zu probieren die fehlenden sachen mal ins intramfs zu packen ist auf alle Fälle eine gute idee, nicht dasss ich einfach falsch liege