diff options
author | Alasdair Kergon <agk@redhat.com> | 2010-07-28 13:55:42 +0000 |
---|---|---|
committer | Alasdair Kergon <agk@redhat.com> | 2010-07-28 13:55:42 +0000 |
commit | 8bae0a1ecf3fce3817a96f368f38200e115e25c6 (patch) | |
tree | 7f4355e56f6e7d6ceb103e0f21fe235ec1ca1e78 /configure.in | |
parent | 64f95b40ca93a053f088114624e32d83570c720f (diff) | |
download | lvm2-8bae0a1ecf3fce3817a96f368f38200e115e25c6.tar.gz lvm2-8bae0a1ecf3fce3817a96f368f38200e115e25c6.tar.xz lvm2-8bae0a1ecf3fce3817a96f368f38200e115e25c6.zip |
Change clvmd to communicate with lvm via a socket in /var/run/lvm. (mbroz)
https://bugzilla.redhat.com/show_bug.cgi?id=614248 [CVE-2010-2526]
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/configure.in b/configure.in index 2b1987b2..bd561363 100644 --- a/configure.in +++ b/configure.in @@ -1127,6 +1127,13 @@ if test "$BUILD_DMEVENTD" = yes; then [Path to dmeventd binary.]) fi +AH_TEMPLATE(DEFAULT_RUN_DIR, [Name of default run directory.]) +AC_ARG_WITH(default-run-dir, + [ --with-default-run-dir=DIR Default run directory [[/var/run/lvm]] ], + [ DEFAULT_RUN_DIR="$withval" ], + [ DEFAULT_RUN_DIR="/var/run/lvm" ]) +AC_DEFINE_UNQUOTED(DEFAULT_RUN_DIR,["$DEFAULT_RUN_DIR"] ) + ################################################################################ dnl -- various defaults AC_ARG_WITH(default-system-dir, |