Bug#965028: systemd: journalctl does not work for normal users at all
Michael Biebl
biebl at debian.org
Tue Jul 14 19:06:06 BST 2020
Control: tags -1 + moreinfo unreproducible
Am 14.07.20 um 18:50 schrieb Daniel Blaschke:
> Package: systemd
> Version: 241-7~deb10u4
> Severity: important
>
> Dear Maintainer,
>
> $ journalctl
> 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.
> No journal files were opened due to insufficient permissions.
>
> ************
> therefore, gnome-logs is empty and does not display any logs
> This happened for the primary (=admin) user of a fresh debian 10 install
>
> I added myself to the adm group and also to the systemd-journal group:
> $ groups daniel
> daniel : daniel adm cdrom floppy sudo audio dip video plugdev systemd-journal
> netdev bluetooth lpadmin scanner data
I can't reproduce this issue:
pi at raspberrypi ~ $ groups
pi adm dialout cdrom sudo audio video plugdev games users netdev
systemd-journal input spi gpio
pi at raspberrypi ~ $ ls -la /run/log/journal/
insgesamt 0
drwxr-sr-x 3 root systemd-journal 60 Jul 6 23:39 .
drwxr-xr-x 3 root root 60 Jul 6 23:39 ..
drwxr-s---+ 2 root systemd-journal 100 Jul 14 00:39
92e74c0bd699cc0d17d48ad852cc73e2
pi at raspberrypi ~ $ journalctl -f
-- Logs begin at Mon 2020-07-06 23:39:50 CEST. --
Jul 14 20:00:23 raspberrypi systemd[23434]: Reached target Sockets.
Jul 14 20:00:23 raspberrypi systemd[23434]: Reached target Paths.
Jul 14 20:00:23 raspberrypi systemd[23434]: Reached target Basic System.
Jul 14 20:00:23 raspberrypi systemd[1]: Started User Manager for UID 0.
Jul 14 20:00:23 raspberrypi systemd[23434]: Reached target Default.
Jul 14 20:00:23 raspberrypi systemd[23434]: Startup finished in 796ms.
Jul 14 20:00:23 raspberrypi systemd[1]: Started Session c8 of user root.
Jul 14 20:00:58 raspberrypi gpasswd[23485]: user pi added by root to
group systemd-journal
Jul 14 20:01:01 raspberrypi su[23492]: (to pi) root on pts/1
Jul 14 20:01:01 raspberrypi su[23492]: pam_unix(su-l:session): session
opened for user pi by root(uid=0)
Are you using persistent journal or volatile journal?
What are the file permissions of the journal directory?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20200714/f9260669/attachment.sig>
More information about the Pkg-systemd-maintainers
mailing list