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

core: fix race condition during startup of a service with ExitType=cgroup #28314

Merged
merged 1 commit into from Jul 14, 2023

Commits on Jul 13, 2023

  1. core: fix race condition during startup of a service with ExitType=cg…

    …roup
    
    This commit allows service_sigchld_event() is executed before
    service_dispatch_exec_io(), which might happen when a main process exits
    very quickly.
    
    Also do not check PID for service goodness because the main process have
    already been exited in this case.
    
    Fix: systemd#27919
    ftake authored and bluca committed Jul 13, 2023
    Copy the full SHA
    c6a3b9d View commit details
    Browse the repository at this point in the history