-
Notifications
You must be signed in to change notification settings - Fork 50
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
Arion tries to start a service before podman is up #238
Comments
It does have Line 38 in 1886d25
So that suggests that the podman socket is not registered with systemd. Maybe it needs to run after tmpfiles too? Ideally systemd would know that the docker socket is an alias for the podman socket. I think this could be achieved with multiple |
Ah, I didn't realize Thanks for the quick fix! |
This ensures that both "sockets" are available after sockets.target. See hercules-ci/arion#238
This ensures that both "sockets" are available after sockets.target. See hercules-ci/arion#238
) This ensures that both "sockets" are available after sockets.target. See hercules-ci/arion#238
Hi!
I've just encountered an error where after reboot arion on NixOS was trying to start the containers before the
podman
was ready:It looks like it auto-restarted eventually.
But this makes me think: would it make sense to add something like
After = [ "podman.service" ]
(ordocker
, depending on the backend) orConditionPathExists=/var/run/docker.sock
to thesystemd
service definition to ensure it starts correctly from the first try?Edit: More info
NixOS stable 23.05, nixpkgs commit
bc194f70731cc5d2b046a6c1b3b15f170f05999c
The text was updated successfully, but these errors were encountered: