Bug#756760: systemd: stale session prevents hibernation of workstation
Martin Steigerwald
martin.steigerwald at teamix.de
Fri Aug 1 13:50:51 BST 2014
Package: systemd
Version: 208-1
Severity: important
Dear Maintainer,
I tried to hibernate but got same annoying authorization requester
*after* KDE locked its desktop as described in bug #747939.
This time not due to a second KDE session but due to stale sessions:
ms at mango:~> loginctl
SESSION UID USER SEAT
2 2012 ms seat0
84 0 root seat0
87 0 root seat0
3 sessions listed.
Only session 2 is still active.
ms at mango:~> loginctl show-session 84
Id=84
Timestamp=Do 2014-07-31 11:43:23 CEST
TimestampMonotonic=32260639796
VTNr=1
TTY=/dev/tty1
Remote=no
Service=login
Scope=session-84.scope
Leader=6864
Audit=84
Type=tty
Class=user
Active=no
State=closing
IdleHint=yes
IdleSinceHint=1406800104196886
IdleSinceHintMonotonic=0
Name=root
ms at mango:~> loginctl show-session 87
Id=87
Timestamp=Do 2014-07-31 11:45:48 CEST
TimestampMonotonic=32405528582
VTNr=1
TTY=/dev/tty1
Remote=no
Service=login
Scope=session-87.scope
Leader=21739
Audit=87
Type=tty
Class=user
Active=no
State=closing
IdleHint=yes
IdleSinceHint=1406800104196886
IdleSinceHintMonotonic=0
Name=root
tty is definately logged out. So I do not only have one, but two stale
sessions on TTY1 while when switching to it with Ctrl-Alt-F1 I get a nice
login prompt displayed, so definately logged out. In any case two sessions
on the same TTY do not make any sense.
who totally agrees with that there is no body logged in on TTY1 anymore:
ms at mango:~> who
ms :0 2014-07-30 10:43
ms pts/1 2014-07-31 15:36 (:0)
ms pts/0 2014-07-30 10:44 (:0)
ms pts/8 2014-08-01 14:37 (:0)
ms pts/2 2014-07-30 10:44 (:0)
ms pts/3 2014-07-30 10:44 (:0)
ms pts/6 2014-07-31 17:58 (:0)
ms pts/4 2014-07-30 10:44 (:0)
ms pts/5 2014-07-30 10:44 (:0)
ms pts/13 2014-07-30 10:44 (:0)
ms pts/7 2014-07-30 10:44 (:0)
ms pts/9 2014-07-30 10:44 (:0)
ms pts/10 2014-07-30 10:44 (:0)
ms pts/12 2014-07-30 10:44 (:0)
ms pts/16 2014-07-30 10:44 (:0)
I will be using the same work-around as on my laptop and just allow
hibernation with mutiple sessions within policykit.
This is definately not yet end-user ready.
systemd is still at 208-1 as I won't upgrade it at the cost of removing
sysvinit-core. I do not yet trust systemd and systemd debian integration
enough to rely on it as only option on my production systems.
Ciao,
Martin
-- Package-specific info:
-- System Information:
Debian Release: jessie/sid
APT prefers unstable
APT policy: (500, 'unstable'), (200, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.14-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages systemd depends on:
ii acl 2.2.52-1
ii adduser 3.113+nmu3
ii initscripts 2.88dsf-53.2
ii libacl1 2.2.52-1
ii libaudit1 1:2.3.7-1
ii libblkid1 2.25-5
ii libc6 2.19-7
ii libcap2 1:2.24-3
ii libcap2-bin 1:2.24-3
ii libcryptsetup4 2:1.6.4-4
ii libdbus-1-3 1.8.6-1
ii libgcrypt11 1.5.3-5
ii libkmod2 18-1
ii liblzma5 5.1.1alpha+20120614-2
ii libpam0g 1.1.8-3
ii libselinux1 2.3-1
ii libsystemd-daemon0 208-1
ii libsystemd-journal0 208-1
ii libsystemd-login0 208-1
ii libudev1 208-6
ii libwrap0 7.6.q-25
ii sysv-rc 2.88dsf-53.2
ii udev 208-6
ii util-linux 2.25-5
Versions of packages systemd recommends:
ii libpam-systemd 208-1
Versions of packages systemd suggests:
pn systemd-ui <none>
-- no debconf information
--
Martin Steigerwald
Consultant / Trainer
teamix GmbH
Südwestpark 43
90449 Nürnberg
fon: +49 911 30999 55
fax: +49 911 30999 99
mail: martin.steigerwald at teamix.de
web: http://www.teamix.de
blog: http://blog.teamix.de
Amtsgericht Nürnberg, HRB 18320
Geschäftsführer: Oliver Kügow, Richard Müller
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: systemd-delta.txt
URL: <http://lists.alioth.debian.org/pipermail/pkg-systemd-maintainers/attachments/20140801/052154d8/attachment-0002.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: dsh-enabled.txt
URL: <http://lists.alioth.debian.org/pipermail/pkg-systemd-maintainers/attachments/20140801/052154d8/attachment-0003.txt>
More information about the Pkg-systemd-maintainers
mailing list