Re: [systemd-devel] systemd has not the same behaviour following the version of the kernel ; StopWhenUnneeded no longer works

2022-09-29 Thread eric-olivier.perrin
Thanks for your answer. After some research, it seems that issue is already registered and fixed : https://github.com/systemd/systemd/issues/23410 BR, Eric -Message d'origine- De : systemd-devel De la part de Colin Guthrie Envoyé : mercredi 28 septembre 2022 18:18 À :

Re: [systemd-devel] systemd has not the same behaviour following the version of the kernel ; StopWhenUnneeded no longer works

2022-09-28 Thread Colin Guthrie
Long standing issue with udev rules and a kernel change. IIRC you should try ACTION!="remove" in your udev rule instead. There are other posts on the list about this but I'm running out the door so thought I'd through a hint at least - if it doesn't work, I may have got the action name wrong,

[systemd-devel] systemd has not the same behaviour following the version of the kernel ; StopWhenUnneeded no longer works

2022-09-27 Thread eric-olivier.perrin
Hi, I'm using debian 10 (systemd 241) . I launch a service (tank.service) when a specific USB device is connected. For that, i have written an udev rule that requests the service start in case of < add > event, thanks to < SYSTEMD_WANTS > : SUBSYSTEM=="usb", ACTION=="add",