[Bug 2025695] Re: systemd-resolved: manually dhclient ethx,dns nameserver in the /etc/resolve.conf will be written duplicate
Nick Rosbrook
2025695 at bugs.launchpad.net
Wed Jul 5 13:01:02 UTC 2023
dhclient is not part of the systemd package, so I will re-assign this
bug.
** Package changed: systemd (Ubuntu) => isc-dhcp (Ubuntu)
** Summary changed:
- systemd-resolved: manually dhclient ethx,dns nameserver in the /etc/resolve.conf will be written duplicate
+ manually dhclient ethx,dns nameserver in the /etc/resolve.conf will be written duplicate
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to isc-dhcp in Ubuntu.
https://bugs.launchpad.net/bugs/2025695
Title:
manually dhclient ethx,dns nameserver in the /etc/resolve.conf will be
written duplicate
Status in isc-dhcp package in Ubuntu:
New
Bug description:
systemd version the issue has been seen with
249
Used distribution
ubuntu22
Linux kernel version used
5.15.0-72-generic
CPU architectures issue was seen on
None
Component
systemd-resolved
Unexpected behaviour you saw
https://github.com/systemd/systemd/issues/28055
not this problem when I was on ubuntu20. The version of systemd is 245
this problem when I was on ubuntu22. The systemd version is 249
I compared the codes and suspected that v248 commit cbf23f3
caused by
I saw this issuse about netplan on ubuntu
https://superuser.com/questions/1721017/remove-redundant-dns-servers-in-ubuntu-22-04
But it doesn't work for dhclient (why I use dhclient, because I found
it out of curiosity)
Steps to reproduce the problem
1: Start a virtual machine on the cloud
2: Insert multiple network cards (auxiliary network card)
3: Manually use dhclient to start ethx (except eth0) dhclient -v -d eth1
4: View /etc/resolve.conf
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/isc-dhcp/+bug/2025695/+subscriptions
More information about the foundations-bugs
mailing list