]> git.ipfire.org Git - thirdparty/dracut.git/commit
systemd: ensure journal is volatile 126/head
authorMichael Chapman <mike@very.puzzling.org>
Wed, 4 May 2016 00:49:56 +0000 (10:49 +1000)
committerMichael Chapman <mike@very.puzzling.org>
Wed, 4 May 2016 00:49:56 +0000 (10:49 +1000)
commit5dea430e087ec7749080547a6a6fe5b152f665ef
tree0896ee86ffb235db3689660f5aab38104c66219d
parent5f91ed0b5345e132d9fe1fa815bfd968778df5ea
systemd: ensure journal is volatile

If journald.conf already contains Storage=persistent, journald will
write to /var/log/journal/, which ends up at /run/initramfs/log/journal/
after switching root. We want to make sure early boot logs are written
to /run/log/journal/ so they can be flushed to /var/log/journal/ after
switching root.
modules.d/00systemd/module-setup.sh