this post was submitted on 20 Aug 2024
9 points (100.0% liked)
Guix
316 readers
1 users here now
Guix is an advanced distribution of the GNU operating system developed by the GNU Project
founded 4 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Would be pretty useful, as far as I know there is no way to change
/etc/{subuid,subgid}
in the system configuration without manually editing.Another annoyance with podman on guix is making
/
a shared mount doesn't work so changes in mounts aren't propagated.Well I had to make one :) it is being tracked on https://issues.guix.gnu.org/72337 . You can define subuid and subgid ranges like so:
which would yield
I think I solved that by using a Shepherd service run on boot calling
mount --make-shared /
. I didn't do extensive testing of mounts but I'm currently using this on my systems as it's set up in my personal channel. By adding the following to my own system configI'm able to run the following rootless Podman hello world
and with
guix shell podman-compose
I'm able to run this Podman compose hello world:So some kind of mount appears to work. Thank you for your feedback and feel free to try the service from my own channel if you are interested in providing more or in trying rootless podman on the Guix System.