Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 0/4] audit: fix broken startup and make some improvements
@ 2018-11-03 16:42 Carlos Santos
  2018-11-03 16:42 ` [Buildroot] [PATCH 1/4] audit: fix audispd path in auditd.conf Carlos Santos
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Carlos Santos @ 2018-11-03 16:42 UTC (permalink / raw)
  To: buildroot

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%)

-- 
2.17.1

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2018-11-25 20:40 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-11-03 16:42 [Buildroot] [PATCH 0/4] audit: fix broken startup and make some improvements Carlos Santos
2018-11-03 16:42 ` [Buildroot] [PATCH 1/4] audit: fix audispd path in auditd.conf Carlos Santos
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox