[Bug 1878955] Re: resolved dhclient-enter-hook complains about an empty file
Chris Halse Rogers
1878955 at bugs.launchpad.net
Mon Jan 11 22:04:25 UTC 2021
Hello Craig, or anyone else affected,
Accepted systemd into focal-proposed. The package will build now and be
available at
https://launchpad.net/ubuntu/+source/systemd/245.4-4ubuntu3.4 in a few
hours, and then in the -proposed repository.
Please help us by testing this new package. See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed. Your feedback will aid us getting this
update out to other Ubuntu users.
If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, what testing has been
performed on the package and change the tag from verification-needed-
focal to verification-done-focal. If it does not fix the bug for you,
please add a comment stating that, and change the tag to verification-
failed-focal. In either case, without details of your testing we will
not be able to proceed.
Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in
advance for helping!
N.B. The updated package will be released to -updates after the bug(s)
fixed by this package have been verified and the package has been in
-proposed for a minimum of 7 days.
** Changed in: systemd (Ubuntu Focal)
Status: In Progress => Fix Committed
** Tags added: verification-needed verification-needed-focal
--
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:
Fix Released
Status in systemd source package in Bionic:
In Progress
Status in systemd source package in Focal:
Fix Committed
Bug description:
[impact]
When starting/using `dhclient`, it will often return an error such as:
cmp: EOF on /tmp/tmp.yCyV6zBzhB which is empty
[test case]
run dhclient for the first time (for the current boot) on a
bionic/focal system, or remove the file(s) in
/run/systemd/resolved.conf.d/ starting with 'isc-dhcp-*', and then run
dhclient.
[regression potential]
any regression would likely cause the DNS configuration that dhclient
gets to not be properly reported to systemd-resolved, resulting in
problematic/broken systemd DNS resolution.
[scope]
this is needed in b/f
this hook was removed from systemd starting in g, and the hook was not
yet added in x, so this change is needed only in b and f.
[original 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