From: Carlos Santos <casantos@datacom.com.br>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/4] audit: fix audispd path in auditd.conf
Date: Sat, 3 Nov 2018 13:42:41 -0300 [thread overview]
Message-ID: <20181103164244.10607-2-casantos@datacom.com.br> (raw)
In-Reply-To: <20181103164244.10607-1-casantos@datacom.com.br>
audispd is installed at /usr/sbin but the configuration file pointed
to /sbin, causing auditd to fail on startup.
This patch cannot be sent upstream because audispd does not exist
anymore on the master branch (it was merged to auditd).
Signed-off-by: Carlos Santos <casantos@datacom.com.br>
---
...0001-Fix-audispd-path-in-auditd.conf.patch | 32 +++++++++++++++++++
1 file changed, 32 insertions(+)
create mode 100644 package/audit/0001-Fix-audispd-path-in-auditd.conf.patch
diff --git a/package/audit/0001-Fix-audispd-path-in-auditd.conf.patch b/package/audit/0001-Fix-audispd-path-in-auditd.conf.patch
new file mode 100644
index 0000000000..ccf45db911
--- /dev/null
+++ b/package/audit/0001-Fix-audispd-path-in-auditd.conf.patch
@@ -0,0 +1,32 @@
+From 6e1fd09f7bc131c8f16d9cc43e2455ba4650c651 Mon Sep 17 00:00:00 2001
+From: Carlos Santos <casantos@datacom.com.br>
+Date: Sat, 3 Nov 2018 08:25:58 -0300
+Subject: [PATCH] Fix audispd path in auditd.conf
+
+audispd is installed at /usr/sbin but the configuration file pointed
+to /sbin, causing auditd to fail on startup.
+
+This patch cannot be sent upstream because audispd does not exist
+anymore on the master branch (it was merged to auditd).
+
+Signed-off-by: Carlos Santos <casantos@datacom.com.br>
+---
+ init.d/auditd.conf | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/init.d/auditd.conf b/init.d/auditd.conf
+index 4dcda83..998904f 100644
+--- a/init.d/auditd.conf
++++ b/init.d/auditd.conf
+@@ -13,7 +13,7 @@ max_log_file = 8
+ num_logs = 5
+ priority_boost = 4
+ disp_qos = lossy
+-dispatcher = /sbin/audispd
++dispatcher = /usr/sbin/audispd
+ name_format = NONE
+ ##name = mydomain
+ max_log_file_action = ROTATE
+--
+2.17.1
+
--
2.17.1
next prev parent reply other threads:[~2018-11-03 16:42 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-11-03 16:42 [Buildroot] [PATCH 0/4] audit: fix broken startup and make some improvements Carlos Santos
2018-11-03 16:42 ` Carlos Santos [this message]
2018-11-03 16:42 ` [Buildroot] [PATCH 2/4] audit: ensure that it starts after the logging daemon Carlos Santos
2018-11-03 16:42 ` [Buildroot] [PATCH 3/4] linux: enble AUDIT if the audit package is selected Carlos Santos
2018-11-03 16:42 ` [Buildroot] [PATCH 4/4] audit: bump to version 2.8.4 Carlos Santos
2018-11-03 21:28 ` [Buildroot] [PATCH 0/4] audit: fix broken startup and make some improvements Thomas Petazzoni
2018-11-25 20:40 ` Peter Korsgaard
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20181103164244.10607-2-casantos@datacom.com.br \
--to=casantos@datacom.com.br \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox