[Bug 1878955] [NEW] resolved dhclient-enter-hook complains about an empty file
Craig Francis
1878955 at bugs.launchpad.net
Fri May 15 16:29:06 UTC 2020
Public bug reported:
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
** Affects: systemd (Ubuntu)
Importance: Undecided
Status: New
--
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/1878955
Title:
resolved dhclient-enter-hook complains about an empty file
Status in systemd package in Ubuntu:
New
Bug description:
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
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1878955/+subscriptions
More information about the foundations-bugs
mailing list