On Tue, Jul 31, 2012 at 9:21 AM, Ben Pfaff <b...@nicira.com> wrote:
> On Tue, Jul 31, 2012 at 09:16:32AM -0700, Ansis Atteka wrote: > > On Mon, Jul 30, 2012 at 3:18 PM, Ben Pfaff <b...@nicira.com> wrote: > > > > > Working through symlinks is undesirable when one can avoid it. > > > > > > The Debian packaging still sets up the symlinks for compatibility with > > > existing software that expects the database to be in /etc/openvswitch. > > > > > > Signed-off-by: Ben Pfaff <b...@nicira.com> > > > --- > > > debian/rules | 4 ++-- > > > 1 files changed, 2 insertions(+), 2 deletions(-) > > > > > > diff --git a/debian/rules b/debian/rules > > > index 51a2e51..88a9a28 100755 > > > --- a/debian/rules > > > +++ b/debian/rules > > > @@ -38,8 +38,8 @@ configure-stamp: > > > cd _debian && ( \ > > > test -e Makefile || \ > > > ../configure --prefix=/usr --localstatedir=/var > > > --enable-ssl \ > > > - --sysconfdir=/etc CFLAGS="$(CFLAGS)" \ > > > - $(DATAPATH_CONFIGURE_OPTS)) > > > + --sysconfdir=/etc > > > --with-dbdir=/var/lib/openvswitch \ > > > + CFLAGS="$(CFLAGS)" $(DATAPATH_CONFIGURE_OPTS)) > > > > > Do we still need to create those symlinks in /etc/openvswitch after > > you configure OVS binaries to use /var/lib/openvswitch directly? Who > > is going to use them? > > I'm worried that there is software (mostly scripts) outside the OVS tree > itself that expects to find the database in /etc. One example, for > example, is xen-bugtool, although it's not a great example since so far > we're only changing the database location for Debian systems. > Thanks for the explanation. Looks good.
_______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev