Repository navigation
Log init script execution - #111
Open
jasoncpatton wants to merge 1 commit into
Open
jasoncpatton wants to merge 1 commit into
jasoncpatton wants to merge 1 commit into
Conversation
Because the entrypoint sources the init scripts, it's possible for one of these scripts to stop the container if it does something reasonable to end execution early, like "exit" or "set -e". This commit adds some logging so at least we can track down which script caused the container to stop.
jasoncpatton
force-pushed
the
annotate-init-scripts
branch
from
November 25, 2026 15:23
c27e886 to
6b4427e
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Because the entrypoint sources the init scripts, it's possible for one of these scripts to stop the container if it does something reasonable to end execution early, like
exitorset -e. This commit adds some logging so at least we can track down which script caused the container to stop.I'm aware that this script is critical to a lot of infrastructure, so if there are any worries about this breaking some kind of workflow, it can be closed. I've at least learned my lesson about how the init scripts work 😅