Bug#773105: unblock: ifupdown/0.7.51
Package: release.debian.org
Severity: normal
User: release.debian.org@packages.debian.org
Usertags: unblock
Please unblock package ifupdown
The last upload has broken some things, so I need to unbreak them back.
This patch should enable the boot process to continue even when the link
isn't available as it used to be before 0.7.50 (see #771943).
unblock ifupdown/0.7.51
-- System Information:
Debian Release: wheezy/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 3.12-1-686-pae (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_GB.UTF-8)
Shell: /bin/sh linked to /bin/mksh
diff -Nru ifupdown-0.7.50/debian/changelog ifupdown-0.7.51/debian/changelog
--- ifupdown-0.7.50/debian/changelog 2014-11-29 14:32:55.000000000 +0100
+++ ifupdown-0.7.51/debian/changelog 2014-12-14 12:34:21.000000000 +0100
@@ -1,3 +1,11 @@
+ifupdown (0.7.51) unstable; urgency=medium
+
+ [ Michael Biebl ]
+ * Check the hotplug interface operstate to avoid blocking the
+ boot process (Closes: #771943).
+
+ -- Andrew Shadura <andrewsh@debian.org> Sun, 14 Dec 2014 12:34:19 +0100
+
ifupdown (0.7.50) unstable; urgency=medium
[ Andrew Shadura ]
diff -Nru ifupdown-0.7.50/debian/networking.init ifupdown-0.7.51/debian/networking.init
--- ifupdown-0.7.50/debian/networking.init 2014-11-29 14:08:42.000000000 +0100
+++ ifupdown-0.7.51/debian/networking.init 2014-12-14 12:30:34.000000000 +0100
@@ -105,7 +105,8 @@
do
link=${iface##:*}
link=${link##.*}
- if [ -e "/sys/class/net/$link" ]
+ ip link set "$iface" up || true
+ if [ -e "/sys/class/net/$link" ] && [ "$(cat /sys/class/net/$link/operstate)" = up ]
then
echo "$iface"
fi
Reply to: