Bug#772272: systemd: Journalctl fail to print logs from user session
Jameson Graef Rollins
jrollins at finestructure.net
Wed Mar 25 16:54:33 GMT 2015
Package: systemd
Version: 215-12
Followup-For: Bug #772272
I am also experiencing this issue. I have multiple services running
as systemd user services, and I don't have access to the logs of any
of them:
music at rippy:~ 1$ systemctl --user status mopidy
● mopidy.service - Mopidy Music Server
Loaded: loaded (/home/music/.config/systemd/user/mopidy.service; enabled)
Active: active (running) since Tue 2015-03-24 22:22:54 PDT; 11h ago
Main PID: 910 (mopidy)
CGroup: /user.slice/user-1001.slice/user at 1001.service/mopidy.service
└─910 /usr/bin/python /usr/bin/mopidy
music at rippy:~ 0$ journalctl --user
No journal files were found.
music at rippy:~ 1$ journalctl --user-unit=mopidy.service
No journal files were found.
music at rippy:~ 1$
This user is not in the systemd-journal group. However, the
journalctl man page declares that this should not be necessary (from
journalctl(1)):
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.
Thanks.
jamie.
-- Package-specific info:
-- System Information:
Debian Release: 8.0
APT prefers testing
APT policy: (600, 'testing'), (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages systemd depends on:
ii acl 2.2.52-2
ii adduser 3.113+nmu3
ii initscripts 2.88dsf-58
ii libacl1 2.2.52-2
ii libaudit1 1:2.4-1+b1
ii libblkid1 2.25.2-5
ii libc6 2.19-15
ii libcap2 1:2.24-7
ii libcap2-bin 1:2.24-7
ii libcryptsetup4 2:1.6.6-5
ii libgcrypt20 1.6.2-4+b1
ii libkmod2 18-3
ii liblzma5 5.1.1alpha+20120614-2+b3
ii libpam0g 1.1.8-3.1
ii libselinux1 2.3-2
ii libsystemd0 215-12
ii mount 2.25.2-5
ii sysv-rc 2.88dsf-58
ii udev 215-12
ii util-linux 2.25.2-5
Versions of packages systemd recommends:
ii dbus 1.9.8-1
ii libpam-systemd 215-12
Versions of packages systemd suggests:
ii systemd-ui 3-2
-- no debconf information
More information about the Pkg-systemd-maintainers
mailing list