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

podman.service: use sdnotify #7312

Merged
merged 1 commit into from
Aug 13, 2020

Commits on Aug 13, 2020

  1. podman.service: use sdnotiy

    Commit 2b6dd3f set the killmode of the podman.service to the
    systemd default which ultimately lead to the problem that systemd
    will kill *all* processes inside the unit's cgroup and hence kill
    all containers whenever the service is stopped.
    
    Fix it by setting the type to sdnotify and the killmode to process.
    `podman system service` will send the necessary notify messages
    when the NOTIFY_SOCKET is set and unset it right after to prevent
    the backend and container runtimes from jumping in between and send
    messages as well.
    
    Fixes: containers#7294
    Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
    vrothberg committed Aug 13, 2020
    Configuration menu
    Copy the full SHA
    0f4e2be View commit details
    Browse the repository at this point in the history