Merge pull request #3043 from invis-z/podman-subid

podman: remove subuid/subgid creation from sysext
This commit is contained in:
Mathieu Tortuyaux 2025-07-25 10:05:10 +02:00 committed by GitHub
commit 4bbf66c11a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 1 additions and 2 deletions

View File

@ -13,8 +13,6 @@ cp -a ./etc/{fuse.conf,containers} ./usr/share/podman/etc/
cat <<EOF >>./usr/lib/tmpfiles.d/podman.conf
C /etc/containers - - - - /usr/share/podman/etc/containers
C /etc/fuse.conf - - - - /usr/share/podman/etc/fuse.conf
w /etc/subuid - - - - core:1065536:65536
w /etc/subgid - - - - core:1065536:65536
EOF
popd

View File

@ -0,0 +1 @@
- sysext-podman: removed `/etc/subuid` and `/etc/subgid` generation for `core` user, before this change it partially overwrites the file and causes issues. ([Flatcar#1733](https://github.com/flatcar/Flatcar/issues/1733)) This could be created through initial provisioning. ([scripts#3043](https://github.com/flatcar/scripts/pull/3043))