[systemd-devel] Default on failure dependencies

2018-09-15 Thread Baudouin Feildel
Hello there, Few weeks ago I opened the following issue in systemd repository: https://github.com/systemd/systemd/issues/9373. Seeing no traction from existing systemd developer, I decided to give it a try and started working on the feature I wanted in the following fork:

Re: [systemd-devel] systemd-timesync and journalctl questions

2018-09-15 Thread Mantas Mikulėnas
Well, systemd itself uses Linux timerfd to receive "clock changed" events. See time_change_fd() in src/basic/time-util.c, and the large comment in clock_state_update() in src/time-wait-sync/time-wait-sync.c in systemd's source tree. On Sat, Sep 15, 2018 at 4:15 PM D.S. Ljungmark wrote: > That

Re: [systemd-devel] systemd-timesync and journalctl questions

2018-09-15 Thread Mantas Mikulėnas
On Sat, Sep 15, 2018 at 3:02 PM D.S. Ljungmark wrote: > I’ve got a follow up here. We want code to run both before and after time > is synchronized the first time. But we -also- need to know how big the > first time jump is. > It’s lokel to be in the matter of weeks or months in our application,

Re: [systemd-devel] systemd-timesync and journalctl questions

2018-09-15 Thread D.S. Ljungmark
On Mon, 10 Sep 2018 at 21:13, Lennart Poettering wrote: > On Fr, 24.08.18 14:52, David Weinehall (david.weineh...@linux.intel.com) > wrote: > > > We're having two time/date related issues/questions: > > > > First of all we'd need some counterpart to ntpdate. > > > > We have a system that lacks