daandemeyer / rpms / systemd

Forked from rpms/systemd 2 years ago
Clone
1ff636
From d5e8f58887c572e3d9317b68999ca5d6320f2815 Mon Sep 17 00:00:00 2001
1ff636
From: Lukas Nykryn <lnykryn@redhat.com>
1ff636
Date: Wed, 15 Jul 2015 14:52:04 +0200
1ff636
Subject: [PATCH] Revert "journald-audit: exit gracefully in the case we can't
1ff636
 join audit multicast group"
1ff636
1ff636
This reverts commit 9b5e05005e534fc7fb6dc56c94e3296bb17fe122.
1ff636
1ff636
Cherry-picked from:
1ff636
Resolves: #1222517
1ff636
---
1ff636
 src/journal/journald-audit.c | 6 ++----
1ff636
 1 file changed, 2 insertions(+), 4 deletions(-)
1ff636
1ff636
diff --git a/src/journal/journald-audit.c b/src/journal/journald-audit.c
c62b8e
index 77abe2e63c..46eb82fa34 100644
1ff636
--- a/src/journal/journald-audit.c
1ff636
+++ b/src/journal/journald-audit.c
1ff636
@@ -533,10 +533,8 @@ int server_open_audit(Server *s) {
1ff636
                 }
1ff636
 
1ff636
                 r = bind(s->audit_fd, &sa.sa, sizeof(sa.nl));
1ff636
-                if (r < 0) {
1ff636
-                        log_warning_errno(errno, "Failed to join audit multicast group, ignoring: %m");
1ff636
-                        return 0;
1ff636
-                }
1ff636
+                if (r < 0)
1ff636
+                        return log_error_errno(errno, "Failed to join audit multicast group: %m");
1ff636
         } else
1ff636
                 fd_nonblock(s->audit_fd, 1);
1ff636