[Bug 625677] Re: Upgrade to 0.6.8ubuntu29.1 causes networking not to start upon reboot

Stéphane Graber stgraber at stgraber.org
Thu Jan 12 15:02:05 UTC 2012


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 at 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
Foundations Bugs, which is subscribed to ifupdown in Ubuntu.
https://bugs.launchpad.net/bugs/625677

Title:
  Upgrade to 0.6.8ubuntu29.1 causes networking not to start upon reboot

Status in “ifupdown” package in Ubuntu:
  Invalid

Bug description:
  Binary package hint: ifupdown

  Running Ubuntu as an OpneVZ container
  Ubuntu 10.04.1 LTS
  ifupdown: 0.6.8ubuntu29.1

  Having upgraded from ifupdown 0.6.8ubuntu29 to  0.6.8ubuntu29.1
  networking fails to start upon reboot. I can still start networking
  manually.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ifupdown/+bug/625677/+subscriptions




More information about the foundations-bugs mailing list