summaryrefslogtreecommitdiff
path: root/pkg/systemd/activation.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2021-06-25 03:27:44 -0400
committerGitHub <noreply@github.com>2021-06-25 03:27:44 -0400
commit2d191968b513d327e39376bf8fadd2b4267d15a2 (patch)
tree8ab45b2d9486444a703dfc94bd891176a757ba4b /pkg/systemd/activation.go
parent8c7ce94b813014d8abb0a96b72db78d20cdaae18 (diff)
parent364e8a26da2d49c3ea06cc9c0470e47925dcd192 (diff)
downloadpodman-2d191968b513d327e39376bf8fadd2b4267d15a2.tar.gz
podman-2d191968b513d327e39376bf8fadd2b4267d15a2.tar.bz2
podman-2d191968b513d327e39376bf8fadd2b4267d15a2.zip
Merge pull request #10416 from tych0/activation-drop-FDNAMES
pkg/systemd: don't require LISTEN_FDNAMES for socket activation
Diffstat (limited to 'pkg/systemd/activation.go')
-rw-r--r--pkg/systemd/activation.go6
1 files changed, 0 insertions, 6 deletions
diff --git a/pkg/systemd/activation.go b/pkg/systemd/activation.go
index 8f75f9cca..9fcfed771 100644
--- a/pkg/systemd/activation.go
+++ b/pkg/systemd/activation.go
@@ -25,11 +25,5 @@ func SocketActivated() bool {
if err != nil || nfds == 0 {
return false
}
-
- // "github.com/coreos/go-systemd/v22/activation" will use and validate this variable's
- // value. We're just providing a fast fail
- if _, found = os.LookupEnv("LISTEN_FDNAMES"); !found {
- return false
- }
return true
}