[Bug 266931] New: dbus-daemon does not end with users sessions and has many instances for each user
https://bugzilla.novell.com/show_bug.cgi?id=266931 Summary: dbus-daemon does not end with users sessions and has many instances for each user Product: openSUSE 10.2 Version: Final Platform: x86-64 OS/Version: openSUSE 10.2 Status: NEW Severity: Normal Priority: P5 - None Component: X11 Applications AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: andreas.pfaller@gmail.com QAContact: sndirsch@novell.com CC: behlert@novell.com Note: This is a duplicate of bug #158098 but any attempt to add an additional comment or change the product to 10.2 gets rejected with "You are not permitted to edit bugs in product SUSE LINUX 10.0." This problem described in #158098 certainly still exists in 10.2. I have just killed a few dozen dbus-daemon's on a system with only 3 remote X sessions from thin clients and 1 local X login. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=266931 chrubis@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team- |thoenig@novell.com |screening@forge.provo.novell| |.com | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=266931 thoenig@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |andreas.pfaller@gmail.com ------- Comment #1 from thoenig@novell.com 2007-04-27 04:16 MST ------- Andreas, can you please provide the complete list of processes running (ps axu) whenever you run into that issue? Thanks! -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=266931 andreas.pfaller@gmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Info Provider|andreas.pfaller@gmail.com | ------- Comment #2 from andreas.pfaller@gmail.com 2007-04-27 10:21 MST ------- Created an attachment (id=135979) --> (https://bugzilla.novell.com/attachment.cgi?id=135979&action=view) "ps axu" output Freshly booted 10.2 install. I logged in and out of a fairly standard KDE session 3 times on the local X display (:0). Note that for each login a dbus-daemon gets left behind. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=266931 thoenig@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |andreas.pfaller@gmail.com ------- Comment #3 from thoenig@novell.com 2007-04-27 13:06 MST ------- Andreas, thanks for the process list. It looks quite sane -- I can not see any orphan process using D-Bus. Do you happen to have GNOME on your system installed, too? If so, could you please check whether the same happens if you use GNOME sessions instead of KDE? Thanks! -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=266931 andreas.pfaller@gmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Info Provider|andreas.pfaller@gmail.com | ------- Comment #4 from andreas.pfaller@gmail.com 2007-04-27 18:43 MST ------- Gnome is not installed on the system I send you the ps output (comment #2) from. However a different system has both KDE and Gnome installed and on this system the same happens for both desktop environments. I am surprised that you can't seem to reproduce this since at least all of my systems show the same problem and they are quite different systems (Opterons, Athlons, and Intel - all dualcore and 64bit) and for all user accounts I tested (including a minimal KDE session setup configured with kiosktool). Each session logout leaves one addiontal dbus-daemon running (100% reproduceable). I have all relevant updates from the 10.2 update tree installed but I am not sure if this already happend with the original DVD install (The server where my thin clients connect only went into production recently and unlike my normal desktops this server sees many temporary X sessions so the many dbus-daemons are really noticeable in the ps output). -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=266931 ------- Comment #5 from jef.peeraer@telenet.be 2007-05-02 11:50 MST ------- Created an attachment (id=137085) --> (https://bugzilla.novell.com/attachment.cgi?id=137085&action=view) ps axu of opensuse 10.2 system with lots of dbus deamons Linux jwt 2.6.18.8-0.1-bigsmp #1 SMP Fri Mar 2 13:51:59 UTC 2007 i686 athlon i386 GNU/Linux -> system runs daily 30 users. the output is when everybody is logged out ->kde is used as default window manager -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=266931 gjeilers@evergreenresearch.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |gjeilers@evergreenresearch.com ------- Comment #6 from gjeilers@evergreenresearch.com 2007-05-26 14:53 MST ------- I consistently see the same behavior on at least two different i86 systems, one of them with a fresh install. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=266931 ------- Comment #7 from gjeilers@evergreenresearch.com 2007-06-01 09:27 MST ------- The problem appears to originate in gdm--even when using the KDE desktop--because gdm is used for KDE as long as the GNOME desktop is installed. When I forced the use of kdm by setting DISPLAYMANAGER=kdm in /etc/sysconfig and rebooted, all of the spurious instances of dbus-daemon disappeared. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=266931 ------- Comment #8 from gjeilers@evergreenresearch.com 2007-06-01 09:34 MST ------- Sorry for the false lead. I forgot that rebooting would eliminate the spurious dbus-daemon instances. The problem appears with kdm as well. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=266931 ------- Comment #9 from gjeilers@evergreenresearch.com 2007-06-03 10:46 MST ------- The problem is caused by loss of the environment variable DBUS_SESSION_BUS_ADDRESS between ending a desktop session and starting a new one. In the case of KDE at least, this can be fixed by saving the value in a per-session file immediately after the session dbus-daemon is created and restoring it when a new session is started. You can do that by adding the following lines near the beginning of /opt/kde3/bin/startkde: # Save the current dbus session bus address echo $DBUS_SESSION_BUS_ADDRESS >~/.dbus-session-bus-address You also need to add the following line before the part of /etc/X11/xinit/xinitrc.common that tests for and starts a session dbus-daemon: # Restore the dbus session bus address if any test -r ~/.dbus-session-bus-address && \ read DBUS_SESSION_BUS_ADDRESS <~/.dbus-session-bus-address export DBUS_SESSION_BUS_ADDRESS There is probably something similar that would work for gnome desktops. A much better solution would be to prevent the environment variable from getting cleared in the first place, but I have not been able to find the code that executes when a desktop session is closed. This bug is NOT specific to x86-64 hardware as reported. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=266931 thoenig@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |werner@novell.com ------- Comment #10 from thoenig@novell.com 2007-06-11 05:46 MST ------- Thanks a lot for investigating, George. Werner, can you please read through the last comments and share your opinion how we should proceed? Thanks! -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=266931 werner@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |werner@novell.com Status|NEEDINFO |NEW Info Provider|werner@novell.com | ------- Comment #11 from werner@novell.com 2007-06-11 08:17 MST ------- IMHO saving the DBUS_SESSION_BUS_ADDRESS variable is much better done shortly after the dbus sessin is started. Before this pointer the file should be readed from the file and if there is no session a new one should be started otherwise the old should be used be exporting the existing value. This is similar to what I doing for gpg-agent within /etc/X11/xdm/sys.xsession ... and please avoid using /opt/kde3/bin/startkde I'd like to see this feature also for GNOME and other desktops and even for normal window manaagers. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=266931#c12
Timo Hoenig
https://bugzilla.novell.com/show_bug.cgi?id=266931#c13
Timo Hoenig
https://bugzilla.novell.com/show_bug.cgi?id=266931#c14
Andreas Pfaller
https://bugzilla.novell.com/show_bug.cgi?id=266931#c15
Timo Hoenig
https://bugzilla.novell.com/show_bug.cgi?id=266931#c16
Andreas Pfaller
https://bugzilla.novell.com/show_bug.cgi?id=266931#c17
Timo Hoenig
https://bugzilla.novell.com/show_bug.cgi?id=266931#c18
Andreas Pfaller
https://bugzilla.novell.com/show_bug.cgi?id=266931#c19
Andreas Pfaller
participants (1)
-
bugzilla_noreply@novell.com