]> git.ipfire.org Git - thirdparty/systemd.git/commit
portablectl: add --force attach/detach
authorLuca Boccassi <bluca@debian.org>
Thu, 29 Sep 2022 21:41:55 +0000 (22:41 +0100)
committerLuca Boccassi <luca.boccassi@gmail.com>
Fri, 30 Sep 2022 12:25:31 +0000 (13:25 +0100)
commitace212f577572bcbab5a464d13bf09418a6e7fa4
treed5b2d5a295ce3de9405f6af4b9dd864f97e5a914
parente638a062e8fbbf3a838af671693e5d0d94b575ef
portablectl: add --force attach/detach

Allows to skip check that ensures units must not be running.

I have a use case that would use reattach, except the orchestrator
is using a non-standard versioning scheme, so image matching cannot
work. As a workaround, need to be able to detach and then attach
manually, without stopping the units to avoid extended downtimes
and loss of FD store.
man/org.freedesktop.portable1.xml
man/portablectl.xml
src/portable/portable.c
src/portable/portable.h
src/portable/portablectl.c
test/units/testsuite-29.sh