[Bug 1832050] Re: chrony autopkgtest "time-sources-from-dhcp-servers" fails (produces stderr)
Balint Reczey
1832050 at bugs.launchpad.net
Mon Aug 3 16:46:05 UTC 2020
*** This bug is a duplicate of bug 1805183 ***
https://bugs.launchpad.net/bugs/1805183
** This bug has been marked a duplicate of bug 1805183
systemd-resolved constantly restarts on Bionic upgraded from Xenial
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/1832050
Title:
chrony autopkgtest "time-sources-from-dhcp-servers" fails (produces
stderr)
Status in systemd package in Ubuntu:
Confirmed
Status in systemd source package in Eoan:
Confirmed
Bug description:
iproute2 fix in -proposed
(https://launchpad.net/ubuntu/+source/iproute2/4.18.0-1ubuntu3) has
showed regressions in chrony autopkgtest (object of this bug report).
From autopkgtest output:
"""
Generating /etc/default/isc-dhcp-server...
Created symlink /etc/systemd/system/multi-user.target.wants/isc-dhcp-server.service → /lib/systemd/system/isc-dhcp-server.service.
Created symlink /etc/systemd/system/multi-user.target.wants/isc-dhcp-server6.service → /lib/systemd/system/isc-dhcp-server6.service.
Setting up autopkgtest-satdep (0) ...
Processing triggers for systemd (240-6ubuntu9) ...
Processing triggers for man-db (2.8.5-2) ...
Processing triggers for libc-bin (2.29-0ubuntu2) ...
(Reading database ... 62774 files and directories currently installed.)
Removing autopkgtest-satdep (0) ...
autopkgtest [20:50:33]: test time-sources-from-dhcp-servers: [-----------------------
Preparing the dummy network interface and dhcpd configuration…
md5sum: /run/systemd/resolved.conf.d/isc-dhcp-v4-dummy0.conf: No such file or directory
md5sum: /run/systemd/resolved.conf.d/isc-dhcp-v6-dummy0.conf: No such file or directory
md5sum: /run/systemd/resolved.conf.d/isc-dhcp-v4-dummy0.conf: No such file or directory
md5sum: /run/systemd/resolved.conf.d/isc-dhcp-v6-dummy0.conf: No such file or directory
Done!
Check if the NTP server is made available to chronyd…
SUCCESS!
Release the current lease and check if the NTP server has been correctly removed…
SUCCESS!
"""
It is likely that the stdout from md5sum coming out of the dhclient
command caused the "regression".
I have reproduced the issue by hand doing:
$ apt-get install isc-dhcp-server
$ modprobe dummy
$ ip link add name dummy0 type dummy
$ ip address add 192.168.1.1/24 dev dummy0
$ ip link set dev dummy0 up
cat <<EOF > /etc/dhcp/dhcpd.conf
default-lease-time 600;
max-lease-time 7200;
authorative;
subnet 192.168.1.0 netmask 255.255.255.0 {
option subnet-mask 255.255.255.0;
option broadcast-address 192.168.1.255;
option ntp-servers 192.168.1.50;
range 192.168.1.42 192.168.1.100;
}
EOF
$ sed -i 's/INTERFACESv4=""/INTERFACESv4="dummy0"/' /etc/default/isc-
dhcp-server
and
$ systemctl restart isc-dhcp-server
$ dhclient dummy0 <- problem happens here
It could be a "isc-dhcp-client"problem, but I'll keep this bug linked
to another bug if that is the case.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1832050/+subscriptions
More information about the foundations-bugs
mailing list