I just had the idea that a #journalctl#screensaver could be an interesting thing. 🤔️ Like, maybe just highlighting errors and alerts from the last hour or so. I think I might be crazy enough to like something like that. 😅️
Annoyed by having to put #sudo in front on #dmesg[1]?
Then use this instead[2]:
$ journalctl -k
It should work if the user executing this is a member of the groups "systemd-journal", "adm", or "wheel".
[1] which is the case if CONFIG_SECURITY_DMESG_RESTRICT is turned on in your #Linux#kernel's .config – which #Fedora recently switched on, something many other distros did already a while ago.
[2] works for the common case, for some fancier stuff you might still need dmesg #LinuxKernel
2/ FWIW, here is another related tip provided by @eliasp[1]:
"'"
Use "journalctl -k -b-1" to see the kernel messages [e.g. what dmesg can show] of the previous boot.
Replace "-1" with any of the boot IDs provided by "journalctl --list-boots"[2]
"'"
[1] can be found in a reply to above toot, but this way more people will notice it
[2] requires the journal to be configured as Storage=persistent in /etc/systemd/journald.conf
@borgmatic using #borgmatic (v1.7.7 on #debian 12) commands in a #systemd service of my own -- and have duplicated output in #journalctl from them: every line that #borgmatic outputs is also duplicated with an extra word "ANSWER" in it... how do I inhibit the dupes?