|
Message-ID: <20120604090405.GB268@gremlin.ru>
Date: Mon, 4 Jun 2012 13:04:05 +0400
From: gremlin@...mlin.ru
To: owl-users@...ts.openwall.com
Subject: Owl OpenVZ template - strange network configuration
I normally use my own package for init scripts, so... my apologies for
late discovery.
root@...ost01:~ # vzctl create 1000 --ostemplate owl-current-20120508-x86_64 --ipadd 172.31.255.0 --hostname ovz-test.lan
Creating container private area (owl-current-20120508-x86_64)
Performing postcreate actions
Container private area was created
root@...ost01:~ # vzctl start 1000
Starting container ...
Container is mounted
Adding IP address(es): 172.31.255.0
Setting CPU units: 1000
Configure meminfo: 65536
Set hostname: ovz-test.lan
Container start in progress...
root@...ost01:~ # vzctl enter 1000
entered into CT 1000
root@...-test:/ # ip address
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 brd 127.255.255.255 scope host lo
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: gre0: <NOARP> mtu 1476 qdisc noop state DOWN
link/gre 0.0.0.0 brd 0.0.0.0
3: ip6tnl0: <NOARP> mtu 1460 qdisc noop state DOWN
link/tunnel6 :: brd ::
4: venet0: <BROADCAST,POINTOPOINT,NOARP,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN
link/void
inet 127.0.0.1/24 scope host venet0
^^^^^^^^^^^^^^^^^
inet 172.31.255.0/32 scope global venet0:0
^^
For me it seems to be an ugly bug... And even worse, it looks like
our init scripts still use /* several kilobytes of curses skipped */
`ifconfig` instead of `ip` for configuring network devices.
--
Alexey V. Vissarionov aka Gremlin from Kremlin
<gremlin ПРИ gremlin ТЧК ru>
GPG key ID: 0xEF3B1FA8, keyserver: hkp://subkeys.pgp.net
GPG key fingerprint: 8832 FE9F A791 F796 8AC9 6E4E 909D AC45 EF3B 1FA8
Content of type "application/pgp-signature" skipped
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.