resolved: create private stub resolve file for /etc/resolv.conf integration (#7014)
authorDimitri John Ledkov <xnox@ubuntu.com>
Tue, 24 Oct 2017 13:28:41 +0000 (09:28 -0400)
committerLennart Poettering <lennart@poettering.net>
Tue, 24 Oct 2017 13:28:41 +0000 (15:28 +0200)
commite6b2d948f8f5aabf6cdede8bd39256fe83db205e
treec78ea99b51bcf828c4c112ca66c25185b4d44753
parentceeb433c39df13cceccc9cfd9aa53a0fba28af70
resolved: create private stub resolve file for /etc/resolv.conf integration (#7014)

This creates a second private resolve.conf file which lists the stub resolver
and the resolved acquired search domains.

This runtime file should be used as a symlink target for /etc/resolv.conf such
that non-nss based applications can resolve search domains.

Fixes: #7009
NEWS
man/systemd-resolved.service.xml
src/resolve/resolved-resolv-conf.c
src/resolve/resolved-resolv-conf.h
src/resolve/resolved.c
tmpfiles.d/etc.conf.m4