Public bug reported:

Hi,

podman comes with four systemd units to auto-update:

/lib/systemd/system/podman-auto-update.service
/lib/systemd/system/podman-auto-update.timer

do it for the root user, and

/lib/systemd/user/podman-auto-update.service
/lib/systemd/user/podman-auto-update.timer

do it for regular users, who need to enable it with systemctl --user ...


but neither works for system users (uid<1000). 


Podman recommends to use rootless containers rather than rootful whereever 
possible to improve security. 

But when creating a system user to run containers, podman does not come
with a usable update.service and update.timer.


Of course, it isn't difficult to write one myself, but actually it
should additionally come with the package as template files with

User=%i

to template the service for system users.

regards

ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: podman 4.9.3+ds1-1ubuntu0.2
ProcVersionSignature: Ubuntu 6.8.0-87.88-generic 6.8.12
Uname: Linux 6.8.0-87-generic x86_64
ApportVersion: 2.28.1-0ubuntu3.8
Architecture: amd64
CasperMD5CheckResult: unknown
CloudBuildName: server
CloudSerial: 20250805
Date: Sun Nov 16 03:00:19 2025
SourcePackage: libpod
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: libpod (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug cloud-image noble

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2131614

Title:
  no podman-auto-update service for system users

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libpod/+bug/2131614/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to