Bug#747821: systemd-logind doesn't create session for users logged in via GDM
Michal Kašpar
mkaspar at it-media.cz
Sun May 11 20:46:38 BST 2014
Package: systemd
Version: 204-10
Severity: normal
Dear Maintainer,
I've got problems with systemd-logind. It doesn't register user's
session (loginctl displays empty list) which has severe implications for
other applications (it's impossible to power off computer via gnome
menu, user has no privileges to use NetworkManager applet thus is unable
to controll networking etc.).
The behaviour is a bit strange because if user logs in via ssh or
console, his session is registered. If he logs in via gdm or uses su, it
isn't.
I don't use systemd as my init system, systemd-shim is installed. I've
tried to increase pam_systemd debug level (setting debug=yes in
/etc/pam.d/common-session at pam_systemd entry) but the output was the
same as without it and auth.log contains line:
May 5 08:32:59 xxx gdm3][8444]: pam_systemd(gdm3:session): Failed to create session: No such file or directory
-- Package-specific info:
-- System Information:
Debian Release: jessie/sid
APT prefers unstable
APT policy: (990, 'unstable'), (10, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.14-1-amd64 (SMP w/6 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=cs_CZ.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages systemd depends on:
ii acl 2.2.52-1
ii adduser 3.113+nmu3
ii initscripts 2.88dsf-53
ii libacl1 2.2.52-1
ii libaudit1 1:2.3.6-1
ii libc6 2.18-5
ii libcap2 1:2.22-1.2
ii libcap2-bin 1:2.22-1.2
ii libcryptsetup4 2:1.6.4-4
ii libdbus-1-3 1.8.2-1
ii libgcrypt11 1.5.3-4
ii libkmod2 17-2
ii liblzma5 5.1.1alpha+20120614-2
ii libpam0g 1.1.8-3
ii libselinux1 2.2.2-2
ii libsystemd-daemon0 204-10
ii libsystemd-journal0 204-10
ii libsystemd-login0 204-10
ii libudev1 204-10
ii libwrap0 7.6.q-25
ii sysv-rc 2.88dsf-53
ii udev 204-10
ii util-linux 2.20.1-5.7
Versions of packages systemd recommends:
ii libpam-systemd 204-10
Versions of packages systemd suggests:
pn systemd-ui <none>
-- no debconf information
-------------- next part --------------
[OVERRIDDEN] /etc/systemd/system/vsftpd.service ? /lib/systemd/system/vsftpd.service
Files /lib/systemd/system/vsftpd.service and /etc/systemd/system/vsftpd.service are identical
1 overridden configuration files found.
-------------- next part --------------
==> /var/lib/systemd/deb-systemd-helper-enabled/dbus-org.freedesktop.ModemManager1.service <==
==> /var/lib/systemd/deb-systemd-helper-enabled/lvm2-activation.service.dsh-also <==
/etc/systemd/system/local-fs.target.wants/lvm2-activation.service
==> /var/lib/systemd/deb-systemd-helper-enabled/avahi-daemon.service.dsh-also <==
/etc/systemd/system/multi-user.target.wants/avahi-daemon.service
/etc/systemd/system/sockets.target.wants/avahi-daemon.socket
/etc/systemd/system/dbus-org.freedesktop.Avahi.service
==> /var/lib/systemd/deb-systemd-helper-enabled/plymouth.service <==
==> /var/lib/systemd/deb-systemd-helper-enabled/lvm2-activation-early.service.dsh-also <==
/etc/systemd/system/local-fs.target.wants/lvm2-activation-early.service
==> /var/lib/systemd/deb-systemd-helper-enabled/vsftpd.service.dsh-also <==
/etc/systemd/system/multi-user.target.wants/vsftpd.service
==> /var/lib/systemd/deb-systemd-helper-enabled/ssh.socket.dsh-also <==
/etc/systemd/system/sockets.target.wants/ssh.socket
==> /var/lib/systemd/deb-systemd-helper-enabled/sshd.service <==
==> /var/lib/systemd/deb-systemd-helper-enabled/lvm2-lvmetad.socket.dsh-also <==
/etc/systemd/system/sockets.target.wants/lvm2-lvmetad.socket
==> /var/lib/systemd/deb-systemd-helper-enabled/libvirt-guests.service.dsh-also <==
/etc/systemd/system/multi-user.target.wants/libvirt-guests.service
/etc/systemd/system/multi-user.target.wants/libvirt-guests.service
/etc/systemd/system/multi-user.target.wants/libvirt-guests.service
/etc/systemd/system/multi-user.target.wants/libvirt-guests.service
==> /var/lib/systemd/deb-systemd-helper-enabled/dbus-org.freedesktop.Avahi.service <==
==> /var/lib/systemd/deb-systemd-helper-enabled/graphical.target.wants/accounts-daemon.service <==
==> /var/lib/systemd/deb-systemd-helper-enabled/bluetooth.target.wants/bluetooth.service <==
==> /var/lib/systemd/deb-systemd-helper-enabled/avahi-daemon.socket.dsh-also <==
/etc/systemd/system/sockets.target.wants/avahi-daemon.socket
==> /var/lib/systemd/deb-systemd-helper-enabled/rsyslog.service.dsh-also <==
/etc/systemd/system/multi-user.target.wants/rsyslog.service
/etc/systemd/system/syslog.service
/etc/systemd/system/multi-user.target.wants/rsyslog.service
/etc/systemd/system/syslog.service
/etc/systemd/system/multi-user.target.wants/rsyslog.service
/etc/systemd/system/syslog.service
==> /var/lib/systemd/deb-systemd-helper-enabled/pppd-dns.service.dsh-also <==
/etc/systemd/system/multi-user.target.wants/pppd-dns.service
==> /var/lib/systemd/deb-systemd-helper-enabled/binfmt-support.service.dsh-also <==
/etc/systemd/system/multi-user.target.wants/binfmt-support.service
==> /var/lib/systemd/deb-systemd-helper-enabled/accounts-daemon.service.dsh-also <==
/etc/systemd/system/graphical.target.wants/accounts-daemon.service
==> /var/lib/systemd/deb-systemd-helper-enabled/dns-clean.service.dsh-also <==
/etc/systemd/system/multi-user.target.wants/dns-clean.service
==> /var/lib/systemd/deb-systemd-helper-enabled/anacron.service.dsh-also <==
/etc/systemd/system/multi-user.target.wants/anacron.service
==> /var/lib/systemd/deb-systemd-helper-enabled/dbus-org.bluez.service <==
==> /var/lib/systemd/deb-systemd-helper-enabled/virtlockd.socket.dsh-also <==
/etc/systemd/system/multi-user.target.wants/virtlockd.socket
/etc/systemd/system/multi-user.target.wants/virtlockd.socket
/etc/systemd/system/multi-user.target.wants/virtlockd.socket
/etc/systemd/system/multi-user.target.wants/virtlockd.socket
/etc/systemd/system/sockets.target.wants/virtlockd.socket
==> /var/lib/systemd/deb-systemd-helper-enabled/multi-user.target.wants/anacron.service <==
==> /var/lib/systemd/deb-systemd-helper-enabled/multi-user.target.wants/virtlockd.socket <==
==> /var/lib/systemd/deb-systemd-helper-enabled/multi-user.target.wants/ssh.service <==
==> /var/lib/systemd/deb-systemd-helper-enabled/multi-user.target.wants/libvirt-bin.service <==
==> /var/lib/systemd/deb-systemd-helper-enabled/multi-user.target.wants/avahi-daemon.service <==
==> /var/lib/systemd/deb-systemd-helper-enabled/multi-user.target.wants/pppd-dns.service <==
==> /var/lib/systemd/deb-systemd-helper-enabled/multi-user.target.wants/lm-sensors.service <==
==> /var/lib/systemd/deb-systemd-helper-enabled/multi-user.target.wants/vsftpd.service <==
==> /var/lib/systemd/deb-systemd-helper-enabled/multi-user.target.wants/ModemManager.service <==
==> /var/lib/systemd/deb-systemd-helper-enabled/multi-user.target.wants/libvirt-guests.service <==
==> /var/lib/systemd/deb-systemd-helper-enabled/multi-user.target.wants/binfmt-support.service <==
==> /var/lib/systemd/deb-systemd-helper-enabled/multi-user.target.wants/atd.service <==
==> /var/lib/systemd/deb-systemd-helper-enabled/multi-user.target.wants/rsyslog.service <==
==> /var/lib/systemd/deb-systemd-helper-enabled/multi-user.target.wants/dns-clean.service <==
==> /var/lib/systemd/deb-systemd-helper-enabled/lm-sensors.service.dsh-also <==
/etc/systemd/system/multi-user.target.wants/lm-sensors.service
==> /var/lib/systemd/deb-systemd-helper-enabled/sockets.target.wants/virtlockd.socket <==
==> /var/lib/systemd/deb-systemd-helper-enabled/sockets.target.wants/avahi-daemon.socket <==
==> /var/lib/systemd/deb-systemd-helper-enabled/sockets.target.wants/lvm2-lvmetad.socket <==
==> /var/lib/systemd/deb-systemd-helper-enabled/atd.service.dsh-also <==
/etc/systemd/system/multi-user.target.wants/atd.service
==> /var/lib/systemd/deb-systemd-helper-enabled/local-fs.target.wants/lvm2-activation.service <==
==> /var/lib/systemd/deb-systemd-helper-enabled/local-fs.target.wants/lvm2-activation-early.service <==
==> /var/lib/systemd/deb-systemd-helper-enabled/plymouth-quit.service.dsh-also <==
/etc/systemd/system/plymouth.service
==> /var/lib/systemd/deb-systemd-helper-enabled/bluetooth.service.dsh-also <==
/etc/systemd/system/bluetooth.target.wants/bluetooth.service
/etc/systemd/system/dbus-org.bluez.service
==> /var/lib/systemd/deb-systemd-helper-enabled/ssh.service.dsh-also <==
/etc/systemd/system/multi-user.target.wants/ssh.service
/etc/systemd/system/sshd.service
==> /var/lib/systemd/deb-systemd-helper-enabled/libvirt-bin.service.dsh-also <==
/etc/systemd/system/multi-user.target.wants/libvirt-bin.service
/etc/systemd/system/multi-user.target.wants/libvirt-bin.service
/etc/systemd/system/multi-user.target.wants/libvirt-bin.service
/etc/systemd/system/multi-user.target.wants/libvirt-bin.service
==> /var/lib/systemd/deb-systemd-helper-enabled/plymouth-read-write.service.dsh-also <==
/etc/systemd/system/plymouth-log.service
==> /var/lib/systemd/deb-systemd-helper-enabled/plymouth-log.service <==
==> /var/lib/systemd/deb-systemd-helper-enabled/syslog.service <==
==> /var/lib/systemd/deb-systemd-helper-enabled/ModemManager.service.dsh-also <==
/etc/systemd/system/multi-user.target.wants/ModemManager.service
/etc/systemd/system/dbus-org.freedesktop.ModemManager1.service
==> /var/lib/systemd/deb-systemd-helper-enabled/virtlockd.service.dsh-also <==
/etc/systemd/system/sockets.target.wants/virtlockd.socket
-------------- next part --------------
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
/dev/mapper/vg00-rootfs / ext4 defaults,errors=remount-ro,acl,user_xattr,noatime 1 1
LABEL=boot /boot ext2 defaults,nodev 1 2
UUID=82F5-5332 /boot/efi vfat defaults 0 0
/dev/mapper/vg00-var /var ext4 defaults,nosuid,nodev,acl,user_xattr 1 2
/dev/mapper/vg00-opt /opt ext4 defaults,acl,user_xattr,relatime 1 2
/dev/mapper/vg00-home /home ext4 defaults,nosuid,nodev,acl,user_xattr,relatime 1 2
/dev/mapper/vg00-vm /srv/vm ext4 defaults,nosuid,nodev,acl,user_xattr,noatime 1 2
#/dev/vg00/swap0 none swap sw,pri=100 0 0
/dev/vg00/swap1 none swap sw,pri=150 0 0
/dev/mapper/vg00-tmp /tmp ext4 defaults,nosuid,nodev,noatime 0 2
#tmpfs /tmp tmpfs defaults,noatime,mode=1777 0 0
proc /proc proc defaults 0 0
/dev/mapper/vg00-backup /srv/backup ext4 defaults,nosuid,nodev,acl,user_xattr 0 2
# NFS4
/media /srv/nfs4/media none rw,rbind 0 0
/home /srv/nfs4/home none rw,bind 0 0
# remote
budha:/multimedia /srv/multimedia nfs4 defaults,sec=krb5,soft,retrans=4,bg 0 3
#budha:/srv/nfs4/multimedia /srv/multimedia nfs defaults,vers=3,soft,bg 0 3
budha:/shared /home/shared nfs4 defaults,sec=krb5,soft,retrans=4,bg 0 3
More information about the Pkg-systemd-maintainers
mailing list