[I misplaced the original mail, so I'm replying to a forward.
Apologies if threading is broken.]
> What do we propose to do?
> -
>
> We want to bring pystemd[1] into the systemd organization, and merge
> (functionality wise) with python-systemd[2], so that there is a single
> Python library,
Ok, that makes a lot of sense, I was confusing timedated and
timesyncd, and indeed the latter is what would be able to broadcast
the event, even if it does not yet.
I wasn't aware of /run/systemd/timesync/synchronized, looks fine to
me, will investigate that.
Thanks!
Le mer. 17 août 2022 à 15:17
On Wed, Aug 17, 2022 at 1:59 PM Etienne Doms wrote:
> Hi,
>
> I'm developing an application for an embedded system that needs to
> wait for proper NTP synchronization. systemd-timesyncd is running and
> I can read NTPSynchronized from /org/freedesktop/timedate1 using
> D-Bus. I read in the manual
Oh, should have added a bit more context, indeed.
The piece of software is bringing a specific interface up, checking
that something is connected (link going up or not), then issues a DHCP
request onto it to fetch an IP and NTP servers, and then waits for
proper NTP synchronization to keep on. If
>>> Etienne Doms schrieb am 17.08.2022 um 12:58 in
Nachricht
:
> Hi,
>
> I'm developing an application for an embedded system that needs to
> wait for proper NTP synchronization. systemd-timesyncd is running and
What's wrong with time-sync.target? Or maybe even time-set.target?
> I can read NTP
Hi,
I'm developing an application for an embedded system that needs to
wait for proper NTP synchronization. systemd-timesyncd is running and
I can read NTPSynchronized from /org/freedesktop/timedate1 using
D-Bus. I read in the manual that this property is not signaled, and
that I need to do some w
you want to check specifically whether stderr is tied to the journal, for which
you can use JOURNAL_STREAM
You are right, nice catch!
(In addition to disabling the timestamps you should *at least* add message
priority indicators as well, either by using SyslogLevelPrefix=, or by avoiding