Comment 0 for bug 1878955

Craig Francis (craig.francis) wrote :

When starting/using `dhclient`, it will often return an error such as:

    cmp: EOF on /tmp/tmp.yCyV6zBzhB which is empty

This is due to the use of `cmp` in "/etc/dhcp/dhclient-enter-hooks.d/resolved"

Because the $oldstate file can be empty, or different, it should use `cmp --quiet`

This happens when "/run/systemd/resolved.conf.d/isc-dhcp-v*-$interface.conf" files do not exist, or when the content changes.

This is very loosely related to https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1805183