summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGiuseppe Scrivano <gscrivan@redhat.com>2019-05-09 11:03:11 +0200
committerGiuseppe Scrivano <gscrivan@redhat.com>2019-05-17 20:48:26 +0200
commit53a76223ee5bded3be3e0ed957517513ad357a0e (patch)
treecb03865f76a55146b29899e03094f80d262f8c43
parent9dabb16e6541a1b7bbb1c5a27a91e08863a5b491 (diff)
downloadpodman-53a76223ee5bded3be3e0ed957517513ad357a0e.tar.gz
podman-53a76223ee5bded3be3e0ed957517513ad357a0e.tar.bz2
podman-53a76223ee5bded3be3e0ed957517513ad357a0e.zip
troubleshooting.md: add note about updating subuid/subgid
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
-rw-r--r--troubleshooting.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/troubleshooting.md b/troubleshooting.md
index 08d79723a..64aec475e 100644
--- a/troubleshooting.md
+++ b/troubleshooting.md
@@ -247,6 +247,11 @@ would potentially allow one user to attack another user.
You could also use the usermod program to assign UIDs to a user.
+If you update either the /etc/subuid or /etc/subgid file, you need to
+stop all running containers and kill the pause process. This is done
+automatically by the `system migrate` command, which can also be used
+to stop all the containers and kill the pause process.
+
```
usermod --add-subuids 200000-201000 --add-subgids 200000-201000 johndoe
grep johndoe /etc/subuid /etc/subgid