[Bug 1133876] New: Processes, starteted by autostart (Xfce , KDE ) are after logout still running
http://bugzilla.suse.com/show_bug.cgi?id=1133876 Bug ID: 1133876 Summary: Processes, starteted by autostart (Xfce , KDE ) are after logout still running Classification: openSUSE Product: openSUSE Distribution Version: Leap 15.0 Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Xfce Assignee: bnc-team-xfce@forge.provo.novell.com Reporter: guenter.halt@halt-hoenow.de QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- Programms (binaries or scripts) will be not killed during logout, if the realated programms was started from an "forEver-script" Autostart-file in XFCE: ~/.config/autostart/autorun.xxx.desktop [Desktop Entry] Comment[de_DE]= Comment= Exec=/home/<user>/forEver.sh GenericName[de_DE]= GenericName= Icon=system-run MimeType= Name[de_DE]= Name= Path= StartupNotify=true Terminal=false TerminalOptions= Type=Application X-DBUS-ServiceName= X-DBUS-StartupType= X-KDE-SubstituteUID=false X-KDE-Username= #### File forEver.sh : #!/bin/bash while true do <executable binary or script> done ########## After logout from XFCE this <executable binary or script> is still running. For test: i used xclock as <executable binary or script> -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1133876 Stephan Hemeier <Sauerlandlinux@gmx.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |Sauerlandlinux@gmx.de -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1133876 http://bugzilla.suse.com/show_bug.cgi?id=1133876#c3 --- Comment #3 from Günter Halt <guenter.halt@halt-hoenow.de> --- the same effect takes place for Linux-Mint and Manjaro (both with XFCE) and openSuSE Leap 15.0-KDE -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1133876 http://bugzilla.suse.com/show_bug.cgi?id=1133876#c4 --- Comment #4 from Maurizio Galli <maurizio.galli@gmail.com> --- (In reply to Takashi Iwai from comment #2)
Yes, looks so.
I checked Leap 15.1 with the latest XFCE package in OBS X11:xfce, and the problem could be reproduced.
Maurizio, could you check TW system whether it shows the same problem?
Yes TW also. Likely needs to be reported upstream but I will run a final test with RAT, as it uses latest xfce4-session from git master. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1133876 http://bugzilla.suse.com/show_bug.cgi?id=1133876#c5 --- Comment #5 from Maurizio Galli <maurizio.galli@gmail.com> --- Ok I confirm the same issue with the latest Xfce from GIT master branch. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1133876 Maurizio Galli <maurizio.galli@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |CONFIRMED -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1133876 http://bugzilla.suse.com/show_bug.cgi?id=1133876#c6 --- Comment #6 from Takashi Iwai <tiwai@suse.com> --- OK, then care to report to the upstream? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1133876 http://bugzilla.suse.com/show_bug.cgi?id=1133876#c7 --- Comment #7 from Maurizio Galli <maurizio.galli@gmail.com> --- (In reply to Takashi Iwai from comment #6)
OK, then care to report to the upstream?
Done! https://bugzilla.xfce.org/show_bug.cgi?id=15368 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1133876 http://bugzilla.suse.com/show_bug.cgi?id=1133876#c9 --- Comment #9 from Maurizio Galli <maurizio.galli@gmail.com> --- well I think there is a good reason for that: "Note that setting KillUserProcesses=yes will break tools like screen(1) and tmux(1), unless they are moved out of the session scope." https://www.freedesktop.org/software/systemd/man/logind.conf.html -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1133876 http://bugzilla.suse.com/show_bug.cgi?id=1133876#c10 --- Comment #10 from Takashi Iwai <tiwai@suse.com> --- Right, basically it's a job of session manager. The xfce4 session manages seats via systemd logind, and the processes should have been terminated along with it. So something wrong with seat management in xfce4-session side, I suppose. The systemd KillUserProcess=yes is no solution. If XFCE relies on it, it's a clear design mistake. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1133876 http://bugzilla.suse.com/show_bug.cgi?id=1133876#c11 --- Comment #11 from Maurizio Galli <maurizio.galli@gmail.com> --- (In reply to Takashi Iwai from comment #10)
Right, basically it's a job of session manager. The xfce4 session manages seats via systemd logind, and the processes should have been terminated along with it. So something wrong with seat management in xfce4-session side, I suppose.
The systemd KillUserProcess=yes is no solution. If XFCE relies on it, it's a clear design mistake.
We could make a feature request. Does GNOME kill the processes at logout? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1133876 http://bugzilla.suse.com/show_bug.cgi?id=1133876#c12 --- Comment #12 from Günter Halt <guenter.halt@halt-hoenow.de> --- "We could make a feature request. Does GNOME kill the processes at logout?" pay attention: KDE kills not the processes too! -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1133876 http://bugzilla.suse.com/show_bug.cgi?id=1133876#c13 --- Comment #13 from Maurizio Galli <maurizio.galli@gmail.com> --- (In reply to Günter Halt from comment #12)
"We could make a feature request. Does GNOME kill the processes at logout?"
pay attention: KDE kills not the processes too!
Yes I understood that KDE does not. I was asking about GNOME and I managed to test in a VM with openSUSE Tumbleweed, when I logged out processes were killed. So to recap: Xfce = does not kill processes KDE = does not kill processes GNOME = DOES kill processes To be honest with you I'm not sure what the desired behavior should be but I'm not keen to go touch systemd to handle this as I don't have the full picture of what side effects it would generate -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1133876 http://bugzilla.suse.com/show_bug.cgi?id=1133876#c16 Takashi Iwai <tiwai@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|CONFIRMED |RESOLVED Resolution|--- |UPSTREAM --- Comment #16 from Takashi Iwai <tiwai@suse.com> --- Judging from the upstream bug tracker, this seems to have been improved. Let's close as UPSTREAM :) -- You are receiving this mail because: You are on the CC list for the bug.
participants (2)
-
bugzilla_noreply@novell.com
-
bugzilla_noreply@suse.com