Create /etc/openvswitch dir when package is installed.
authorSajjad Lateef <slateef@nicira.com>
Fri, 15 Oct 2010 20:41:46 +0000 (13:41 -0700)
committerSajjad Lateef <slateef@nicira.com>
Fri, 15 Oct 2010 20:41:46 +0000 (13:41 -0700)
commit5f906046c22bd9a55bd1185b2c03d27894b7a425
treef18e50cd8c1b0b76381ac105858a173addbf5b40
parent309eaa2bc4f9367cb1ca6ec91b583a7a6cabf079
Create /etc/openvswitch dir when package is installed.

Earlier, the /etc/openvswitch directory would get installed as part of
the init script's start sequence. However, as newer packages are added,
including some that create files in this directory during their init
script sequences, a race condition may occur.

This change ensures that the directory /etc/openvswitch is created even
before the init scripts execute. Thus, the race condition is avoided.
debian/openvswitch-switch.dirs
debian/openvswitch-switch.init