Package: ifupdown
Version: 0.7.8
Severity: normal
Dear Maintainer,
After a powerloss the wheezy Linux container was restarted automatically.
Unfortunately the IP for the network interface was not brought up automatically.
Doing a network restart (/etc/init.d/networking restart) solved the problem.
This behaviour does not occur with squeeze.
Therefore I compared the two init scripts.
Have a look at the start section:
...
if ifup -a $exclusions $verbose && ifup_hotplug $exclusions $verbose
...
"ifup -a" does not bring up the interface as long as /run/network/ifstate is
available. If an unclean network shutdown is done, the file is kept.
"ifup -a --force" would do the trick.
I've a very simple networking config:
auto eth0
iface eth0 inet static
address 10.1.102.170
netmask 255.255.255.0
gateway 10.1.102.1
Thank you,
Christoph
-- System Information:
Debian Release: 7.2
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: i386 (i686)
Kernel: Linux 3.2.0-57-generic (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages ifupdown depends on:
ii dpkg 1.16.12
ii initscripts 2.88dsf-41+deb7u1
ii iproute 20120521-3+b3
ii libc6 2.13-38
ii lsb-base 4.1+Debian8+deb7u1
ifupdown recommends no packages.
Versions of packages ifupdown suggests:
ii isc-dhcp-client [dhcp-client] 4.2.2.dfsg.1-5+deb70u6
ii net-tools 1.60-24.2
pn ppp <none>
pn rdnssd <none>
-- debconf information:
ifupdown/convert-interfaces: true
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]