[ovs-dev] [PATCH] xenserver: Avoid errors from ovs-vsctl at system shutdown.
Ian Campbell
Ian.Campbell at citrix.com
Mon Jun 28 09:42:32 UTC 2010
On Mon, 2010-06-28 at 10:34 +0100, Ian Campbell wrote:
> Oh, it seems "chkconfig --add <X>" and "chkconfig <X> on" are _both_
> necessary to correctly setup both start and stop links for a service
> -- who knew ;-)
I think I fat-fingered my test. "chkconfig --add" and "chkconfig on" are
indeed different but "chkconfig --add" does the right thing for a
service which doesn't already exist and creates K and S links as
described in the header of the script.
When manually switching between bridge and vswitch I'd been using only
"chkconfig on" which doesn't create the K links and left me with the odd
setup. XenServer installer and the openvswitch-xen.spec file both do the
right thing and use --add.
Ian.
More information about the dev
mailing list