[arch-general] How to show (kernel) messages by journalctl?

Anatol Pomozov anatol.pomozov at gmail.com
Mon Oct 14 14:44:24 EDT 2013


Hi

On Sat, Oct 12, 2013 at 6:06 PM, Chris Down <chris at chrisdown.name> wrote:
> On 2013-10-13 01:51, Ralf Mardorf wrote:
>> [rocketmouse at archlinux ~]$ journalctl -k
>> -- Logs begin at Wed 2013-08-28 22:06:09 CEST, end at Sat 2013-10-12 20:36:06 CEST. --
>
> Your user needs to have the right privileges to view kernel messages, or run as
> root.

Or to be a member of 'systemd-journal' UNIX group. Quoting the man
page http://www.freedesktop.org/software/systemd/man/journalctl.html

"""All users are granted access to their private per-user journals.
However, by default, only root and users who are members of the
"systemd-journal" group get access to the system journal and the
journals of other users."""

>
>     chris at gopher:~$ journalctl -k | wc -l
>     1
>     chris at gopher:~$ sudo journalctl -k | wc -l
>     957


More information about the arch-general mailing list