From 92504cee34006f2198393a51efd93bea46346ec2 Mon Sep 17 00:00:00 2001 From: "mergify[bot]" <37929162+mergify[bot]@users.noreply.github.com> Date: Mon, 9 Sep 2024 17:01:04 +0300 Subject: container: T6702: re-add missing UNIX API socket (#4039) During podman upgrade and a build from the original source the UNIX socket definition for systemd got lost in translation. This commit re-adds the UNIX socket which is started on boot to interact with Podman. Example: curl --unix-socket /run/podman/podman.sock -H 'content-type: application/json' \ -sf http://localhost/containers/json (cherry picked from commit f67e217f2716937115a3bdf6d316b172bbec75e5) Co-authored-by: Christian Breunig --- debian/vyos-1x.postinst | 3 +++ 1 file changed, 3 insertions(+) (limited to 'debian') diff --git a/debian/vyos-1x.postinst b/debian/vyos-1x.postinst index 778cb10c1..8d27a2a70 100644 --- a/debian/vyos-1x.postinst +++ b/debian/vyos-1x.postinst @@ -187,6 +187,9 @@ fi # Enable Cloud-init pre-configuration service systemctl enable vyos-config-cloud-init.service +# Enable Podman API +systemctl enable podman.service + # Generate API GraphQL schema /usr/libexec/vyos/services/api/graphql/generate/generate_schema.py -- cgit v1.2.3