Bug#791391: NFS mounts and other things fail if DHCP hasn't finished

Daniel Pocock daniel at pocock.pro
Sat Jul 4 20:36:53 BST 2015


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256



On 04/07/15 21:10, Michael Biebl wrote:
> Hi,
> 
> Am 04.07.2015 um 18:08 schrieb Daniel Pocock:
>> On 04/07/15 14:29, Michael Biebl wrote:
> 
>>> (*) As a side note: you might want to consider enabling 
>>> systemd-timesyncd.service (and removing ntpdate). timesyncd is
>>> a very lightweight NTP client.
>> 
>> 
>> Would this mean removing both the ntp and ntpdate packages?  They
>> are all configured to talk to an NTP server on 192.168.1.2
> 
> systemd-timesyncd is only a (S)NTP client, it doesn't provider the 
> server part. If you use NTP as a (local) NTP server,
> systemd-timesyncd can not replace. If you use NTP as a client only,
> you can uninstall both ntpdate and ntp and simply run
> 
> systemctl enable systemd-timesyncd.service systemctl start
> systemd-timesyncd.service
> 
> The default NTP servers are configured in 
> /etc/systemd/timesyncd.conf. If you want to use your own, you can
> change the NTP= setting. See also man timesynd.conf.
> 
> systemd-timesyncd works so well, that we decided to enable it by
> default for stretch.
> 

I wonder if you could use DNS SRV records to automate the
configuration too?  e.g. trying to use the result of

DNS_DOMAIN=`domainname -d`
dig -t SRV _ntp._udp.${DNS_DOMAIN}

as the NTP server with no manual configuration.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCAAGBQJVmDXVAAoJEOm1uwJp1aqDkncP/3q13tCAX6Vg67izxjSOtECW
nouPdBSXO25I+HB/u53IyU55jyyiRXjXdxTy/VQJSVIGZVJ2iJwl6pMC17apK0oR
aYtMnEFYi+2RZ8bVYcgiahH442nlCrbU+PbCXPLMDe5QHxQAbVkqQ5bnUKrt6+Lp
RUgyEcD+8YNluFyIWDZXQDYhpw1uj5fhTk4VBd6WzJfbsAi/r/6In7ol/AWf+ZM/
0vzH43f1GKeWGlwdvdmPHPGKvs2/ipLbq18LsuSPAUq2J9sxDKT9ZxFshtHEC+34
vxhF67RpcFc4EWEMNChC5XWubmcp37BU2mEU9Hj1sfKUYEOP8vRKjEA/3X9PpaI8
rwq9REQY5pxZEiMLnkRWTiwDVutQWqy9NMdv0baXS7wdg8N9vm/BBJXW7T/SrHi5
WEZbSiykvJeMqH+5dUhKRA+kYqxe1t8YH1mfuC4tV50OQQk/E3zDeZ/cxX/c/vfR
1inbCrIwOE1MVWjhIUlhH1swPGb6pI7IxnXugFGRWu9AX5Re5n3PSaVSLptE7hqd
4bnhFR29wJOzuxafuwfIbhWA701Y7L3GG3ksdMiAcFqTbKaUbgkXSMBf+kSpIH+d
f9t9oD0NTrak7ubVh0iV+j33akIzNter3vjYET41pUeijKwppm8cX+DmbIdj94jo
DC15IL3b8J6DIM7IVJpN
=XrLm
-----END PGP SIGNATURE-----




More information about the Pkg-systemd-maintainers mailing list