If a process segfaults on exit, systemd seems to delay 90s longer than it needs to (if a shutdown command triggers a core file). The issue was initially reported here: https://github.com/systemd/systemd/issues/2691 One can workaround by disabling systemd's handling of core files or by applying Lennart's patch: https://github.com/poettering/systemd/commit/3e7a1f50e473a374e1657d2051237e2db04c4db2 which was merged to head in this commit: commit 3e7a1f50e473a374e1657d2051237e2db04c4db2 Author: Lennart Poettering <lennart@poettering.net> Date: Thu Apr 28 17:09:50 2016 +0200 core: make sure to close connection fd when we fail to activate a per-connection service Fixes: #2993 #2691 Trying this patch in krogoth fixed the issue for me.
Please investigate if this is fixed in master and if so please take the appropriate backport actions.
No response on the bug or any patch backport request on the list for this so closing as obsolete as krogoth is getting old at this point.
(issue would be fixed in master after upgrades)