Re: No Local Loopback with OpenVz and Ubuntu [message #27649 is a reply to message #25142] |
Thu, 21 February 2008 17:00  |
geraldb
Messages: 3 Registered: February 2008
|
Junior Member |
|
|
A further tweak to the above:
Some init scripts (postfix in particular, in my case) expect the network interfaces to be available when they run, and rc.local is running too late (priority 99) in the init order.
So I've moved the contents of the rc.local script posted earlier into a new /etc/init.d/networking-restart script, and set its priority to S15/K85, so that it runs before most other init scripts. (It could probably go earlier; I just chose 15 because it was before ssh and postfix.) The following installs the new init script into the init start/stop queues:
update-rc.d networking-restart start 15 2 3 4 5 . stop 85 0 1 6 .
Again, this doesn't solve the issue, only provides a work-around, each step a little better than the previous. I don't know how to incorporate this into the official Ubuntu image, but I would be pleased to see it. And, of course, suggestions for further improvements are welcomed.
|
|
|