mirror of
https://github.com/systemd/systemd.git
synced 2024-11-08 11:27:32 +03:00
49f3fffd94
This splits up the stopping logic for machines into two steps: first on machine_stop() we begin with the shutdown of a machine by queuing the stop method call for it. Then, in machine_finalize() we actually remove the rest of its runtime context. This mimics closely how sessions are handled in logind. This also reworks the GC logic to strictly check the current state of the machine unit, rather than shortcutting a few cases, like for example assuming that UnitRemoved really means a machine is gone (which it isn't since Reloading might trigger it, see #376). Fixes #376. |
||
---|---|---|
.. | ||
.gitignore | ||
image-dbus.c | ||
image-dbus.h | ||
machine-dbus.c | ||
machine-dbus.h | ||
machine.c | ||
machine.h | ||
machinectl.c | ||
machined-dbus.c | ||
machined.c | ||
machined.h | ||
Makefile | ||
org.freedesktop.machine1.conf | ||
org.freedesktop.machine1.policy.in | ||
org.freedesktop.machine1.service | ||
test-machine-tables.c |