Re: [systemd-devel] libsystemd: Should each thread open its own dbus connection (sd_bus*)?

2018-11-16 Thread Lennart Poettering
On Fr, 16.11.18 08:02, Fabian Knapp ([email protected]) wrote: > I have an executable that opens a dbus connection with > sd_bus_open_system at init time and cleanup and close this > connection only on exit. > > This connection is used in multiple threads (in a thread safe > manner) and im wonderi

Re: [systemd-devel] Environment-variable security?

2018-11-16 Thread Jonathan de Boyne Pollard
Kenneth Porter: OTOH, most of us learned from reading the writings of others in the industry. So perhaps the wisdom of this thread should get captured in a blog post by a security expert so it can be shared around on multiple mailing lists and forums. One can learn from the example of Daniel

Re: [systemd-devel] Debugging active timers that do not trigger

2018-11-16 Thread Daniel Drake
On Thu, Nov 15, 2018 at 7:04 PM Michal Koutný wrote: > @Daniel, is it possible there are some daemon-reloads running > concurrently with the timer? More precisely, can it happen the timer > expires exactly when systemd reloads? I don't think so. The journal only show a single "systemd[1]: Reloadi

[systemd-devel] libsystemd: Should each thread open its own dbus connection (sd_bus*)?

2018-11-16 Thread Fabian Knapp
I have an executable that opens a dbus connection with sd_bus_open_system at init time and cleanup and close this connection only on exit. This connection is used in multiple threads (in a thread safe manner) and im wondering if this is suitable since sd_bus_add_match seems to time out if the