Follow-up on identical problem, almost one year later...on another
server that was upgraded to 6.06 LTS.  This issue may have been fixed, I
don't know -- still slogging through it on various older servers.

FYI: PEPCO power and Comcast Internet here in the Washington DC metro
area (both monopolies) are extremely unreliable.  We just came back up
after being down for over two days, between the dangerous service
provided by these two clowns.


In case the original page (noted above) goes away (like its "comments"
recently have), here's the basic text from it:

Ubuntu 9.04 in an OpenVZ VE

Networking ceases to function after upgrading Ubuntu 8.10 to 9.04 within
an OpenVZ VE. The symptoms are that none of the network interfaces are
created, and running ifup complains with ifup: failed to open statefile
/var/run/network/ifstate: No such file or directory. Manually creating
the directory /var/run/network fixes this problem temporarily, allowing
ifup to work.

The root cause of this is a change in the ifupdown package. In previous
versions, /etc/init.d/loopback created the /var/run/network directory.
In the new version, this action has been reassigned to
/lib/udev/rules.d/85-ifupdown.rules. Because udev is disabled within
OpenVZ VEs, /lib/udev/rules.d/85-ifupdown.rules was never run, and the
/var/run/network directory never created.

We’ve fixed this by modifying /etc/init.d/networking and adding this
line (to create the dir if it doesn't exist)

[ -d /var/run/network ] || mkdir /var/run/network

immediately after the "start)" line.

— Federico Sevilla III, 29 April 2009, 17:40

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/377432

Title:
  ifdown: failed to open statefile /var/run/network/ifstate:

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to