| |||||||||||||||||||||||||||||||
|
From: Keean Schupke <keean> Date: 23 Jan 2008 16:13 Subject: Postfix in OpenVZ. To: Postfix users <postfix-users> Have recently migrated some servers from linux VServers to OpenVZ. Postfix fails to start when run inside OpenVZ if the inet_interfaces config is set to "all". It appears to be because OpenVZ uses bridging interfaces (venet0 etc), which do not get listed by the SIOCGIFCONF ioctl. Instead you must use SIOCGIFVLAN. So should postfix be calling SIOCGIFVLAN as well as SIOCGIFCONF when listing all interfaces, or should OpenVZ do some "fudging" in the kernel to make the bridged interfaces behave exactly like real interfaces? In other words is this a postfix bug, or an OpenVZ bug? Or is the "right thing" to list the interface (venet0) in the config file explicitly? Listing explicitly is bad for migrating applications between physical hosts, and virtualised environments - there should not need to be any config changes. (I am still testing the SMTP SASL auth-fail-map patch, with proxymap write, will submit it as soon as I have time). Regards, Keean Schupke, Fry-IT Ltd.
| ||||||||||||||||||||||||||||||
© 2004-2008 readlist.com