218-Dont-enable-audit-by-default.patch 1.0 KB

12345678910111213141516171819202122232425262728293031
  1. From: Martin Pitt <martin.pitt@ubuntu.com>
  2. Date: Sun, 28 Dec 2014 12:49:35 +0100
  3. Subject: Don't enable audit by default
  4. It causes flooding of dmesg and syslog, suppressing actually important
  5. messages.
  6. Don't enable it for now, until a better solution is found:
  7. http://lists.freedesktop.org/archives/systemd-devel/2014-December/026591.html
  8. Bug-Debian: https://bugs.debian.org/773528
  9. ---
  10. src/journal/journald-audit.c | 5 -----
  11. 1 file changed, 5 deletions(-)
  12. diff --git a/src/journal/journald-audit.c b/src/journal/journald-audit.c
  13. index 69742fa..25ef743 100644
  14. --- a/src/journal/journald-audit.c
  15. +++ b/src/journal/journald-audit.c
  16. @@ -542,10 +542,5 @@ int server_open_audit(Server *s) {
  17. if (r < 0)
  18. return log_error_errno(r, "Failed to add audit fd to event loop: %m");
  19. - /* We are listening now, try to enable audit */
  20. - r = enable_audit(s->audit_fd, true);
  21. - if (r < 0)
  22. - log_warning_errno(r, "Failed to issue audit enable call: %m");
  23. -
  24. return 0;
  25. }