[systemd-devel] Service lifetime

2025-07-13 Thread Anthony Rossomano
I’m starting an oneshot systemd service from udev remove event and wanted to confirm the expected behavior if an instance of service is running and another service start is attempted. From my trials it appears that the second service is not started if one is already running.

Re: [systemd-devel] Service lifetime

2025-07-13 Thread Mantas Mikulėnas
There is only ever a single instance of a unit with a specific name, since the name is how you control it. If multiple instances are needed, they need to have unique names, usually through a template unit (foo@.service → foo@$env{something}.service). On Mon, Jul 14, 2025, 06:07 Anthony Rossomano

[systemd-devel] How to retry entering PIN for cryptsetup in initrd?

2025-07-13 Thread Carl Lei
Hello, I configure my LUKS to use TPM+PIN, and frequently, when I made a typo in the PIN, it falls back to passphrase directly. My passphrase is a random one I don't remember (saved in password managers), so when this happens I usually choose to Ctrl-Alt-Del; grabbing the phone is slower than wai