-
Notifications
You must be signed in to change notification settings - Fork 311
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
postStart hook may run before startContainer hook #1562
Comments
can you provide more details? It depends from the definition of "started". It can happen before the |
I add some log libcrun_debug ("nmx001 run poststart");
and add a sleep before startcontainer hook( let hook run lalter).
poststart doesn't run after sleep 30 (because time is 08:39:59.26 ) |
I think "crun create" should tell "crun start" after "crun create " run start_container hook and use exec.sock instead of exec.fifo. |
there is no expectation (at least from what is specified in the specs) that postStart hooks happen after the startContainer hooks. They happen from different environments, |
I find postStart hook may run before startContainer hook when I review crun code.
@giuseppe
The text was updated successfully, but these errors were encountered: