** Description changed:

  Running `podman pull` on 26.10 as a rootless user:
  Error: creating runtime static files directory 
"/var/lib/containers/storage/libpod": mkdir /var/lib/containers/storage: 
permission denied
- 
  
  This seems to be due to an outdated configuration file 
/usr/share/containers/storage.conf that explicitly sets:
  graphroot = "/var/lib/containers/storage"
  runroot = "/run/containers/storage"
  
  which was invalidated by https://github.com/podman-container-
  tools/container-libs/commit/5eaf7d2ba1d0aff69ddf3ab12b0606f132985dbf
  (see last paragraph in commit description).
  
  This is fixed in containers-storage 1.63.0-1 which is still in proposed.
  
  Reproducing steps:
  
  $ apt install podman
  $ podman pull rocks.canonical.com/alpine:latest # as non-root
  Error: creating runtime static files directory 
"/var/lib/containers/storage/libpod": mkdir /var/lib/containers/storage: 
permission denied
  
- 
  $ echo "deb http://archive.ubuntu.com/ubuntu/ stonking-proposed universe" > 
/etc/apt/sources.list.d/snapd-podman-proposed.list
  $ apt-get update
  $ apt-get install -y -t stonking-proposed containers-storage
+ $ podman pull rocks.canonical.com/alpine:latest # as non-root
  Trying to pull rocks.canonical.com/alpine:latest... # success

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

Title:
  podman rootless storage uses root-owned graphroot/runroot

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


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

Reply via email to