[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#850006: sddm: pam_systemd errors in auth.log



Package: sddm
Version: 0.13.0-1
Severity: normal

/etc/pam.d/{sddm,sddm-autologin,sddm-greeter} all have
"session required pam_systemd.so" and they all also include common-session
which has "session optional        pam_systemd.so".

This leads to errors such as the following:
Jan  3 12:23:28 unicorn sddm-helper: pam_systemd(sddm-greeter:session): Cannot create session: Already running in a session
Jan  3 12:23:28 unicorn sddm-helper: pam_unix(sddm-greeter:session): session opened for user sddm by (uid=0)
Jan  3 12:23:28 unicorn sddm-helper: pam_systemd(sddm-greeter:session): Cannot create session: Already running in a session

Also why do you need to fail a login if a systemd session can't be established?
The maintainers of the common-session decided to make it optional, why does
it need to be required for sddm and if so wouldn't it need to be required for
other login daemons too?

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.8.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages sddm depends on:
ii  adduser                         3.115
ii  debconf [debconf-2.0]           1.5.59
ii  libc6                           2.24-8
ii  libgcc1                         1:6.3.0-2
ii  libpam0g                        1.1.8-3.4
ii  libqt5core5a                    5.7.1+dfsg-2
ii  libqt5dbus5                     5.7.1+dfsg-2
ii  libqt5gui5                      5.7.1+dfsg-2
ii  libqt5network5                  5.7.1+dfsg-2
ii  libqt5qml5                      5.7.1-1
ii  libqt5quick5                    5.7.1-1
ii  libstdc++6                      6.3.0-2
ii  libsystemd0                     232-8
ii  libxcb-xkb1                     1.12-1
ii  libxcb1                         1.12-1
ii  qml-module-qtquick2             5.7.1-1
ii  sddm-theme-breeze [sddm-theme]  4:5.8.4-1

Versions of packages sddm recommends:
ii  libpam-systemd  232-8

Versions of packages sddm suggests:
pn  libpam-kwallet5  <none>

-- debconf information:
  sddm/daemon_name: /usr/bin/sddm
* shared/default-x-display-manager: sddm


Reply to: