summaryrefslogtreecommitdiff
path: root/pkg/rootless/rootless_unsupported.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2019-06-28 16:00:55 +0200
committerGitHub <noreply@github.com>2019-06-28 16:00:55 +0200
commit5e42bf071760bc09beea1d75345d7c95407a915a (patch)
tree529eab032c5a041c7855e86a1f89c710f5aae1ea /pkg/rootless/rootless_unsupported.go
parent4aa109f00e95746625c692c7056b42b72750c259 (diff)
parent7255468e6584d8170924dfc5ffbde136e8cc6654 (diff)
downloadpodman-5e42bf071760bc09beea1d75345d7c95407a915a.tar.gz
podman-5e42bf071760bc09beea1d75345d7c95407a915a.tar.bz2
podman-5e42bf071760bc09beea1d75345d7c95407a915a.zip
Merge pull request #3397 from giuseppe/fix-reboot
rootless: enable linger if /run/user/UID not exists
Diffstat (limited to 'pkg/rootless/rootless_unsupported.go')
-rw-r--r--pkg/rootless/rootless_unsupported.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/pkg/rootless/rootless_unsupported.go b/pkg/rootless/rootless_unsupported.go
index c063adee5..52863580e 100644
--- a/pkg/rootless/rootless_unsupported.go
+++ b/pkg/rootless/rootless_unsupported.go
@@ -29,6 +29,12 @@ func GetRootlessGID() int {
return -1
}
+// EnableLinger configures the system to not kill the user processes once the session
+// terminates
+func EnableLinger() (string, error) {
+ return "", nil
+}
+
// TryJoinFromFilePaths attempts to join the namespaces of the pid files in paths.
// This is useful when there are already running containers and we
// don't have a pause process yet. We can use the paths to the conmon