FS#59459 - [systemd] can not set DNS servers using resolvconf

Attached to Project: Arch Linux
Opened by nl6720 (nl6720) - Thursday, 26 July 2018, 15:15 GMT
Last edited by Dave Reisner (falconindy) - Saturday, 05 January 2019, 14:07 GMT
Task Type Bug Report
Category Upstream Bugs
Status Closed
Assigned To Dave Reisner (falconindy)
Christian Hesse (eworm)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 5
Private No


When systemd-resolved and systemd-resolvconf are used together with e.g. dhcpcd, the DNS servers and search domains set using resolvconf are not added to systemd-resolved.

Backporting https://github.com/systemd/systemd/commit/5a01b3f35d7b6182c78b6973db8d99bdabd4f9c3 seems to fix this.

Please backport commit 5a01b3f35d7b6182c78b6973db8d99bdabd4f9c3 .

Additional info:
* package version(s)
* config and/or log files etc.
systemd 239.0-2
systemd-resolvconf 239.0-2
dhcpcd 7.0.5b-1

Steps to reproduce:
enable and start dhcpcd.service
run `resolvectl status`
This task depends upon

Closed by  Dave Reisner (falconindy)
Saturday, 05 January 2019, 14:07 GMT
Reason for closing:  Fixed
Additional comments about closing:  testing/systemd-240.0-1
Comment by Francois (francoism90) - Friday, 27 July 2018, 13:38 GMT
Should this not be reported upstream?
Comment by hi117 (hi117) - Friday, 27 July 2018, 13:39 GMT
This has already been patched upstream, we just need to build the package with the commit included.
Comment by hi117 (hi117) - Friday, 27 July 2018, 13:45 GMT
See this pull request for more infornmation https://github.com/systemd/systemd/pull/9425
Comment by Nick (kousu) - Tuesday, 31 July 2018, 22:05 GMT
+1 to importing this. This bug breaks /usr/share/openvpn/contrib/pull-resolv-conf/client.up.