[Bug 905828] [NEW] init-bottom/23networking causes 2 minute delay
ManDay
905828 at bugs.launchpad.net
Sat Dec 17 23:23:32 UTC 2011
Public bug reported:
Caspers initrd script init-bottom/23networking has a piece which causes
a couple of, possibly non-existant interfaces to be added to
/etc/network/interfaces if NetworkManager is not installed, regardless
of whether they actually exist or not.
Writing non-existant interfaces to that file, on the other hand, delays
the boot through the failsafe.conf upstart job for about 2 minutes,
which lives unless shut down due to notice by the static-network-up
event.
if [ ! -x /root/usr/sbin/NetworkManager ]; then
for i in eth0 eth1 eth2 ath0 wlan0; do
grep -q "iface $i" $IFFILE && continue
cat >> "$IFFILE" <<EOF
auto $i
iface $i inet dhcp
EOF
done
fi
** Affects: casper (Ubuntu)
Importance: Undecided
Status: New
** Tags: delay network upstart
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to casper in Ubuntu.
https://bugs.launchpad.net/bugs/905828
Title:
init-bottom/23networking causes 2 minute delay
Status in “casper” package in Ubuntu:
New
Bug description:
Caspers initrd script init-bottom/23networking has a piece which
causes a couple of, possibly non-existant interfaces to be added to
/etc/network/interfaces if NetworkManager is not installed, regardless
of whether they actually exist or not.
Writing non-existant interfaces to that file, on the other hand,
delays the boot through the failsafe.conf upstart job for about 2
minutes, which lives unless shut down due to notice by the static-
network-up event.
if [ ! -x /root/usr/sbin/NetworkManager ]; then
for i in eth0 eth1 eth2 ath0 wlan0; do
grep -q "iface $i" $IFFILE && continue
cat >> "$IFFILE" <<EOF
auto $i
iface $i inet dhcp
EOF
done
fi
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/casper/+bug/905828/+subscriptions
More information about the foundations-bugs
mailing list