#944798 netcfg: date is not fetched from ntp server so preseed file could not be loaded from https

#944798#5
Date:
2019-11-15 14:33:29 UTC
From:
To:
Dear Maintainer,

I have a working setup to install debian using preseed files. The preseed file
is loaded from a https url. The infrastrucure supplies a working NTP server IP
address in a dhcp answer.

If the bios clock is somewhere in the past (before certificate valid-from
timestamp) then the preseed file coul not be loaded.

I could verify that the NTP server entry is supplied by checking the udhcpc
lease file. I observed the following behaviour:

* netcfg is run, ip address was successfully setup, NTP server was stored for
  later usage in clock-setup
* preseed file is fetched
* ... more installer modules are run
* clock-setup is run, time is fetched from NTP server

What should the correct behaviour look like (IMHO):

netcfg should setup the system time from NTP if a ntpserver option is supplied.
It should not save the time to bios yet, this should be done by clock-setup.

If I should aquire some logs, or provide any other information, please let me
know.

Thanks you,

Daniel