diff options
author | Matthew Heon <matthew.heon@pm.me> | 2020-07-14 16:20:22 -0400 |
---|---|---|
committer | Matthew Heon <matthew.heon@pm.me> | 2020-07-15 10:25:46 -0400 |
commit | 1ad7042a34771ccaae2960decc93367fcf898dad (patch) | |
tree | 15528af88be1099297dd7d51dd3b1b8b64bfae26 /troubleshooting.md | |
parent | 60127cf5e88ef53748cb601d7c27f082d284e7f4 (diff) | |
download | podman-1ad7042a34771ccaae2960decc93367fcf898dad.tar.gz podman-1ad7042a34771ccaae2960decc93367fcf898dad.tar.bz2 podman-1ad7042a34771ccaae2960decc93367fcf898dad.zip |
Preserve passwd on container restart
We added code to create a `/etc/passwd` file that we bind-mount
into the container in some cases (most notably,
`--userns=keep-id` containers). This, unfortunately, was not
persistent, so user-added users would be dropped on container
restart. Changing where we store the file should fix this.
Further, we want to ensure that lookups of users in the container
use the right /etc/passwd if we replaced it. There was already
logic to do this, but it only worked for user-added mounts; it's
easy enough to alter it to use our mounts as well.
Signed-off-by: Matthew Heon <matthew.heon@pm.me>
Diffstat (limited to 'troubleshooting.md')
0 files changed, 0 insertions, 0 deletions