Fix group and mode of /var/log/journal

This updates the group and mode set on the /var/log/journal directory to
match default ownership and permissions used by systemd-journald.

Closes-Bug: #2083494
Change-Id: I15323b95199b9ef19504c7408dd89720f9ba9c32
This commit is contained in:
Pierre Riteau 2024-10-02 12:11:28 +02:00
parent 8d58ad0958
commit 5ed077cba4
2 changed files with 8 additions and 2 deletions

View File

@ -18,8 +18,8 @@
file:
path: /var/log/journal
owner: "root"
group: "root"
mode: 0755
group: "systemd-journal"
mode: 02755
state: directory
notify: Flush journal to disk
when: journald_storage == "persistent"

View File

@ -0,0 +1,6 @@
---
fixes:
- |
Updates the group and mode set on the ``/var/log/journal`` directory to
match default ownership and permissions used by ``systemd-journald``.
`LP#2083494 <https://launchpad.net/bugs/2083494>`__