fix(aide): pass --config explicitly; AIDE 0.18 doesn't default it
- SHA
ab67f98ea3ddb0e4fccf8d26234af30c9583e518- Parents
-
01c0c76 - Tree
e0f7675
ab67f98
ab67f98ea3ddb0e4fccf8d26234af30c9583e51801c0c76
e0f7675| Status | File | + | - |
|---|---|---|---|
| M |
deploy/ansible/roles/base/files/shithub-aide-check.sh
|
4 | 1 |
deploy/ansible/roles/base/files/shithub-aide-check.shmodified@@ -21,7 +21,10 @@ mkdir -p "$(dirname "$LOG")" | ||
| 21 | 21 | |
| 22 | 22 | ts() { date -u +%Y-%m-%dT%H:%M:%SZ; } |
| 23 | 23 | |
| 24 | -OUT="$(aide --check 2>&1)" | |
| 24 | +# --config is mandatory on AIDE 0.18+ (Ubuntu 24); the binary won't | |
| 25 | +# pick up /etc/aide/aide.conf implicitly. Match the path the package | |
| 26 | +# ships and that aideinit / dailyaidecheck use. | |
| 27 | +OUT="$(aide --config=/etc/aide/aide.conf --check 2>&1)" | |
| 25 | 28 | RC=$? |
| 26 | 29 | |
| 27 | 30 | case "$RC" in |