Bug#805442: systemd: Automatic logout when changing the Target
dekonta at earth.anapnea.net
dekonta at earth.anapnea.net
Fri Nov 20 12:32:00 GMT 2015
(Please ignore post #45 where my misconfigured mail transport totally messed up formatting - sorry for that)
I observe the same behaviour with systemd 228-2, like several people report at http://forum.siduction.org/index.php?topic=5901.0
Double checked that etc/systemd/system/getty.target.wants/getty at tty1.service as well as /lib/systemd/system/getty at .service both contain 'IgnoreOnIsolate=yes'
One user in above forum reported the same for Fedora since Fedora21, so not debian specific (some wild guesses were that its rather introduced by xserver setuid change than by systemd itself?).
Michael Singer reported in IRC that he had no problems on Nov 12 and observed the bug on Nov 15, probably systemd 227-2 -> 227-3
----
New test with several ttys, 3x root on tty1,tty2,tty3, user on tty4. On isolate-command, all of them get logged out.
## System running inside Virtualbox 5.0.8.10
linux-image-4.3.0-towo.3-siduction-686 4.3-2
systemd 228-1
plasma-desktop 4:5.4.2-1
kde-runtime 4:15.08.2-1
xserver-xorg-core 2:1.17.3-2
Before isolate command, root on tty1, user-session active:
#loginctl list-sessions
SESSION UID USER SEAT
c1 105 lightdm seat0
1 1000 myuser seat0
2 0 root seat0
3 sessions listed
After isolate command, root on tty1 re-logged in:
#loginctl list-sessions
SESSION UID USER SEAT
3 0 root seat0
1 sessions listed
Part of journal between the two root logins (before/after isolate command) added.
-------------- next part --------------
-- Logs begin at Mi 2015-10-21 07:20:30 CEST, end at Fr 2015-11-20 09:21:12 CET. --
Nov 20 09:19:24 sidvb login[463]: pam_unix(login:session): session opened for user root by LOGIN(uid=0)
Nov 20 09:19:24 sidvb systemd-logind[398]: New session 3 of user root.
Nov 20 09:19:24 sidvb systemd[3745]: pam_unix(systemd-user:session): session opened for user root by (uid=0)
Nov 20 09:19:24 sidvb systemd[3745]: Reached target Sockets.
Nov 20 09:19:24 sidvb systemd[3745]: Reached target Timers.
Nov 20 09:19:24 sidvb systemd[3745]: Reached target Paths.
Nov 20 09:19:24 sidvb systemd[3745]: Reached target Basic System.
Nov 20 09:19:24 sidvb systemd[3745]: Reached target Default.
Nov 20 09:19:24 sidvb systemd[3745]: Startup finished in 89ms.
Nov 20 09:19:24 sidvb login[3750]: ROOT LOGIN on '/dev/tty1'
Nov 20 09:19:42 sidvb polkitd[498]: Registered Authentication Agent for unix-process:3823:75255 (system bus name :1.48 [/usr/bin/pkttyagent --notify-fd 4 --fallback], object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale de_DE.UTF-8)
Nov 20 09:19:42 sidvb org.kde.kglobalaccel[896]: The X11 connection broke (error 1). Did the X11 server die?
Nov 20 09:19:42 sidvb systemd[709]: Reached target Shutdown.
Nov 20 09:19:42 sidvb systemd[3747]: pam_unix(systemd-user:session): session closed for user root
Nov 20 09:19:42 sidvb systemd[709]: Stopped target Default.
Nov 20 09:19:42 sidvb systemd[710]: pam_unix(systemd-user:session): session closed for user lightdm
Nov 20 09:19:42 sidvb systemd[709]: Starting Exit the Session...
Nov 20 09:19:43 sidvb systemd[820]: pam_unix(systemd-user:session): session closed for user martin
Nov 20 09:19:42 sidvb systemd[709]: Stopped target Basic System.
Nov 20 09:19:42 sidvb systemd[709]: Stopped target Sockets.
Nov 20 09:19:42 sidvb systemd[709]: Stopped target Timers.
Nov 20 09:19:42 sidvb systemd[709]: Stopped target Paths.
Nov 20 09:19:42 sidvb systemd[819]: Stopped target Default.
Nov 20 09:19:42 sidvb systemd[819]: Reached target Shutdown.
Nov 20 09:19:42 sidvb systemd[3745]: Reached target Shutdown.
Nov 20 09:19:42 sidvb systemd[3745]: Starting Exit the Session...
Nov 20 09:19:42 sidvb systemd[3745]: Stopped target Default.
Nov 20 09:19:42 sidvb systemd[3745]: Stopped target Basic System.
Nov 20 09:19:42 sidvb systemd[3745]: Stopped target Timers.
Nov 20 09:19:42 sidvb systemd[3745]: Stopped target Sockets.
Nov 20 09:19:42 sidvb systemd[3745]: Stopped target Paths.
Nov 20 09:19:42 sidvb systemd[819]: Starting Exit the Session...
Nov 20 09:19:42 sidvb systemd[819]: Stopped target Basic System.
Nov 20 09:19:42 sidvb systemd[819]: Stopped target Sockets.
Nov 20 09:19:42 sidvb systemd[819]: Stopped target Timers.
Nov 20 09:19:42 sidvb systemd[819]: Stopped target Paths.
Nov 20 09:19:42 sidvb systemd[3745]: Received SIGRTMIN+24 from PID 3841 (kill).
Nov 20 09:19:42 sidvb systemd[709]: Received SIGRTMIN+24 from PID 3835 (kill).
Nov 20 09:19:43 sidvb systemd[819]: Received SIGRTMIN+24 from PID 3836 (kill).
Nov 20 09:19:43 sidvb org.kde.kuiserver[896]: kuiserver: Fatal IO error 11 (Die Ressource ist zur Zeit nicht verfügbar) on X server :0.
Nov 20 09:19:43 sidvb pulseaudio[1077]: [pulseaudio] module-x11-publish.c: PulseAudio information vanished from X11!
Nov 20 09:19:43 sidvb mkdir[3844]: /bin/mkdir: das Verzeichnis „/var/run/pppconfig“ kann nicht angelegt werden: Die Datei existiert bereits
Nov 20 09:19:43 sidvb anacron[3842]: Anacron 2.3 started on 2015-11-20
Nov 20 09:19:43 sidvb anacron[3842]: Normal exit (0 jobs run)
Nov 20 09:19:43 sidvb systemd[1]: dns-clean.service: Control process exited, code=exited status=1
Nov 20 09:19:43 sidvb systemd[1]: Failed to start Clean up any mess left by 0dns-up.
Nov 20 09:19:43 sidvb systemd[1]: dns-clean.service: Unit entered failed state.
Nov 20 09:19:43 sidvb systemd[1]: dns-clean.service: Failed with result 'exit-code'.
Nov 20 09:19:44 sidvb systemd-logind[398]: Removed session 1.
Nov 20 09:19:44 sidvb systemd-logind[398]: Removed session 3.
Nov 20 09:19:44 sidvb systemd-logind[398]: Removed session c1.
Nov 20 09:19:44 sidvb console-setup[3834]: Setting up console font and keymap...done.
Nov 20 09:19:51 sidvb login[3885]: pam_unix(login:session): session opened for user root by LOGIN(uid=0)
Nov 20 09:19:51 sidvb systemd-logind[398]: New session 4 of user root.
Nov 20 09:19:51 sidvb systemd[3938]: pam_unix(systemd-user:session): session opened for user root by (uid=0)
Nov 20 09:19:51 sidvb systemd[3938]: Reached target Sockets.
Nov 20 09:19:51 sidvb systemd[3938]: Reached target Timers.
Nov 20 09:19:51 sidvb systemd[3938]: Reached target Paths.
Nov 20 09:19:51 sidvb systemd[3938]: Reached target Basic System.
Nov 20 09:19:51 sidvb systemd[3938]: Reached target Default.
Nov 20 09:19:51 sidvb systemd[3938]: Startup finished in 75ms.
Nov 20 09:19:51 sidvb login[3943]: ROOT LOGIN on '/dev/tty1'
More information about the Pkg-systemd-maintainers
mailing list