[Devel] Re: openvz initscript for gentoo

Benedikt Böhm hollow at gentoo.org
Sun Dec 3 00:40:23 PST 2006


On Wednesday 22 November 2006 00:10, Kir Kolyshkin wrote:
> I had problems using OpenVZ on my Gentoo notebook. Each time I (or
> ifplugd) stop or restart networking, OpenVZ stops. I think it is not
> what we want.
>
> The problem is initscript contains "need net". In fact OpenVZ should
> work fine without networking.
>
> While looking at the bug, I found another one -- OpenVZ modules should
> be loaded after iptables, not before! Perhaps this bug was invisible
> since iptables start before networking, and 'need net' statement was
> preferred to 'before iptables' statement.
>
> The below patch is a solution to both problems. Note that iptables is
> not mentioned since iptables initscript itself has 'before net' so the
> proper order is maintained.
>
> Please review.

looks ok to me, please commit




More information about the Devel mailing list