1
0
mirror of https://github.com/systemd/systemd.git synced 2024-11-08 11:27:32 +03:00
systemd/src/machine
Lennart Poettering 49f3fffd94 machined: rework state tracking logic for machines
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.
2015-08-06 16:54:00 +03:00
..
.gitignore machined: introduce polkit for OpenLogin() call 2014-12-23 21:28:48 +01:00
image-dbus.c sd-bus: drop bus parameter from message callback prototype 2015-04-29 18:36:25 +02:00
image-dbus.h sd-bus: drop bus parameter from message callback prototype 2015-04-29 18:36:25 +02:00
machine-dbus.c machined: Relax path checks for Copy{From,To} 2015-08-04 09:11:23 +00:00
machine-dbus.h sd-bus: drop bus parameter from message callback prototype 2015-04-29 18:36:25 +02:00
machine.c machined: rework state tracking logic for machines 2015-08-06 16:54:00 +03:00
machine.h machined: rework state tracking logic for machines 2015-08-06 16:54:00 +03:00
machinectl.c machinectl: support relative host paths in copy-{from,to} 2015-08-04 09:11:23 +00:00
machined-dbus.c machined: rework state tracking logic for machines 2015-08-06 16:54:00 +03:00
machined.c machined: rework state tracking logic for machines 2015-08-06 16:54:00 +03:00
machined.h sd-bus: drop bus parameter from message callback prototype 2015-04-29 18:36:25 +02:00
Makefile machined: split out machine registration stuff from logind 2013-07-02 03:47:23 +02:00
org.freedesktop.machine1.conf nss-mymachines: map userns users of containers to real user names 2015-07-09 14:46:20 -03:00
org.freedesktop.machine1.policy.in machined: open up most of machined's commands to unprivileged clients via PolicyKit 2015-02-18 11:43:18 +01:00
org.freedesktop.machine1.service machined: split out machine registration stuff from logind 2013-07-02 03:47:23 +02:00
test-machine-tables.c tests: add tests for string lookup tables 2013-07-05 01:36:16 -04:00