Package: ifupdown
Version: 0.8.19
Followup-For: Bug #866400
Dear Maintainer,
same issue on transion from jessie to stretch ...
The bdidge interface that was allow-hotplug never raise, boot is slowed down
two minutes and
when up the box has no connectivity. Serial console to the rescue.
If the behaviour is on purpose (hotplug deprectated ?), could this get a note
in the release
and/or upgrade notes for stretch ?
Otherwise my local hack was to copy networking.service to /etc/systemd/system
and
replaces the ExecStartPre and ExecStart with:
ExecStartPre=-/bin/sh -c '[ "$CONFIGURE_INTERFACES" != "no" ] && ( [ -n
"$(ifquery --read-environment --list --exclude=lo)" ] || [ -n "$(ifquery
--read-environment --list --allow=hotplug)" ] ) && udevadm settle'
ExecStart=/bin/sh -c '/sbin/ifup -a --read-environment && /sbin/ifup -a
--allow=hotplug --read-environment'
Another venue could be to define a networking-hotplug.service and depends upon
it.
Willing to test any option to push for a fix in debian.
Best regards
Alban
-- Package-specific info:
--- /etc/network/interfaces:
# This file is managed remotely, all changes will be lost
# This file describes the network interfaces available on your system
# # and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
# Read interface configuration from other files
source /etc/network/interfaces.d/*
--- /etc/network/interfaces.d/*:
# This file is managed remotely, all changes will be lost
allow-hotplug eth0
iface eth0 inet manual
# This file is managed remotely, all changes will be lost
allow-boot br0
allow-hotplug br0
iface br0 inet dhcp
bridge_fd 0
bridge_maxwait 0
bridge_ports eth0
iface br0 inet6 auto
--- up and down scripts installed:
/etc/network/if-down.d:
total 8
-rwxr-xr-x 1 root root 256 Jan 27 2015 resolvconf
-rwxr-xr-x 1 root root 332 Jan 6 2013 upstart
/etc/network/if-post-down.d:
total 0
lrwxrwxrwx 1 root root 29 Feb 11 00:16 bridge -> /lib/bridge-utils/ifupdown.sh
/etc/network/if-pre-up.d:
total 4
lrwxrwxrwx 1 root root 29 Feb 11 00:16 bridge -> /lib/bridge-utils/ifupdown.sh
-rwxr-xr-x 1 root root 344 Sep 22 2014 ethtool
/etc/network/if-up.d:
total 32
-rwxr-xr-x 1 root root 817 Jan 27 2015 000resolvconf
-rwxr-xr-x 1 root root 1685 Sep 22 2014 ethtool
-rwxr-xr-x 1 root root 201 Mar 12 00:18 ferm-forward
-rwxr-xr-x 1 root root 4958 Apr 6 2015 mountnfs
-rwxr-xr-x 1 root root 168 Nov 11 2016 openntpd
-rwxr-xr-x 1 root root 972 Mar 30 12:18 openssh-server
-rwxr-xr-x 1 root root 1483 Jan 6 2013 upstart
-- System Information:
Debian Release: 9.0
APT prefers stable
APT policy: (500, 'stable')
Architecture: armhf (armv7l)
Kernel: Linux 4.9.0-3-armmp (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8),
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages ifupdown depends on:
ii adduser 3.115
ii init-system-helpers 1.48
ii iproute2 4.9.0-1
ii libc6 2.24-11+deb9u1
ii lsb-base 9.20161125
Versions of packages ifupdown recommends:
ii isc-dhcp-client [dhcp-client] 4.3.5-3
Versions of packages ifupdown suggests:
pn ppp <none>
ii rdnssd 1.0.3-3
-- no debconf information