summaryrefslogtreecommitdiff
path: root/src/network/networkd-link-bus.c
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2016-11-14 05:49:49 -0500
committerLennart Poettering <lennart@poettering.net>2016-11-14 11:49:49 +0100
commit2a49b6120f0ba3e07cef964d8a4b321bd49655c9 (patch)
treeee206112dc430ee4537f58203475633e61bcb1cb /src/network/networkd-link-bus.c
parent45d34fa7fb9f587f09e8cca882966050b4cbb5be (diff)
nspawn: restart the whole systemd-nspawn@.service unit on container reboot (#4613)
Since 133 is now used in a few places, add a #define for it. Also make the status message a bit informative. Another issue introduced in b006762. The logic was borked, we were supposed to return 0 to break the loop, and 133 to restart the container, not the other way around. But this doesn't seem to work, reboot fails with: Nov 08 00:41:32 laptop systemd-nspawn[26564]: Failed to register machine: Machine 'fedora-rawhide' already exists So actually the version before this patch worked better, since 133 > 0 and we'd at least loop internally.
Diffstat (limited to 'src/network/networkd-link-bus.c')
0 files changed, 0 insertions, 0 deletions