ed9f503103
OBS-URL: https://build.opensuse.org/request/show/68222 OBS-URL: https://build.opensuse.org/package/show/Base:System/rsyslog?expand=0&rev=46
17 lines
509 B
Diff
17 lines
509 B
Diff
Index: plugins/imuxsock/imuxsock.c
|
|
===================================================================
|
|
--- plugins/imuxsock/imuxsock.c.orig
|
|
+++ plugins/imuxsock/imuxsock.c
|
|
@@ -782,6 +782,11 @@ CODESTARTwillRun
|
|
ABORT_FINALIZE(RS_RET_ERR_CRE_AFUX);
|
|
}
|
|
|
|
+ sd_fds = sd_listen_fds(0);
|
|
+ if (sd_fds < 0) {
|
|
+ errmsg.LogError(-sd_fds, NO_ERRCODE, "Failed to acquire systemd sockets");
|
|
+ }
|
|
+
|
|
/* initialize and return if will run or not */
|
|
actSocks = 0;
|
|
for (i = startIndexUxLocalSockets ; i < nfd ; i++) {
|