Bug#965028: systemd: journalctl does not work for normal users at all

Daniel Blaschke blaschke at hep.itp.tuwien.ac.at
Wed Jul 15 00:19:14 BST 2020


OK, so now it works after rebooting - logging out and back in was not 
enough after adding myself to the groups apparently; sorry for the noise.
Could this bug perhaps be reassigned to the debian-installer?
Kind of think the primary admin user (which is set up during a fresh 
install) should be added to those groups by default.
Cheers,
Daniel

On Tue, 14 Jul 2020, Michael Biebl wrote:

> 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?
>
>



More information about the Pkg-systemd-maintainers mailing list