Bug 79671

Summary: 213's systemd-resolved does not honor domain in dhcp reply
Product: systemd Reporter: Radek Podgorny <radek>
Component: generalAssignee: systemd-bugs
Status: RESOLVED FIXED QA Contact: systemd-bugs
Severity: normal    
Priority: medium CC: mike
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: resolved: re-add support for getting local domain from DHCP

Description Radek Podgorny 2014-06-05 07:58:56 UTC
it looks like some of the functionality has been moved from systemd-networkd to systemd-resolved. unfortunately, is seems like something got lost along the way.

namely the domain part of the dhcp reply does not get written to /run/systemd/network/resolv.conf.

the nameserver part works fine.

also, a quick peek at the resolved-manager.c source indicates no support for domain.

please revert the changes or finish the transition completely. the current state results in broken systems.

thank you.
Comment 1 mike@marineau.org 2014-07-23 05:31:42 UTC
Patch posted: http://lists.freedesktop.org/archives/systemd-devel/2014-July/021480.html

That patch will only apply to master, I will attach a different version that applies to v215 just in case anyone is interested.
Comment 2 mike@marineau.org 2014-07-23 05:33:15 UTC
Created attachment 103315 [details] [review]
resolved: re-add support for getting local domain from DHCP
Comment 3 Tom Gundersen 2014-08-15 14:36:56 UTC
In the end we did something slightly different from Mike's patch, but this sholud work now. Please holler if not.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.