mirror of
https://github.com/flatcar/scripts.git
synced 2025-10-01 10:31:37 +02:00
In the `init.sh` of the OEM GCE container, we have the following section: ```bash wait -n "${daemon_pids[@]}" || : kill "${daemon_pids[@]}" || : test -n "$stopping" || exit 1 exec /usr/bin/google_metadata_script_runner --script-type shutdown ``` `shutdown` script was not executed because container was receiving a `SIGKILL`, the started processes was not properly terminated. According to the `systemd-nspawn` manual: ```bash If --boot is not used and this option is not specified the container's processes are terminated abruptly via SIGKILL ``` Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
Description
Languages
Shell
93.1%
Python
6.9%