On Fri, 2017-12-22 at 11:53 +0100, Didier Kryn wrote: > Le 22/12/2017 à 08:58, Didier Kryn a écrit : > > > > PS please find my patch in attachment. > > This was the wrong patch, against /lib/udev/ifupdown-hotplug, > falsely renamed. > > Now I attach the right one.
Hi, Attached is an updated patch, against latest version 0.8.19, for you to try out and submit to b...@debian.org if OK: However, read the bugs #814785, #834820 closely to find out if there is some other (non- systemd) case that has to be handled too. For me it was not clear when reading those bugs. HTH
--- a/debian/networking.init 2016-09-16 15:02:20.000000000 +0200 +++ b/debian/networking.init 2017-12-22 16:51:10.372000000 +0100 @@ -107,7 +107,16 @@ link=${link##.*} if [ -e "/sys/class/net/$link" ] then - echo "$iface" + if [ -d /run/systemd/system ]; then + echo "$iface" + else + # link detection does not work unless we up the link + ip link set "$iface" up || true + if [ "$(cat /sys/class/net/$link/operstate)" = up ] + then + echo "$iface" + fi + fi fi done) if [ -n "$ifaces" ]
_______________________________________________ Dng mailing list Dng@lists.dyne.org https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng