Message ID | 20230503190232.362022-2-eblake@redhat.com |
---|---|
State | New |
Headers | show |
Series | [PULL,1/2] systemd: Also clear LISTEN_FDNAMES during systemd socket activation | expand |
diff --git a/util/systemd.c b/util/systemd.c index 5bcac9b4016..ced518f771b 100644 --- a/util/systemd.c +++ b/util/systemd.c @@ -51,6 +51,7 @@ unsigned int check_socket_activation(void) /* So these are not passed to any child processes we might start. */ unsetenv("LISTEN_FDS"); unsetenv("LISTEN_PID"); + unsetenv("LISTEN_FDNAMES"); /* So the file descriptors don't leak into child processes. */ for (i = 0; i < nr_fds; ++i) {