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]:
Reloading." message and that happened as part of our initramfs
scripts, before the real-root systemd was run.

Daniel
___
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/systemd-devel


[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 
sd_bus* object is created from another thread than the call to sd_bus_add_match 
happens.

___
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/systemd-devel