Bug 79671 - 213's systemd-resolved does not honor domain in dhcp reply
Summary: 213's systemd-resolved does not honor domain in dhcp reply
Status: RESOLVED FIXED
Alias: None
Product: systemd
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: systemd-bugs
QA Contact: systemd-bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-06-05 07:58 UTC by Radek Podgorny
Modified: 2014-08-15 14:36 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
resolved: re-add support for getting local domain from DHCP (3.83 KB, patch)
2014-07-23 05:33 UTC, mike@marineau.org
Details | Splinter Review

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.