-
Notifications
You must be signed in to change notification settings - Fork 128
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
Added additional fcc example #75
Conversation
zethsqx
commented
May 21, 2020
- added examples to cover container processes that requires conmon process to keep port listening on host
- added examples to cover container processes that requires conmon process to keep port listening on host
Thanks for the PR! However this template looks very suspicious to me (in particular, |
credit to Valentin Rothberg - https://www.redhat.com/sysadmin/podman-shareable-systemd-services for current example, the processes will get killed after coming up |
@zethsqx thanks, let's keep this a bit on hold while we sort out a bunch of doubts. Hey @vrothberg, several doubts on the template being referenced here:
|
Thanks for the ping!
The reasoning for that setting is to avoid a race between systemd and Podman sending signals. We really want Podman to take care of container stop/remove as Podman will make sure to clean up all cgroups, namespaces, dependencies and account for the container's settings.
You can use
Thanks! That's fixed in the latest Podman which now removes both files (https://github.com/containers/libpod/blob/master/pkg/systemd/generate/systemdgen.go#L109). |
@vrothberg thanks for the feedback. We could probably move this to the podman bug tracker, but I'll followup here for the moment.
That's fair, but to the best of my knowledge If you see any meaningful behavior changed by adding
Well yes, that was the question :) |
There was a BZ for that case where systemd and Podman were racing sending signals, which may be related to different timeouts. @mheon, do you recall which? Anyhow, I think it's reasonable to let only Podman take care of that and silence systemd.
It's the first time we get that request. If you want to see it happen, would you open an issue against libpod? I assume that we could get it to work via |
Where do we stand on this? There were some discussions above about aspects of the unit. Two years have passed now so I suspect |
Yes, the output has changed since then.
There are plans to integrate quadlet into containers/podman so they can be shipped and maintained together. Starting with Podman v4.2, we can also run Kubernetes YAML in systemd via Podman: https://github.com/containers/podman/blob/main/docs/source/markdown/podman-generate-systemd.1.md#kubernetes-integration |
This would be great! |
Thanks @vrothberg for the update. OK, so this PR is stale. I'm going to close it given that it's been open for a while. But @zethsqx (or anyone else) feel free to re-open this with an updated service that we can document for now. |