diff --git a/os/common/rootfs/journald.conf b/os/common/rootfs/journald.conf index 90a182d4d..763b6e1f3 100644 --- a/os/common/rootfs/journald.conf +++ b/os/common/rootfs/journald.conf @@ -1,7 +1,9 @@ [Journal] -SystemMaxUse=128M -SystemKeepFree=1G -SystemMaxFileSize=10M -SystemMaxFiles=10 -RuntimeMaxUse=0 +# Nothing creates /var/log/journal, so the journal lives in /run. Keep it there: +# /var/volatile is shared with docker's writable layer. +# RuntimeMaxUse/RuntimeKeepFree stay at their defaults (10%/15% of /run) so the +# budget scales with guest memory. +Storage=volatile +RuntimeMaxFileSize=10M +RuntimeMaxFiles=10 ReadKMsg=no