[oe] [meta-systemd][PATCH v2 2/2] meta-systemd: ntp: Fix starting of ntpdate.service

Burton, Ross ross.burton at intel.com
Fri Oct 26 15:07:14 UTC 2012


On 26 October 2012 15:35, Enrico Scholz <enrico.scholz at sigma-chemnitz.de> wrote:
> Martin Ertsaas <martiert at gmail.com> writes:
>
>>  Type=oneshot
>> -ExecStart=/usr/bin/ntpd -q -g -x
>> +ExecStart=/usr/bin/ntpdate pool.ntp.org
>
> This should be made configurable. E.g.
>
>   Environment=NTPHOSTS=pool.ntp.org
>   EnvironmentFile=-/etc/sysconfig/ntp.conf
>   ExecStart=/usr/bin/ntpdate $NTPHOSTS

>From http://www.pool.ntp.org/en/vendors.html:

"To allow you to use the pool as the default time service in your
application, we will set you up with special hostnames, for example
0.vendor.pool.ntp.org, 1.vendor.pool.ntp.org, 2.vendor.pool.ntp.org
and 3.vendor.pool.ntp.org.
You must absolutely not use the default pool.ntp.org zone names as the
default configuration in your application or appliance."

Someone -- probably someone on the TSC I suspect as a representative
of the YP -- should register a vendor pool so we can default to
0.yocto.pool.ntp.org or something similar.

Ross




More information about the Openembedded-devel mailing list