On 09/19/2016 05:24 PM, sdm wrote:
On 09/19/2016 02:12 PM, Carlos E. R. wrote:
On 2016-09-19 22:01, sdm wrote:
On 09/19/2016 12:54 PM, Chris Murphy wrote:
# Entries in this file show the compile time defaults.
So if you have an entry: #Storage=auto
That means it looks for /var/log/journal. If it exists already, then the journal will be stored persistently in that location. If it doesn't exist, it will be stored in /run/log/journal/ which is volatile.
Not on Leap 422. *If* /var/log/journal exists, those journal files are wiped with each reboot, and Leap 42.1 behaved the same exact way for me, although I don't rememember right now if /var/log/journal existed on my past Leap 42.1 box. I wouldn't be surprised if after installing Leap 42.1, and the /var/log/journal directory existed, the behaviour would be exactly the same as Leap 422.
If what you say is true, it is a bug you must report, because it is contrary to the documentation.
/var/log/journal/* are the persistent logs and are not deleted on boot.
/run/log/journal/* are the volatile logs, deleted on each boot. /run/ is a tmpfs.
But remember, the default for Leap 422 is that "auto" is commented out just like TW. You are right, if the /var/log/journal directory exists,
If "auto" is the default it is the default (used) whether it is commented or uncommented. -- Ken linux since 1994 S.u.S.E./openSUSE since 1996 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org