[yocto] Problem with DNS resolution using resolvconf (poky/daisy)

Alex J Lennon ajlennon at dynamicdevices.co.uk
Thu Jun 26 02:23:45 PDT 2014


Hi,

I'm looking at resolvconf as I want to be able to pick up dns-nameserver
changes in /etc/network/interfaces, and I'm reading that this is the way
to do it.

Having added the resolvconf package the eth0 interface is now not
correctly picking up DNS servers and putting them in /etc/resolv.conf

The behaviour is due to /etc/udhcpc.d/S50default which in the absence of
resolvconf just creates /etc/resolv.conf (which works) or if the
resolvconf binary is present it attempts to use it (which doesn't).


resolvconf looks to be using /etc/resolvconf/update.d/libc to create
/etc/resolv.conf but is crapping out as /lib/resolvconf/list-records
doesn't exist.

Is this a bug or could anybody help me to understand if there's some
other step I should be taking here?

Many thanks,

Alex



More information about the yocto mailing list