Fixed gentoo initscript dependencies.
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.
Signed-off-by: Kir Kolyshkin <kir@openvz.org>
Acked-by: Christian Heim <phreak@gentoo.org>
1 file changed