[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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



Package: netcfg
Severity: normal

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


-- System Information:
Debian Release: 10.1
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.19.0-6-amd64 (SMP w/8 CPU cores)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/bash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled


Reply to: