[systemd-devel] Stopping service manually, kills all dependencies but starting it again doesn't start dependencies

Eliasson, Erik erik.eliasson at volvocars.com
Mon Aug 11 09:42:08 UTC 2025


Hello Systemd people!

We have seen a behaviour change from version 244 to 250 where if service A is stopped, it also kills service B and C, which depends on service A.
But when we start service A after stopping it manually, it doesn't restart B and C as previously seen in version 244.

We have tried PartOf & BindsTo to bind the services to each other but with no success.
Does anyone know if there is a way to setup the services to revert to previous start and restart behaviour with dependencies when manually stopping services as seen in version 244?

This behaviour change seems to have been introduced in version 245 where dependencies were tightened up.
We know about targets to group the services but would be nice to have the old behaviour back without needing to use targets.

Thanks for putting your time to help me our,
Erik

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/systemd-devel/attachments/20250811/22151e3c/attachment-0001.htm>


More information about the systemd-devel mailing list