Hi,

Julian Flake <[email protected]> writes:

> Hi,
>
> On Mon, Dec 15 2025, Fredrik Salomonsson wrote:
>
>> Looks like it could be caused by a change in how Guix generates 
>> the
>> files in `/etc`.  I did a `git bisect` on the repo and found the 
>> commit
>> that introduce the change.  I created issue 4853 [0] on codeberg 
>> to
>> report this.
>
> I experienced the same (worked since last year, doesn't work now 
> with the same error but different numbers), but didn't find the 
> time to figure out, whether it's just me doing something wrong 
> with the config migration.
>
> In my operating-system, previously I had
>
> --8<---------------cut here---------------start------------->8---
>  (simple-service 'podman-subuid-subgid etc-service-type
>    `(("subuid" ,(plain-file
>                  "subuid"
>                  (string-append "flake" ":100000:65536\n")))
>      ("subgid" ,(plain-file
>                  "subgid"
>                  (string-append "flake" ":100000:65536\n")))))
> --8<---------------cut here---------------end--------------->8---
>
> and now I have
>
> --8<---------------cut here---------------start------------->8---
> (service rootless-podman-service-type
>    (rootless-podman-configuration
>     (subgids
>      (list (subid-range (name "flake"))))
>     (subuids
>      (list (subid-range (name "flake"))))))
> --8<---------------cut here---------------end--------------->8---
>
> Both services yield the same issue. The latter gives me
>
> --8<---------------cut here---------------start------------->8---
> ➜  ~ podman info
> ERRO[0000] running `/run/privileged/bin/newuidmap 4668 0 1000 1 1 
> 100000 65536`:
> Error: cannot set up namespace using 
> "/run/privileged/bin/newuidmap": exit status 1
> ➜  ~
> --8<---------------cut here---------------end--------------->8---

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

-- 
s/Fred[re]+i[ck]+/Fredrik/g

Reply via email to