Public bug reported:
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.
** Affects: ubuntu
Importance: Medium
Assignee: Rafael David Tinoco (rafaeldtinoco)
Status: In Progress
** Affects: Ubuntu Eoan
Importance: Medium
Assignee: Rafael David Tinoco (rafaeldtinoco)
Status: In Progress
** Changed in: ubuntu
Assignee: (unassigned) => Rafael David Tinoco (rafaeldtinoco)
** Changed in: ubuntu
Importance: Undecided => Medium
** Changed in: ubuntu
Status: New => In Progress
** Also affects: Ubuntu Eoan
Importance: Medium
Assignee: Rafael David Tinoco (rafaeldtinoco)
Status: In Progress
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1832050
Title:
chrony autopkgtest "time-sources-from-dhcp-servers" fails (produces
stderr)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+bug/1832050/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs