非rootユーザーのjournalctlアクセス
journaldのドキュメントでは、「systemd-journal」グループまたは「adm」グループにユーザーを追加すると、ユーザーはシステム全体のジャーナルにアクセスできるようになっています。 最新のCentOS 7を実行していますが、ルート以外のユーザーとしてジャーナルにアクセスするのに問題があるようです。 これが私の設定です: $ id uid=1000(centos) gid=1000(centos) groups=1000(centos),4(adm),10(wheel),190(systemd-journal) context=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 $ cat /etc/systemd/journald.conf [Journal] Storage=persistent $ journalctl -- Logs begin at Sat 2015-08-29 16:35:52 UTC, end at Sat 2015-08-29 17:28:47 UTC. -- Aug 29 16:35:52 hostname ... <log continues> journalctlの出力にはシステムログはありません。ここに私の許可設定があります: $ ll -a /var/log/journal/f9afeb75a5a382dce8269887a67fbf58/ total 24592 drwxr-xr-x. 2 root root …