Create /var/log/journal

Fixes #9614.
This commit is contained in:
Eelco Dolstra 2015-09-03 11:29:46 +02:00
parent 9cea5bcf2c
commit 6ab7e0de29

View File

@ -643,6 +643,10 @@ in
if ! [ -e /etc/machine-id ]; then if ! [ -e /etc/machine-id ]; then
${systemd}/bin/systemd-machine-id-setup ${systemd}/bin/systemd-machine-id-setup
fi fi
# Keep a persistent journal. Note that systemd-tmpfiles will
# set proper ownership/permissions.
mkdir -m 0700 -p /var/log/journal
''; '';
users.extraUsers.systemd-network.uid = config.ids.uids.systemd-network; users.extraUsers.systemd-network.uid = config.ids.uids.systemd-network;