mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-18 10:27:00 +02:00
sys-process/audit: Add README.md
Try to list the reasons behind this for of the gentoo package.
This commit is contained in:
parent
22ba3fdb41
commit
17daba0bd7
27
sdk_container/src/third_party/coreos-overlay/sys-process/audit/README.md
vendored
Normal file
27
sdk_container/src/third_party/coreos-overlay/sys-process/audit/README.md
vendored
Normal file
@ -0,0 +1,27 @@
|
||||
This is a fork of gentoo's `sys-process/audit` package. The main
|
||||
reasons for having our fork seem to be:
|
||||
|
||||
1. We have our own audit rules (see files in `files/rules.d`
|
||||
directory).
|
||||
|
||||
- These seem to be mostly similar to what gentoo provides, but split
|
||||
into several files and they have an additional rule for SELinux
|
||||
events.
|
||||
|
||||
- We also install it in a different place and place symlinks with
|
||||
systemd's tmpfiles functionality.
|
||||
|
||||
2. We install a systemd service that loads our rules at startup.
|
||||
|
||||
3. We add a `daemon` use flag that gates a build of `auditd` binary
|
||||
and some more tools. This flag seems to be unused, which results in
|
||||
the daemon and tools not being built. The role of auditd is to
|
||||
write audit records to disk, and both ausearch and aureport utilize
|
||||
those written logs. Since audit logs are also written to journal,
|
||||
writing them to disk seems redundant, thus auditd and the tools
|
||||
seem to be unnecessary. This also reduces the final image size a
|
||||
bit.
|
||||
|
||||
4. We don't do the permissions lockdown on some auditd files for some
|
||||
reason. It's either related that we don't build auditd in practice
|
||||
or it's about our own audit rules.
|
Loading…
Reference in New Issue
Block a user