[ovs-git] Open vSwitch: dirs: dbdir default must be based on sysconfdir. (master)

dev at openvswitch.org dev at openvswitch.org
Fri Aug 3 18:33:09 UTC 2012

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Open vSwitch".

The branch, master has been updated
       via  c3bf549800cecfa0c5fbd669139f441b7dd5d237 (commit)
      from  dc5a7ce79de0d746a4f4af1a127249f90b797002 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit c3bf549800cecfa0c5fbd669139f441b7dd5d237
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=c3bf549800cecfa0c5fbd669139f441b7dd5d237
Author: Ben Pfaff <blp at nicira.com>
dirs: dbdir default must be based on sysconfdir.
Some in-tree and out-of-tree code sets the OVS_SYSCONFDIR environment
variable to control where /etc files go (mostly for test purposes).  When
the database directory (dbdir) was split off from the sysconfdir, the
configure-time default continued to be based on the sysconfdir, but
overriding the sysconfdir at runtime with OVS_SYSCONFDIR didn't have any
effect on the dbdir, which caused a visible change in behavior for code
that set the OVS_SYSCONFDIR environment variable.  This commit reverts that
change in behavior, by basing the dbdir on OVS_SYSCONFDIR if that
environment variable is set (but the OVS_DBDIR environment variable is

Signed-off-by: Ben Pfaff <blp at nicira.com>


Summary of changes:
 lib/dirs.c.in               |   15 +++++++++++++--
 python/automake.mk          |   29 +++++++++++++++++++++++------
 python/ovs/dirs.py          |   20 ++++++++++++--------
 python/ovs/dirs.py.template |   17 +++++++++++++++++
 utilities/ovs-lib.in        |   11 +++++++++--
 5 files changed, 74 insertions(+), 18 deletions(-)
 create mode 100644 python/ovs/dirs.py.template

Open vSwitch

More information about the git mailing list