From b6c7e01aeebd79246318d88d28c43a174ef8f107 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Fri, 13 Feb 2015 19:07:56 +0100 Subject: [PATCH] Revert "ifupdown: create a tmpfiles.d file to create /run/network" networking.service - LSB: Raise network interfaces. Loaded: loaded (/etc/init.d/networking) Active: failed (Result: exit-code) since Fri 2015-02-13 17:59:17 UTC; 43s ago Process: 54 ExecStart=/etc/init.d/networking start (code=exited, status=1/FAILURE) Feb 13 18:04:47 sysmocom-idu networking[54]: ifup: failed to open lockfile /run /network/.ifstate.lock: No such file or directory The creation of /run/network occurs way too late. So we need to look for another solution. This reverts commit 86dda7481f8f614a801a1c22799c101a8a37ab09. --- recipes-extra/ifupdown/ifupdown_0.7.52.bb | 5 ----- 1 file changed, 5 deletions(-) diff --git a/recipes-extra/ifupdown/ifupdown_0.7.52.bb b/recipes-extra/ifupdown/ifupdown_0.7.52.bb index 0b9048a..046d444 100644 --- a/recipes-extra/ifupdown/ifupdown_0.7.52.bb +++ b/recipes-extra/ifupdown/ifupdown_0.7.52.bb @@ -26,11 +26,6 @@ do_install() { ln -s ${base_sbindir}/ifup.${BPN} ${D}${base_sbindir}/ifdown.${BPN} ln -s ${base_sbindir}/ifup.${BPN} ${D}${base_sbindir}/ifquery install -D -m 0755 settle-dad.sh ${D}/lib/ifupdown/settle-dad.sh - if ${@base_contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then - install -d ${D}${sysconfdir}/tmpfiles.d - echo "d ${localstatedir}/run/network - - - -" \ - > ${D}${sysconfdir}/tmpfiles.d/02-ifupdown.conf - fi } inherit update-alternatives