On 01-31-2024 01:37PM, Andrei Borzenkov wrote:
On 31.01.2024 21:54, -pj via openSUSE Users wrote:
On 01-31-2024 12:37AM, Andrei Borzenkov wrote:
On Wed, Jan 31, 2024 at 9:33 AM -pj via openSUSE Users <users@lists.opensuse.org> wrote:
Hi, I am receiving this message when passing: journalctl -b -1 -r
Hint: You are currently not seeing messages from other users and the system.
Users in the 'systemd-journal' group can see all messages. Pass -q to
turn off this notice.
The issue is that I am in the "systemd-journal" group.
Thinkcentre-M57p:/usr/bin> groups paul
paul : paul audio cdrom systemd-journal
Thinkcentre-M57p:/usr/bin>
Show
id -a
output. Also check permissions on journal (sub-)directories - /run/log/journal and /var/log/journal (and of course on the parent path).
Is this readable? Composition & Addressing > Composition > Compose messages in HTML format is toggled *off* in Thunderbird now.
Thinkcentre-M57p:/> id -a uid=1000(paul) gid=1000(paul) groups=1000(paul),474(systemd-journal),488(cdrom),489(audio)
Thinkcentre-M57p:/run/log/journal> ls -lah total 0 drwxr-sr-x 2 root systemd-journal 40 Jan 31 00:24 . drwxr-xr-x 3 root root 60 Jan 31 00:24 .. Thinkcenter-M57p:/run/log/journal>
Thinkcentre-M57p:/var/log/journal> ls -lah total 4.0K drwxr-sr-x 1 root systemd-journal 64 Sep 18 2021 . drwxr-xr-x 1 root root 1.4K Jan 31 00:25 .. drwxr-sr-x 1 root systemd-journal 16K Jan 31 00:25 d27ebfd1ed87479da329ef76152c4dc3 Thinkcentre-M57p:/var/log/journal>
This shows permissions of the content of /var/log/journal, not the /var/log/journal itself nor the permissions of individual journal files. Show
ls -ld /var/log/journal ls -l /var/log/journal/d27ebfd1ed87479da329ef76152c4dc3
Also
strace -o /tmp/strace.log journalctl -b
and upload /tmp/strace.log to https://paste.opensuse.org/
Hi, I was unable to upload the strace file to https://paste.opensuse.org/ I was able to commress the file into tarball form named strace.tar.gz (76k), and attached it to this message for review. Thanks again for your help with this.
What is the 's' in group for in /run/log/journal/systemd-journal and /var/log/journal/systemd-journal (stickybit)? What is the file d27ebfd1ed87479da329ef76152c4dc3 used for?
What is going on here? What am I doing wrong and not understanding about this "Hint" above? Ok, powercycling fixed the issue. Do you recommend adding admin user to "systemd-journal" group typically?