Skip to contentSkip to conversation

Partially revert "volatile-binds: correct some errors reported by systemd"

PATCH New Andrea Galbusera 1 participant 1 message Apr 25, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Partially revert "volatile-binds: correct some errors reported by systemd"

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]

---
 meta/recipes-core/volatile-binds/volatile-binds.bb | 1 -
 1 file changed, 1 deletion(-)
meta/recipes-core/volatile-binds/volatile-binds.bb +0 -1
index a6e3254..943e6ba 100644
@@ -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}"
Signature · 1 line
2.7.4