[systemd-devel] Q: Activating persistent Journal in SLES15

Ulrich Windl Ulrich.Windl at rz.uni-regensburg.de
Thu Aug 11 07:29:50 UTC 2022


Hi!

I had activated the persistent journal in SLES15 SP2 using these commands:
# mkdir /var/log/journal
# systemctl restart systemd-journald.service

A directory had been created automatically:
systemd-journald[4273]: System journal (/var/log/journal/e766c8d06f144b1588487221640f55b5) is 8.0M, max 4.0G, 3.9G free.

However when I tried the same with SLES15 SP4, id did not work:
systemd-journald[12614]: Runtime Journal (/run/log/journal/1b5c6954ed9447fabb805f9da0419e15) is 8.0M, max 635.7M, 627.7M free.

Meanwhile the first host is at SP3, but when I list the directories I see a difference:
h16:~ # ll -d /var/log/journal/
drwxr-sr-x 1 root systemd-journal 64 Nov 30  2020 /var/log/journal/

v02:~ # ll -d /var/log/journal/
drwxr-xr-x 1 root root 0 Aug 11 09:16 /var/log/journal/

I cannot remember havign changed the group or permission of /var/log/journal/ after creating it.
My guess is that some package update did that change automatically, but now the procedure to set it up is different.

Can anybody confirm?

Both systems use:
[Journal]
#Storage=auto

The SP3 host uses systemd-246.16-150300.7.48.1.x86_64, while the SP4 host uses systemd-249.11-150400.8.5.1.x86_64.

Regards,
Ulrich




More information about the systemd-devel mailing list