Skip to content

audit: fix broken startup and make some improvements

Carlos Santos buildroot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4audit: fix audispd path in auditd.confpackage/audit/0001-Fix-audispd-path-in-auditd.conf.patch+32 -00 replies
2/4audit: ensure that it starts after the logging daemonpackage/audit/S02auditd package/audit/audit.mk+1 -10 replies
3/4linux: enble AUDIT if the audit package is selectedlinux/linux.mk+3 -00 replies
4/4audit: bump to version 2.8.4package/audit/audit.hash package/audit/audit.mk+2 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [Buildroot] [PATCH 0/4] audit: fix broken startup and make some improvements

I stomped on these problems while working on the logging init scripts, so let's fix them right now, since this does not depend on other changes.

Patch 1: Fixes broken auditd package. audispd is installed at /usr/sbin but the configuration file pointed to /sbin, causing auditd to fail on startup. Add a patch fixing auditd.conf.

Patch 2: Rename S01auditd to S02auditd to ensure that auditd is starded after the syslog daemon, otherwise the initial log messages will be sent to the console (and probably lost, since almost nobody watches the system console on embedded systems).

Patch 3: Enable AUDIT in the kernel if the audit package is selected, since auditd is useless and fails to load otherwise.

Patch 4: Since we are here, bump audit to version 2.8.4.

Carlos Santos (4):
audit: fix audispd path in auditd.conf
audit: ensure that it starts after the logging daemon
linux: enble AUDIT if the audit package is selected
audit: bump to version 2.8.4

 linux/linux.mk                                |  3 ++
 ...0001-Fix-audispd-path-in-auditd.conf.patch | 32 +++++++++++++++++++
 package/audit/{S01auditd => S02auditd}        |  0
 package/audit/audit.hash                      |  2 +-
 package/audit/audit.mk                        |  4 +--
 5 files changed, 38 insertions(+), 3 deletions(-)
 create mode 100644 package/audit/0001-Fix-audispd-path-in-auditd.conf.patch
 rename package/audit/{S01auditd => S02auditd} (100%)
Signature · 1 line
2.17.1