[systemd-devel] [PATCH] build: --disable-networkd --enable-timesyncd should throw error

Kay Sievers kay at vrfy.org
Thu May 15 16:26:20 PDT 2014


On Fri, May 16, 2014 at 1:20 AM, Lennart Poettering
<lennart at poettering.net> wrote:
> On Thu, 15.05.14 19:02, Cristian Rodríguez (crrodriguez at opensuse.org) wrote:
>
>>
>> El 15/05/14 18:34, Lennart Poettering escribió:
>> > On Thu, 15.05.14 18:23, Cristian Rodríguez
>> > (crrodriguez at opensuse.org) wrote:
>> >
>> >> timesyncd requires networkd running.
>> >
>> > It doesn't really.... Should work either way...
>> >
>>
>> I tried that a few hours ago..
>>
>> r = manager_network_monitor_listen(m);
>>
>>         if (r < 0) {
>>                 log_error("Failed to listen to networkd events: %s",
>> strerror(-r));
>>                 goto out;
>>         }
>>
>> then it exits with failure.
>
> What's the precise error?
>
> Seems to work fine on my laptop that still has NetworkManager...

But networkd runs on your machine and exports state.

We need to make timesyncd gracefully accepting that no networkd
around, or we should just make it depend on it.

Kay


More information about the systemd-devel mailing list