-
Notifications
You must be signed in to change notification settings - Fork 298
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
Podman Desktop service installation vs. Podman systemd service installation #2903
Comments
I think there is another issue saying that we should not try to start a socket if there is already one Socket is always started to be able to community through the rest API |
But it should probably be started using |
I don't know if it should be an alternative way (option) or the default way ( |
@benoitf note that there is a "ping" going from Podman Desktop, that keeps starting the podman.service So the socket (podman.sock) is alive and well, and waiting for actual connections before it starts the service. So even without the infinite timeout, this effectively makes it into a "daemon" - even being advertised as not: Anyway, I don't think Podman Desktop should start the service - but leave this to the Podman installation. |
AFAIK, if you don't want something being enabled it should be flagged as options. One option to disable the ping and anothe option to select how to start the service: systemd, system service or 'do nothing' on macOS and Windows there is a running VM to handle the call so having podman started or not is not so 'daemon-less' |
The ping is fine for something like Docker (Engine), that keeps running as a daemon in the background. On Mac and Win you still need the VM running (like you say), but it could be "idling" without the process in it ? On my machine, it takes around 2 seconds to start the service but more like 20ms for a running daemon response. Your mileage might vary.
|
This comment was marked as outdated.
This comment was marked as outdated.
The end result of this, is that if I start Podman Desktop and stop it again - This is because it replaced the systemd socket with a temporary one, which was then disconnected upon quit.
The only way to get the functionality back again, is to restart it: |
This issue has been automatically marked as stale because it has not had activity in the last 6 months. It will be closed in 30 days if no further activity occurs. Please feel free to leave a comment if you believe the issue is still relevant. Thank you for your contributions! |
This issue has been automatically closed because it has not had any further activity in the last 30 days. Thank you for your contributions! |
Bug description
The Podman Desktop installation of the podman service runs "forever" (
0
):While the regular systemd service installation shuts down after 5 seconds:
Shouldn't the podman installation handle this ?
That is: the podman.socket and podman.service
systemctl enable podman.socket
systemctl start podman.socket
Operating system
Linux
Installation Method
Flathub (Linux)
Version
1.1.0
Steps to reproduce
No response
Relevant log output
No response
Additional context
Podman is supposed to not run a daemon, but instead be socket-activated and start the service "on-demand"
The text was updated successfully, but these errors were encountered: