On 09/19/2016 09:39 AM, Peter Ragosch wrote:
rpm -qf /var/log/journal On Leap 42.1, dist-upgrade from 13.2,:
raven:~ # rpm -qf /var/log/journal file /var/log/journal is not owned by any package
raven:~ # raven:~ # cat /etc/./systemd/journald.conf # /etc/systemd/journald.conf # Generated by kcmsystemd control module v.0.7.0. [Journal] Storage=persistent Compress=yes #Seal= #SplitMode= #SyncIntervalSec= RateLimitInterval=3s RateLimitBurst=100 SystemMaxUse=256M SystemKeepFree=1024M #SystemMaxFileSize= #RuntimeMaxUse= #RuntimeKeepFree= #RuntimeMaxFileSize= MaxRetentionSec=10day #MaxFileSec= #ForwardToSyslog= #ForwardToKMsg= ForwardToConsole=yes TTYPath=/dev/tty10 #MaxLevelStore= #MaxLevelSyslog= #MaxLevelKMsg= #MaxLevelConsole= raven:~ #
From my Tumbleweed box: VERSION="20160917" This was a clean install originally, with OOTB defaults for journald.conf: -------------------- # rpm -qf /var/log/journal error: file /var/log/journal: No such file or directory # cat /etc/systemd/journald.conf # This file is part of systemd. # # systemd is free software; you can redistribute it and/or modify it # under the terms of the GNU Lesser General Public License as published by # the Free Software Foundation; either version 2.1 of the License, or # (at your option) any later version. # # Entries in this file show the compile time defaults. # You can change settings by editing this file. # Defaults can be restored by simply deleting this file. # # See journald.conf(5) for details. [Journal] #Storage=auto #Compress=yes #Seal=yes #SplitMode=uid #SyncIntervalSec=5m #RateLimitInterval=30s #RateLimitBurst=1000 #SystemMaxUse= #SystemKeepFree= #SystemMaxFileSize= #SystemMaxFiles=100 #RuntimeMaxUse= #RuntimeKeepFree= #RuntimeMaxFileSize= #RuntimeMaxFiles=100 #MaxRetentionSec= #MaxFileSec=1month #ForwardToSyslog=no #ForwardToKMsg=no #ForwardToConsole=no #ForwardToWall=yes #TTYPath=/dev/tty10 #MaxLevelStore=debug #MaxLevelSyslog=debug #MaxLevelKMsg=notice #MaxLevelConsole=info #MaxLevelWall=emerg -------------------- On my Leap 42.2 Beta test box, I checked and /var/log/journal does exist. I haven't used Leap 42.1 for a while, but as I said, to my memory logs for the systemd journal were volatile (in tempfs, meaning they disappeared after a reboot). That is because the logs default to |/run/log/journal which is the fallback directory for persistent, which "auto"mimicks if the /var/log/journal directory doesn't exist. I didn't find anywhere in the man page anything about what systemd does when all options are commented out, but it appears to behave as "volatile", which does create the directory in ||/run/log/journal if needed. Are the openSUSE defaults non-standard, haivng everything commented out? I haven't been on Debian or Fedora for a while but now I'm curious what their defaults are. | ||I don't remember the /var/log/journal directory ever existing on my Leap 42.1 box: one time I was trying to debug an issue, and the defaults for that Leap 42.1 system were so the journal only ran in tempfs. Many times when users need that feature the most, is when they may have had a kernel panic and were only able to view the journal after a reboot. according to per:
Interesting. I have two vanilla Leap42x+KDE systems, one of each, and neither has a /var/log/journal.
sdm -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org