[pkg-go] Bug#981097: Please don't enable podman-auto-update.service in default.target

Michael Biebl biebl at debian.org
Tue Jan 26 10:46:06 GMT 2021


Package: podman
Version: 2.1.1+dfsg1-5
Severity: normal

Today I saw this on an upgrade

 create mode 120000 systemd/system/default.target.wants/podman-auto-update.service
 create mode 120000 systemd/system/multi-user.target.wants/podman-auto-update.service
 create mode 120000 systemd/system/timers.target.wants/podman-auto-update.timer


podman-auto-update.service has
[Install]
WantedBy=multi-user.target default.target

Please only enable the service once, in multi-user.target.
default.target pulls in multi-user.target, so having it enabled twice is
confusing.

Since you also ship a corresponding timer, it may be an option to not
start podman-auto-update.service during boot at all and simply trigger the
start via the timer. In that case, you can remove the complete [Install]
section in podman-auto-update.service.



-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (200, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.10.0-2-amd64 (SMP w/4 CPU threads)
Kernel taint flags: TAINT_FIRMWARE_WORKAROUND
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages podman depends on:
ii  conmon                           2.0.20-1
ii  containernetworking-plugins      0.9.0-1
ii  crun                             0.16+dfsg-1
ii  golang-github-containers-common  0.26.3+ds1-2
ii  init-system-helpers              1.60
ii  libc6                            2.31-9
ii  libdevmapper1.02.1               2:1.02.175-2
ii  libgpgme11                       1.14.0-1+b2
ii  libseccomp2                      2.5.1-1
ii  runc                             1.0.0~rc92+dfsg1-5+b1

Versions of packages podman recommends:
ii  buildah         1.18.0+dfsg1-2
ii  fuse-overlayfs  1.3.0-1
ii  slirp4netns     1.0.1-1
ii  tini            0.19.0-1
ii  uidmap          1:4.8.1-1

Versions of packages podman suggests:
pn  containers-storage  <none>

-- Configuration Files:
/etc/cni/net.d/87-podman-ptp.conflist [Errno 13] Keine Berechtigung: '/etc/cni/net.d/87-podman-ptp.conflist'

-- no debconf information



More information about the Pkg-go-maintainers mailing list