[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freedesktop-dbus
Subject:    Re: D-Bus service files dynamics
From:       Holger Berndt <berndth () gmx ! de>
Date:       2008-08-29 15:58:00
Message-ID: 20080829175800.3fcce6c0 () mrm-37
[Download RAW message or body]

Hi Colin,

On Fri, 29 Aug 2008 09:06:26 -0400
"Colin Walters" <walters@verbum.org> wrote:

> Hi, as far as I can tell from a brief look at the code we don't try to
> monitor on the service directories, so right now you should "kill
> -HUP" the daemon.  This is probably a bug, or at least something that
> vendors will need to deal with in package %post scripts and the
> equivalent.

I think this should probably be included in the D-Bus daemon itself,
instead of passing it on to the distributions.

When parsing the .service files, the directory (and/or file) mtime
could be stored, and before using the cached values, those mtimes could
be compared to the current ones. That way, reparsing would only be done
as needed, so there would be basically no performance penalty, and the
service configuration would be a lot more transparent.

I am just unsure if that solution would also apply to windows.

If nobody objects, I'll file a bug report / enhancement request.

Holger
_______________________________________________
dbus mailing list
dbus@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dbus
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic