From freedesktop-dbus Fri Aug 29 15:58:00 2008 From: Holger Berndt Date: Fri, 29 Aug 2008 15:58:00 +0000 To: freedesktop-dbus Subject: Re: D-Bus service files dynamics Message-Id: <20080829175800.3fcce6c0 () mrm-37> X-MARC-Message: https://marc.info/?l=freedesktop-dbus&m=122002548500627 Hi Colin, On Fri, 29 Aug 2008 09:06:26 -0400 "Colin Walters" 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