summaryrefslogtreecommitdiff
path: root/libpod/networking_unsupported.go
diff options
context:
space:
mode:
authorMatthew Heon <mheon@redhat.com>2020-08-31 14:06:49 -0400
committerMatthew Heon <mheon@redhat.com>2020-09-01 10:59:34 -0400
commitd34b1e7ad51a8e3211a3ce82931a4e75369b69f8 (patch)
tree54aa045194ba078f3e7a97ae3fe6438c49e69716 /libpod/networking_unsupported.go
parent9edf80d9348bbcfea42f73258865d729d8074ab0 (diff)
downloadpodman-d34b1e7ad51a8e3211a3ce82931a4e75369b69f8.tar.gz
podman-d34b1e7ad51a8e3211a3ce82931a4e75369b69f8.tar.bz2
podman-d34b1e7ad51a8e3211a3ce82931a4e75369b69f8.zip
Ensure rootless containers without a passwd can start
We want to modify /etc/passwd to add an entry for the user in question, but at the same time we don't want to require the container provide a /etc/passwd (a container with a single, statically linked binary and nothing else is perfectly fine and should be allowed, for example). We could create the passwd file if it does not exist, but if the container doesn't provide one, it's probably better not to make one at all. Gate changes to /etc/passwd behind a stat() of the file in the container returning cleanly. Fixes #7515 Signed-off-by: Matthew Heon <mheon@redhat.com>
Diffstat (limited to 'libpod/networking_unsupported.go')
0 files changed, 0 insertions, 0 deletions