## V8.13.096.2025.10.09
All checks were successful
🛡️ Shell Script Linting / 🛡️ Shell Script Linting (push) Successful in 1m29s
All checks were successful
🛡️ Shell Script Linting / 🛡️ Shell Script Linting (push) Successful in 1m29s
Signed-off-by: Marc S. Weidner <msw@coresecret.dev>
This commit is contained in:
@@ -340,16 +340,22 @@ EOF
|
|||||||
|
|
||||||
|
|
||||||
### Sanity checks: reject empty or malformed rulesets early.
|
### Sanity checks: reject empty or malformed rulesets early.
|
||||||
if ! augenrules --check >/dev/null 2>&1; then
|
if ! /sbin/augenrules --check >/dev/null 2>&1; then
|
||||||
|
|
||||||
log "ERROR: augenrules --check failed. Please fix /etc/audit/rules.d/*.rules"
|
log "ERROR: /sbin/augenrules --check failed. Please fix /etc/audit/rules.d/*.rules"
|
||||||
exit 1
|
exit 1
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
### This writes '/etc/audit/audit.rules'.
|
if /sbin/augenrules --load; then
|
||||||
log "Compiling /etc/audit/audit.rules (no load)"
|
|
||||||
augenrules --no-load
|
log "INFO: /sbin/augenrules --load, successful."
|
||||||
|
|
||||||
|
else
|
||||||
|
|
||||||
|
log "ERROR: /sbin/augenrules --load failed."
|
||||||
|
|
||||||
|
fi
|
||||||
|
|
||||||
### Permissions hardening (augenrules typically sets sane perms; enforce anyway).
|
### Permissions hardening (augenrules typically sets sane perms; enforce anyway).
|
||||||
### 0600 is conservative; 0640 root:root is also acceptable.
|
### 0600 is conservative; 0640 root:root is also acceptable.
|
||||||
|
|||||||
@@ -94,7 +94,6 @@ man
|
|||||||
man-db
|
man-db
|
||||||
manpages
|
manpages
|
||||||
manpages-dev
|
manpages-dev
|
||||||
mdadm
|
|
||||||
mtr
|
mtr
|
||||||
musl-tools
|
musl-tools
|
||||||
nano
|
nano
|
||||||
|
|||||||
Reference in New Issue
Block a user