[systemd-bugs] [Bug 65973] when a unit file is removed, systemd abandons running processes

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Jun 20 10:39:56 PDT 2013


https://bugs.freedesktop.org/show_bug.cgi?id=65973

--- Comment #5 from Lennart Poettering <lennart at poettering.net> ---
So, if libvirt doesn't move qemu away, then this indeed looks like a bug in
systemd.

When you remove the service description file and the service is still running
at that time, and you reload systemd, then systemd should show the thing as
failed to load, but should still show all its running processes, and it should
allow shutting the service down (which would use the default shutting down
logic of SIGTERM+SIGKILL given that no other config is available). It wouldn't
allow restarting, reloading or starting it, only stopping it, since that is
kinda necessary, and that's the only thing we actually can do without service
description file.

Zbigniew's pastes suggest that for some reason systemd completely loses track
of the processes when it is reloaded. And that definitely shouldn't happen. And
I am sure this did work once upon a time, because I remember hacking this up
and testing it.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-bugs/attachments/20130620/cb533cbf/attachment.html>


More information about the systemd-bugs mailing list