diff --git a/linux_os/guide/system/logging/journald/dir_groupowner_system_journal/rule.yml b/linux_os/guide/system/logging/journald/dir_groupowner_system_journal/rule.yml index 333240994c91..8d8a7276f5e5 100644 --- a/linux_os/guide/system/logging/journald/dir_groupowner_system_journal/rule.yml +++ b/linux_os/guide/system/logging/journald/dir_groupowner_system_journal/rule.yml @@ -25,8 +25,8 @@ severity: medium fixtext: | Configure the system to set the appropriate ownership to the directories - used by the systemd journal. Add or modify the following lines in the - "/usr/lib/tmpfiles.d/00-systemd.conf" file: + used by the systemd journal. Add or modify the following lines in the + "/usr/lib/tmpfiles.d/systemd.conf" or "/etc/lib/tmpfiles.d/00-systemd.conf" file:
z /run/log/journal 2640 root systemd-journal - - z /var/log/journal 2640 root systemd-journal - - diff --git a/linux_os/guide/system/logging/journald/dir_owner_system_journal/rule.yml b/linux_os/guide/system/logging/journald/dir_owner_system_journal/rule.yml index 2e3ad2774ff6..53aaab193c9a 100644 --- a/linux_os/guide/system/logging/journald/dir_owner_system_journal/rule.yml +++ b/linux_os/guide/system/logging/journald/dir_owner_system_journal/rule.yml @@ -25,8 +25,8 @@ severity: medium fixtext: | Configure the system to set the appropriate ownership to the directories - used by the systemd journal. Add or modify the following lines in the - "/usr/lib/tmpfiles.d/00-systemd.conf" file: + used by the systemd journal. Add or modify the following lines in the + "/usr/lib/tmpfiles.d/systemd.conf" or "/etc/lib/tmpfiles.d/00-systemd.conf" file:z /run/log/journal 2640 root systemd-journal - - z /var/log/journal 2640 root systemd-journal - - diff --git a/linux_os/guide/system/logging/journald/dir_permissions_system_journal/rule.yml b/linux_os/guide/system/logging/journald/dir_permissions_system_journal/rule.yml index 0caf9e0bc376..44792128821b 100644 --- a/linux_os/guide/system/logging/journald/dir_permissions_system_journal/rule.yml +++ b/linux_os/guide/system/logging/journald/dir_permissions_system_journal/rule.yml @@ -24,7 +24,8 @@ severity: medium fixtext: | Configure the system to set the appropriate permissions to the files and directories used by the systemd journal: - Add or modify the following lines in the "/etc/tmpfiles.d/00-systemd.conf" file: + Add or modify the following lines in the "/usr/lib/tmpfiles.d/systemd.conf" + or "/etc/lib/tmpfiles.d/00-systemd.conf" file:z /run/log/journal 2750 root systemd-journal - - Z /run/log/journal/%m ~2750 root systemd-journal - - diff --git a/linux_os/guide/system/logging/journald/file_groupowner_system_journal/rule.yml b/linux_os/guide/system/logging/journald/file_groupowner_system_journal/rule.yml index 11a6161b2a95..165cd62c6aac 100644 --- a/linux_os/guide/system/logging/journald/file_groupowner_system_journal/rule.yml +++ b/linux_os/guide/system/logging/journald/file_groupowner_system_journal/rule.yml @@ -36,7 +36,8 @@ fixtext: | {{%- if 'ubuntu' in product %}} Configure the system to set the appropriate group-ownership to the files used by the systemd journal: - Add or modify the following lines in the "/etc/tmpfiles.d/00-systemd.conf" file: + Add or modify the following lines in the "/usr/lib/tmpfiles.d/systemd.conf" + or "/etc/lib/tmpfiles.d/00-systemd.conf" file:z /var/log/journal/%m/system.journal 0640 root systemd-journal - -diff --git a/linux_os/guide/system/logging/journald/file_owner_system_journal/rule.yml b/linux_os/guide/system/logging/journald/file_owner_system_journal/rule.yml index c3d66f5288a0..ae6976b4fba6 100644 --- a/linux_os/guide/system/logging/journald/file_owner_system_journal/rule.yml +++ b/linux_os/guide/system/logging/journald/file_owner_system_journal/rule.yml @@ -35,7 +35,8 @@ fixtext: | {{%- if 'ubuntu' in product %}} Configure the system to set the appropriate ownership to the files used by the systemd journal: - Add or modify the following lines in the "/etc/tmpfiles.d/00-systemd.conf" file: + Add or modify the following lines in the "/usr/lib/tmpfiles.d/systemd.conf" + or "/etc/lib/tmpfiles.d/00-systemd.conf" file:z /var/log/journal/%m/system.journal 0640 root systemd-journal - -diff --git a/linux_os/guide/system/logging/journald/file_permissions_system_journal/rule.yml b/linux_os/guide/system/logging/journald/file_permissions_system_journal/rule.yml index 5148ad225a04..d2c4d9393ba1 100644 --- a/linux_os/guide/system/logging/journald/file_permissions_system_journal/rule.yml +++ b/linux_os/guide/system/logging/journald/file_permissions_system_journal/rule.yml @@ -33,7 +33,8 @@ fixtext: | {{%- if 'ubuntu' in product %}} Configure the system to set the appropriate permissions to the files and directories used by the systemd journal: - Add or modify the following lines in the "/etc/tmpfiles.d/00-systemd.conf" file: + Add or modify the following lines in the "/usr/lib/tmpfiles.d/systemd.conf" + or "/etc/lib/tmpfiles.d/00-systemd.conf" file:z /var/log/journal/%m/system.journal 0640 root systemd-journal - -