kairos-io/kairos
feat: add subuid and subgid to ease up use of podman
Open
#2,788 opened on Aug 3, 2024
enhancementhacktoberfesttriage
Repository metrics
- Stars
- (1,782 stars)
- PR merge metrics
- (Avg merge 2d 3h) (14 merged PRs in 30d)
Description
Rootless Podman requires users to have set up subuids and subgids. This can be done in multiple ways. If the files /etc/subuid and /etc/subgid exist, useradd defaults to adding those ranges (see [1]). Those files seem to exist (checked fedora flavor). Yip/entities have not implemented this. Maybe this could be a configurable field in the user map?
[1] https://manpages.ubuntu.com/manpages/jammy/en/man8/useradd.8.html