Suppressing default version of etc.conf for systemd-tmpfiles-setup prevents at least the name resolver from working as expected when using systemd-resolved. The missing /etc/resolv.conf symlink breaks application relying on this for name resolution (tested with ping from busybox).
This patch brings default etc.conf from systemd recipe back, solving the broken name resolution issue. [YOCTO #11331] Signed-off-by: Andrea Galbusera <giz...@gmail.com> --- meta/recipes-core/volatile-binds/volatile-binds.bb | 1 - 1 file changed, 1 deletion(-) diff --git a/meta/recipes-core/volatile-binds/volatile-binds.bb b/meta/recipes-core/volatile-binds/volatile-binds.bb index a6e3254..943e6ba 100644 --- a/meta/recipes-core/volatile-binds/volatile-binds.bb +++ b/meta/recipes-core/volatile-binds/volatile-binds.bb @@ -74,7 +74,6 @@ do_install () { # Suppress attempts to process some tmpfiles that are not temporary. # install -d ${D}${sysconfdir}/tmpfiles.d ${D}/var/cache - ln -s /dev/null ${D}${sysconfdir}/tmpfiles.d/etc.conf ln -s /dev/null ${D}${sysconfdir}/tmpfiles.d/home.conf } do_install[dirs] = "${WORKDIR}" -- 2.7.4 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core