Re: method timeouts vs systemd activation and slow systems
Thiago Macieira <[email protected]> Thu, 02 Mar 2023 19:01:54 -0800
| Newsgroups | gmane.comp.freedesktop.dbus |
|---|---|
| Message-ID | <21226828.hcdKbhU8Es@tjmaciei-mobl5> |
On Thursday, 2 March 2023 13:21:25 PST Lawrence D'Oliveiro wrote: > On Thu, 02 Mar 2023 10:15:23 -0500, Colin Walters wrote: > > - Fix client libraries to query the daemon for the timeout (or parse > > the configs on their own? not sure) > > An environment variable would seem to be the natural way to specify > this. Would be far easier to parse, indeed. Querying the daemon after start would be second best, because it would avoid having to parse a config file. However, environments do sometimes get cleared, so a child process somewhere down the tree could lose it. Obviously that can't happen for a session daemon, because they'd have lost the bus address too, but Colin is talking about servers, so sessions may not be anywhere in sight. A query to the daemon would apply to all processes that, well, talk to the daemon :) Is there a security concern here for environment variables?