Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use tini when using cvmfsexec to handle signal propagation #160

Merged

Commits on Nov 16, 2023

  1. Use tini when using cvmfsexec to handle signal propagation

    We have an issue where if the container uses cvmfsexec to mount repos,
    then a SIGTERM (as sent by docker stop) won't shut it down and we have
    to wait for docker to time out and send SIGKILL.
    
    This is because cvmfsexec is pid 1 inside the container, which is
    special, and we have to have it explicitly forward the signals to the
    child processes.  If we don't use cvmfsexec, then supervisord is pid 1,
    and signal propagation is handled.
    
    This commit adds `tini`, a small init system, to handle signal
    propagation; it is only used when we're using cvmfsexec.
    matyasselmeci committed Nov 16, 2023
    Configuration menu
    Copy the full SHA
    da75491 View commit details
    Browse the repository at this point in the history