[OE-core] volatile-binds and DNS

Kristian Amlie kristian.amlie at mender.io
Thu May 18 07:16:18 UTC 2017


We've discovered that one of the recent commits to poky has broken DNS
resolution in our image. The commit in questions is this one:

-------------------
commit fcd48092d7bcab0cad2606e65332da62420935ad
Author: Joe Slater <jslater at windriver.com>
Date:   Fri Mar 31 03:06:33 2017

    volatile-binds: correct some errors reported by systemd

    systemd-tmpfiles-setup will fail at boot, so we suppress
    the default versions of etc.conf and home.conf.

    We also make sure that /var/{cache,spool} and /srv are writeable
    if they exist.
...
-------------------

The problem is that this suppresses the creation of a /etc/resolv.conf
file, and without that DNS does not work.

The file is a symlink to the resolv.conf that systemd provides in
/run/systemd/resolve/resolv.conf, so it could potentially be
prepopulated, but I admit I don't fully understand how this fits together.

Any advice?

-- 
Kristian



More information about the Openembedded-core mailing list