Re: [systemd-devel] Service is started multiple times during initrd

2022-10-04 Thread Andrei Borzenkov
On 04.10.2022 22:14, cd wrote: ... > add_symlink > "/usr/lib/systemd/system/initrd-root-fs.target.wants/lvm-autosnap-initrd.service" > "/usr/lib/systemd/system/lvm-autosnap-initrd.service" > ... > > Oct 04 11:49:20 archlinux systemd[1]: Reached target Initrd Default Target. > Oct 04 11:49:20 ar

[systemd-devel] Service is started multiple times during initrd

2022-10-04 Thread cd
Hello, I have configured systemd to handle the initrd part of boot (using the systemd hook in mkinitcpio.conf on arch). I've added the following service to my initramfs (with a corresponding .wants symlink) add_symlink "/usr/lib/systemd/system/initrd-root-fs.target.wants/lvm-autosnap-initrd.se