Fredrik Salomonsson <[email protected]> writes:

> I'm using a similar setup.  I also had the `etc-service-type` when
> things broke.  I discovered that there's now a
> `rootless-podman-service-type`, I switched to that to see if it fixed
> the issue.  But same problem.
>
> I'm suspecting the change in commit c4298638ca [0], from generating
> copies of `/etc/subuid` and `/etc/subgid` to symlinks to the store might
> have something to do with the breakage.
>
> [0] https://codeberg.org/guix/guix/commit/c4298638ca

I have the following code in my system configuration

--8<---------------cut here---------------start------------->8---
           (service subids-service-type
                    (subids-configuration
                      (add-root? #f)
                      (subuids (list (subid-range (name "user"))))
                      (subgids (list (subid-range (name "user"))))))
--8<---------------cut here---------------end--------------->8---

I do not use rootless-podman-service-type.  Podman seems to work fine
for me (I reconfigured yesterday):

--8<---------------cut here---------------start------------->8---
$ guix shell podman -- podman run --rm -it docker.io/library/alpine cat 
/etc/os-release
NAME="Alpine Linux"
ID=alpine
VERSION_ID=3.23.0
PRETTY_NAME="Alpine Linux v3.23"
HOME_URL="https://alpinelinux.org/";
BUG_REPORT_URL="https://gitlab.alpinelinux.org/alpine/aports/-/issues";
--8<---------------cut here---------------end--------------->8---

Hope this helps at least as a workaround,
Tomas

-- 
There are only two hard things in Computer Science:
cache invalidation, naming things and off-by-one errors.

Attachment: signature.asc
Description: PGP signature

Reply via email to