Re: [systemd-devel] Missing previous boot system journal

2016-11-23 Thread Yun-Chih Chen
I'm serious. It was run as root; but just as requested. $ journalctl -n5 Journal file /var/log/journal/65f854e19e1d43049c5e058f1f93648f/user-4994.journal is truncated, ignoring file. -- Logs begin at Fri 2016-02-05 00:16:50 CST, end at Wed 2016-11-23 19:38:16 CST. -- Nov 23 19:38:01 server CROND[

Re: [systemd-devel] Missing previous boot system journal

2016-11-23 Thread Yunchih Chen
I am 100% sure it is run as root. Is there other debug info I can provide? Thanks for your help. 2016-11-23 16:33 GMT+08:00 陳耘志 : > The following commands are run with root privilege. > > 2016-11-22 23:52 GMT+08:00 Yun-Chih Chen : >> I've explicitly enabled persistent storage in journald.conf. H

Re: [systemd-devel] Missing previous boot system journal

2016-11-23 Thread Lennart Poettering
On Wed, 23.11.16 18:50, Yunchih Chen (yunchih@gmail.com) wrote: > I am 100% sure it is run as root. > Is there other debug info I can provide? Thanks for your help. Just run your journalctl commands as root again? The "id" command lets you know your user identity... Lennart -- Lennart Po

Re: [systemd-devel] Missing previous boot system journal

2016-11-23 Thread Lennart Poettering
On Wed, 23.11.16 16:33, 陳耘志 (yunchih@gmail.com) wrote: > The following commands are run with root privilege. Are you sure? Shells usually indicate that by using "#" as the shell prompt, instead of "$". And your command lines use the latter... > > $ journalctl -b -1 -k > > -- No entries -- L

Re: [systemd-devel] Missing previous boot system journal

2016-11-23 Thread 陳耘志
The following commands are run with root privilege. 2016-11-22 23:52 GMT+08:00 Yun-Chih Chen : > I've explicitly enabled persistent storage in journald.conf. However, it > seems that the system journal of previous boot is still missing; only some > user journal persisted. Am I missing anything?

Re: [systemd-devel] Missing previous boot system journal

2016-11-22 Thread Lennart Poettering
On Tue, 22.11.16 23:52, Yun-Chih Chen (yunchih@gmail.com) wrote: > I've explicitly enabled persistent storage in journald.conf. However, it > seems that the system journal of previous boot is still missing; only some > user journal persisted. Am I missing anything? Thanks in advance. You a

[systemd-devel] Missing previous boot system journal

2016-11-22 Thread Yun-Chih Chen
I've explicitly enabled persistent storage in journald.conf. However, it seems that the system journal of previous boot is still missing; only some user journal persisted. Am I missing anything? Thanks in advance. I'm running on Archlinux with Linux 4.8.4 and systemd 231-4. Here's some output: