Skip to content

Commit c130f74

Browse files
Change tmpfiles.d conf path per stig noble v1r6
Signed-off-by: Alan Moore <alan.moore@canonical.com>
1 parent a2dbf38 commit c130f74

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

  • linux_os/guide/system/logging/journald

linux_os/guide/system/logging/journald/dir_owner_system_journal/bash/ubuntu.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# platform = multi_platform_ubuntu
22

3-
TMPFILES_CONF="/usr/lib/tmpfiles.d/systemd.conf"
3+
TMPFILES_CONF="/etc/tmpfiles.d/zzz-systemd-stig.conf"
44

55
if ! grep -q 'Z /var/log/journal ~2750 root systemd-journal - -' "$TMPFILES_CONF"; then
66
if grep -qP "^[zZ][+]*\s+\/var\/log\/journal" "$TMPFILES_CONF"; then

linux_os/guide/system/logging/journald/file_owner_system_journal/bash/ubuntu.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# platform = multi_platform_ubuntu
22

3-
TMPFILES_CONF="/usr/lib/tmpfiles.d/systemd.conf"
3+
TMPFILES_CONF="/etc/tmpfiles.d/zzz-systemd-stig.conf"
44

55
if ! grep -q 'Z /var/log/journal ~2750 root systemd-journal - -' "$TMPFILES_CONF"; then
66
if grep -qP "^[zZ][+]*\s+\/var\/log\/journal" "$TMPFILES_CONF"; then

0 commit comments

Comments
 (0)