method timeouts vs systemd activation and slow systems
Thiago Macieira
thiago at kde.org
Fri Mar 3 03:01:54 UTC 2023
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?
--
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
Software Architect - Intel DCAI Cloud Engineering
More information about the dbus
mailing list