Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
factory: make classic-mounts.service active after finishing
Add RemainAfterExit=yes to classic-mounts.service unit to make sure it is considered active by systemd. Otherwise, it was started twice in the initramfs, and in the second run there was a race condition with initrd-udevadm-cleanup-db.service, where if daemon-reload happened after cleaning the udev database, systemd considered some device units unplugged, including disks, which in turn led to unmounts in /run/mnt. In turn this was causing that /lib/{modules,firmware} was not being mounted after switch root.
- Loading branch information