Commit 558dbdf
committed
auditd.service: set LogsDirectory and RuntimeDirectory
This ensures systemd will create these directories
ahead of starting the auditd service. It also ensures
the auditd service has write permissions, even if
someone might add additional hardening options to
the systemd service in the future.
Directory permission bits were copied from the
systemd tmpfiles config for the log directory, and
`make_audit_run_dir()` for the runtime directory.1 parent 8ed522a commit 558dbdf
1 file changed
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
38 | 43 | | |
39 | 44 | | |
40 | 45 | | |
| |||
0 commit comments