(WIP) stage1: app exit code propagated to rkt exit code#1783
(WIP) stage1: app exit code propagated to rkt exit code#1783alban wants to merge 1 commit intorkt:masterfrom
Conversation
|
neat Though I figured we wouldn't go down this route since it will be ambiguous which app's return value propagated out, it makes sense when you have a single app running within the pod, but the multi-app pod is awkward. |
This might change later when So there can be only one app failing because the pod stops when any app exits with a failure. The return value returned is just the one from the failing app. If the user want to know which app it is, they have to use If an app terminates successfully (return value 0), |
This only works with systemd-v228 in stage1 because it uses the new command "systemctl exit". You can try with: sh autogen.sh && ./configure \ --with-stage1-flavors=src \ --enable-functional-tests \ --with-stage1-systemd-version=v228 \ && make I disabled machine registration because of issue rkt#1782.
11f3762 to
66a8e53
Compare
|
Waiting for a systemd v229 release. |
This only works with systemd-v228 in stage1 because it uses the new
command "systemctl exit". You can try with:
I disabled machine registration because of issue #1782.
Fixes #1460