After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 356573 - deamon sometimes hangs around for a long time
deamon sometimes hangs around for a long time
Status: RESOLVED FIXED
Product: GConf
Classification: Deprecated
Component: gconf
unspecified
Other Linux
: Normal normal
: ---
Assigned To: GConf Maintainers
GConf Maintainers
Depends on:
Blocks:
 
 
Reported: 2006-09-18 16:33 UTC by Matthias Clasen
Modified: 2008-07-21 21:41 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
patch (756 bytes, patch)
2006-09-18 16:35 UTC, Matthias Clasen
none Details | Review

Description Matthias Clasen 2006-09-18 16:33:29 UTC
This seems to happen because there is a 20 minute (!) timeout before gconfd
closes a database, and it only exists when all databases except for the default one are closed.

I'll attach a patch to make it exit when no database has listeners anymore
Comment 1 Matthias Clasen 2006-09-18 16:35:29 UTC
Created attachment 72989 [details] [review]
patch
Comment 2 Havoc Pennington 2006-09-19 21:46:07 UTC
The idea of the timeout is to prevent churn when running scripts, e.g. say you run a script that does a bunch of gconftool --set

So it might be better to just make the timeout a lot shorter, like 1 minute.
Comment 3 Matthias Clasen 2006-09-20 12:12:48 UTC
Hmm, maybe.

As long as your scripts run inside a desktop session it probably doesn't make a difference, since there are always gconf users around, like nautilus and the panel.
Comment 4 Ray Strode [halfline] 2007-03-02 19:50:16 UTC
and the types of commands you would typically run outside of a session (like say --makefile-install-rule) change the database directly instead of invoking a timeout.

Comment 5 Ray Strode [halfline] 2007-03-02 19:54:48 UTC
s/timeout/gconfd process/

Matthias, why doesn't the patch remove the 20 minute elapsed check as well?
Comment 6 Matthias Clasen 2008-07-21 21:41:22 UTC
This is fixed with Rays dbus work now.