[yocto] Missing /etc/resolv.conf
Jan Remmet
J.Remmet at phytec.de
Mon Oct 16 07:06:11 PDT 2017
On Sat, Oct 07, 2017 at 12:30:10AM -0700, Paul D. DeRocco wrote:
> (Yocto Pyro, using systemd configured with resolved, networkd, timedated,
> timesyncd)
>
> /etc/resolv.conf is supposed to be symlinked to
> /run/systemd/resolve/resolv.conf, which gets updated with the DNS address
> received from DHCP, but it's not. Looking through systemd_232.bb, I see
> that do_install() uses sed to edit /usr/lib/tmpfiles.d/etc.conf to set up
> this link. When I run the system, I see that etc.conf does indeed have
I'm missing it too. systemd RDEPENDS on volatile-binds which creates
ln -s /dev/null ${D}${sysconfdir}/tmpfiles.d/etc.conf
so /usr/lib/tmpfiles.d/etc.conf is ignored. I'm not sure where the link
should be created.
Jan
> this edited line, but there is no /etc/resolv.conf.
> systemd-tmpfiles-setup.service runs successfully. Isn't that what's
> supposed to execute all the junk in /usr/lib/tmpfiles.d? All the
> abovementioned servers are running.
>
> Am I missing something?
>
> --
>
> Ciao, Paul D. DeRocco
> Paul mailto:pderocco at ix.netcom.com
>
> --
> _______________________________________________
> yocto mailing list
> yocto at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
More information about the yocto
mailing list