Create /var/log/journal
Its existence will ensure journal logs are persistent. We did this on the overcloud some time ago but the undercloud was missed. Change-Id: Iefd5b305af729bf7a0bdae16214ce59f436d2d95
This commit is contained in:
parent
21d8028728
commit
e05b30947c
|
@ -0,0 +1,10 @@
|
|||
#!/bin/bash
|
||||
|
||||
set -eu
|
||||
set -o pipefail
|
||||
|
||||
# Enable persistent logging for the systemd journal
|
||||
mkdir -p /var/log/journal
|
||||
|
||||
# Restart the journald service
|
||||
systemctl restart systemd-journald.service
|
Loading…
Reference in New Issue