Open inknos opened 4 days ago
[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: inknos Once this PR has been reviewed and has the lgtm label, please assign jakecorrenti for approval. For more information see the Kubernetes Code Review Process.
The full list of commands accepted by this bot can be found here.
I am still unsure that this is the right approach. @Luap99 what do you think?
Was the removal added because of Quadlet/Systemd? I feel like it might have been...
Was the removal added because of Quadlet/Systemd? I feel like it might have been...
Yes but we can change the units to do the removal in ExecStopPost=rm -f file. Also quadlet always assigns a name so we could drop these cidfile entirely there I guess but maybe there is a reason for them I am missing currently.
Dropping them entirely in Quadlet seems like a good idea. I think we risk regressions in unit files from generate systemd
that are not regenerated on upgrade (which is really why Quadlet exists...) though.
Cidfile location should not be passed over on a remote connection. This way you will not mess the host configuraion on container removal.
Resolves: https://github.com/containers/podman/issues/21974
Does this PR introduce a user-facing change?