OpenVZ Forum


Home » General » Support » Latest Debian lenny (VE) breaks networking?
Latest Debian lenny (VE) breaks networking? [message #33235] Wed, 01 October 2008 13:54 Go to next message
gnutered is currently offline  gnutered
Messages: 12
Registered: April 2008
Junior Member
I'm running Debian lenny both on my HN and in a VE. When creating the VE, I use the debian-5.0-minimal template from the debian-systs repository. When I assign an IP and then ping, it works.

If I then go through the apt-get dist-upgrade process, networking no longer works. Pings no longer get responded to.

I've tried using the official lenny+openvz kernel, and also the debian-systs lenny kernel, and the result is the same.

I can't think of a good way to fix this other than updating all those packages one at a time and see what breaks it.

Any clues from anyone else?

I'm not running any iptables, BTW, and just using bog standard networking.
Re: Latest Debian lenny (VE) breaks networking? [message #33278 is a reply to message #33235] Fri, 03 October 2008 14:56 Go to previous messageGo to next message
gnutered is currently offline  gnutered
Messages: 12
Registered: April 2008
Junior Member
Fixed, my bad.

I didn't understand the use of the dist files, and when I created a new template, I called it lenny.tar.gz. This meant, because of filename matches, vzctl didn't know that this was a debian distro, and was defaulting to treating it like a redhat one.

So, it was trying to set the IP address with the wrong command, and failing.

Correct naming of template, as described at http://wiki.openvz.org/Configuring_container_creation
Re: Latest Debian lenny (VE) breaks networking? [message #33283 is a reply to message #33235] Fri, 03 October 2008 16:05 Go to previous messageGo to next message
kenjy is currently offline  kenjy
Messages: 50
Registered: July 2008
Location: Mexico
Member
I don't understand where is the problem because I have debian etch and lenny working under production right now, sorry my best help say to you that that environment works.

http://kenjy.net |Live net !!!
Re: Latest Debian lenny (VE) breaks networking? [message #33289 is a reply to message #33283] Sat, 04 October 2008 02:51 Go to previous message
gnutered is currently offline  gnutered
Messages: 12
Registered: April 2008
Junior Member
Thanks for the reply. As I said, I found the problem - nothing to do with lenny, and more to do with my lack of understanding of how distributions are "detected" within OpenVZ, which broke because I named my new template differently
Previous Topic: Weird error running vzdump --snapshot
Next Topic: Is it possible to use iptables inside VE?
Goto Forum:
  


Current Time: Sun Jul 27 05:04:25 GMT 2025

Total time taken to generate the page: 0.40888 seconds