mirror of
https://github.com/token2/snapd.git
synced 2026-03-13 11:15:47 -07:00
We hit an issue in initrd where the basic.target had an implicit dependency on the snap-intiramfs-mounts unit. Part of snap-initramfs-mounts is to use `systemd-run` to run `fde-reveal-key`, without this `snap-initramfs-mounts` cannot complete. So this situation lead to a deadlock and an unbootable system. While this is getting fixed in initrd the fde-reveal-key code should also be more robust and not hang like this. So this commits adds `--property=DefaultDependencies=no` which will avoid that fde-reveal-key needs basic.target to run.