Package: podman
Version: 4.3.1+ds1-8+deb12u1
Severity: normal

Dear Maintainer,

The podman-auto-update service runs on system boot. This is not
documented in the man page, hence I believe that this is not by
intention. Also running the auto update service concurrently to
container/pod startup can lead to races and doesn't seem to be very
sensible behavior.

This bug has been reported upstream:
https://github.com/containers/podman/issues/25232

It was closed since this is rather a packaging issue, not an upstream
one. Also it has been pointed out that Fedora doesn't expose this
behavior. Patch attached for Debian.

* What led up to the situation?

1. Create a container/pod and generate a systemd service for it
2. Reboot the machine
3. Observe that the auto update service was started during boot using
sudo journalctl --boot --unit podman-auto-update

* What was the outcome of this action?

The auto update service does start during system boot

* What outcome did you expect instead?

The auto update service does not start during system boot


-- System Information:
[...]

Versions of packages podman depends on:
ii  conmon                           2.1.6+ds1-1
ii  crun                             1.8.1-1+deb12u1
ii  golang-github-containers-common  0.50.1+ds1-4
ii  libc6                            2.36-9+deb12u9
ii  libdevmapper1.02.1               2:1.02.185-2
ii  libgpgme11                       1.18.0-3+b1
ii  libseccomp2                      2.5.4-1+deb12u1
ii  libsubid4                        1:4.13+dfsg1-1+b1

Versions of packages podman recommends:
ii  buildah            1.28.2+ds1-3+b1
ii  catatonit          0.1.7-1+b1
ii  dbus-user-session  1.14.10-1~deb12u1
pn  fuse-overlayfs     <none>
ii  slirp4netns        1.2.0-1
ii  uidmap             1:4.13+dfsg1-1+b1

Versions of packages podman suggests:
ii  containers-storage  1.43.0+ds1-8+b2
pn  docker-compose      <none>
ii  iptables            1.8.9-2

-- no debconf information
>From 8792c6130ab99e055f1317ff6bdabc9a57162716 Mon Sep 17 00:00:00 2001
From: Lorenz Schori <l...@znerol.ch>
Date: Wed, 5 Feb 2025 14:25:06 +0100
Subject: [PATCH] Do not enable podman-auto-update.service

---
 debian/rules | 1 -
 1 file changed, 1 deletion(-)

diff --git a/debian/rules b/debian/rules
index 028c18b81..a51bd44b0 100755
--- a/debian/rules
+++ b/debian/rules
@@ -113,5 +113,4 @@ execute_after_dh_installman:
 
 override_dh_installsystemd:
 	dh_installsystemd
-	dh_installsystemd --name=podman-auto-update
 	dh_installsystemd --name=podman-restart
-- 
2.39.5

Reply via email to