summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGiuseppe Scrivano <gscrivan@redhat.com>2019-10-15 15:03:40 +0200
committerGiuseppe Scrivano <gscrivan@redhat.com>2019-10-17 19:12:11 +0200
commitf400e852c7d1704ed42b11682e1804fb17739f6f (patch)
treeaec3894972713afe824846c55886d6aba7fa007d
parent64f53b4f02baf386740a05821cb496349ffc84f5 (diff)
downloadpodman-f400e852c7d1704ed42b11682e1804fb17739f6f.tar.gz
podman-f400e852c7d1704ed42b11682e1804fb17739f6f.tar.bz2
podman-f400e852c7d1704ed42b11682e1804fb17739f6f.zip
troubleshooting.md: document lingering mode
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
-rw-r--r--troubleshooting.md19
1 files changed, 19 insertions, 0 deletions
diff --git a/troubleshooting.md b/troubleshooting.md
index 6fed719f7..c4e577645 100644
--- a/troubleshooting.md
+++ b/troubleshooting.md
@@ -410,3 +410,22 @@ You'll need to either:
* configure the host to use cgroups v1
* update the image to use an updated version of systemd.
+
+### 17) rootless containers exit once the user session exits
+
+
+You need to set lingering mode through loginctl to prevent user processes to be killed once
+the user session completed.
+
+#### Symptom
+
+Once the user logs out all the containers exit.
+
+#### Solution
+You'll need to either:
+
+* loginctl enable-linger $UID
+
+or as root if your user has not enough privileges.
+
+* sudo loginctl enable-linger $UID