[ovs-dev] [debian 5/9] debian: Configure Debian packages to use /var/lib/openvswitch for conf.db.

Ansis Atteka aatteka at nicira.com
Tue Jul 31 16:32:02 UTC 2012


On Tue, Jul 31, 2012 at 9:21 AM, Ben Pfaff <blp at 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 <blp at 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 <blp at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openvswitch.org/pipermail/ovs-dev/attachments/20120731/3440e3a6/attachment-0003.html>


More information about the dev mailing list