OpenVZ Forum


Home » General » Support » Possible flaw in /usr/sbin/vznetaddbr script
Re: Possible flaw in /usr/sbin/vznetaddbr script [message #36430 is a reply to message #36425] Thu, 18 June 2009 11:02 Go to previous messageGo to previous message
maratrus is currently offline  maratrus
Messages: 1495
Registered: August 2007
Location: Moscow
Senior Member
Yes, thank you very much.

I sent a letter to openvz users list and to a person who seems to be an author of this script.
http://git.openvz.org/?p=vzctl;a=commit;h=41fb6973bc205c00e2 5ba73431110ac8e821d6c9
If your're not an openvz list's subscriber, here is the full text of the letter:
"
Starfry observed a strange behavior of vznetaddbr script.
http://forum.openvz.org/index.php?t=msg&th=7627&star t=0&

So the question arose: how is this script intended to use?
# cat /etc/vz/vznet.conf
#!/bin/bash
EXTERNAL_SCRIPT="/usr/sbin/vznetaddbr"
# vzctl set 101 --netif_add eth0
Configure veth devices: veth101.0
Running: /usr/sbin/vznetcfg init veth veth101.0
According to /etc/vz/conf/101.conf, CT101 has no veth interface configured.
/usr/sbin/vznetcfg exited with error
WARNING: Settings were not saved and will be resetted to original values on next start (use --save flag)

Doesn't it have to be corrected so that the ability to add veth interface inside VE remains intact?

"
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: move or create vps to secondary hardisk?
Next Topic: CSF firewall giving problem in openvz VPS
Goto Forum:
  


Current Time: Sun Aug 18 17:25:26 GMT 2024

Total time taken to generate the page: 0.02928 seconds