Ubuntu 10.04 never quite worked in OpenVZ container and isn't a
supported configuration.
Here's what I'm using on mine to workaround any of these issue:
stgraber@shell01:~$ cat /etc/init/openvz.conf
# OpenVZ - Fix init sequence to have OpenVZ working with upstart
description "Fix OpenVZ"
start on startup
task
pre-start script
mount -t devpts devpts /dev/pts || true
mount -t tmpfs varrun /var/run || true
mount -t tmpfs varlock /var/lock || true
mkdir -p /var/run/network
cat /proc/mounts > /etc/mtab
touch /var/run/utmp
chmod 664 /var/run/utmp
chown root:utmp /var/run/utmp
if [ "$(find /etc/network/ -name upstart -type f)" ]; then
chmod -x /etc/network/*/upstart || true
fi
end script
script
start networking
initctl emit filesystem --no-wait
initctl emit local-filesystems --no-wait
initctl emit virtual-filesystems --no-wait
initctl emit net-device-up --no-wait || true
initctl emit net-device-up IFACE=lo --no-wait || true
initctl emit net-device-up IFACE=eth0 --no-wait || true
init 2
end script
Marking the bug as Invalid, Ubuntu 10.04 isn't supported in OpenVZ
containers, we're now doing our best to get LXC containers working
properly, including these networking events.
Hope the above helps.
** Changed in: ifupdown (Ubuntu)
Status: New => Invalid
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/625677
Title:
Upgrade to 0.6.8ubuntu29.1 causes networking not to start upon reboot
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ifupdown/+bug/625677/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs