-
Notifications
You must be signed in to change notification settings - Fork 18
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
catatoinit: rewrite LISTEN_PID to the child process #15
Conversation
Didn't test it, but lgtm |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As with the other PR, I didn't see this until now. Sorry about that.
In order to get systemd fd passing let's rewrite the LISTEN_PID environment variable if it is pointing to catatonit init process. Closes: openSUSE#13 Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
75b9133
to
0de094f
Compare
thanks for the review. I've addressed your comments in the last commit |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
I'll do a new release once #14 is merged. |
This was added in the old quadlet to work around issues with podman not passing on notify fds and pids. However, these are now fixed with: containers#11316 openSUSE/catatonit#15 So, remove this key (which was never in a podman release anyway) Signed-off-by: Alexander Larsson <alexl@redhat.com>
In order to get systemd fd passing let's rewrite the LISTEN_PID
environment variable if it is pointing to catatonit init process.
Closes: #13
Signed-off-by: Giuseppe Scrivano gscrivan@redhat.com