Answers:
通过在systemd-journal组中添加我的用户,使它可以工作(在centOS 7上):
sudo usermod -a -G systemd-journal bob
bob现在是成员,注销,登录并:
id -a bob
uid=1000(bob) gid=1000(bob) groups=1000(bob),190(systemd-journal)
现在它可以工作了:
$ journalctl
-- Logs begin at Mon 2015-04-06 09:50:36 BST, end at Thu 2015-04-09 20:20:16 BST. --
Apr 06 09:50:36 localhost.localdomain chronyd[941]: Can't synchronise: no majority
Apr 06 09:50:36 localhost.localdomain chronyd[941]: Selected source 91.206.8.70
Apr 06 09:51:07 localhost.localdomain systemd[1]: Time has been changed
我找到了这个:
http://www.freedesktop.org/software/systemd/man/systemd-journald.service.html
还有这个: