The Samba-Bugzilla – Attachment 5102 Details for
Bug 6225
[CTDB] Various enhancements to ctdb.init
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Allow distribution specific PERSISTENT_DB_DIR
0001-Allow-distribution-specific-PERSISTENT_DB_DIR.patch (text/plain), 855 bytes, created by
Mathieu Parent
on 2009-12-18 05:01:24 UTC
(
hide
)
Description:
Allow distribution specific PERSISTENT_DB_DIR
Filename:
MIME Type:
Creator:
Mathieu Parent
Created:
2009-12-18 05:01:24 UTC
Size:
855 bytes
patch
obsolete
>From e33169b5f4c0686ecd7383f16b4a16793f376d59 Mon Sep 17 00:00:00 2001 >From: sathieu <math.parent@gmail.com> >Date: Fri, 18 Dec 2009 12:00:02 +0100 >Subject: [PATCH] Allow distribution specific PERSISTENT_DB_DIR > >--- > config/ctdb.init | 5 ++++- > 1 files changed, 4 insertions(+), 1 deletions(-) > >diff --git a/config/ctdb.init b/config/ctdb.init >index 2e25cf1..20ccc3e 100755 >--- a/config/ctdb.init >+++ b/config/ctdb.init >@@ -131,7 +131,10 @@ check_tdb () { > } > > check_persistent_databases () { >- PERSISTENT_DB_DIR="${CTDB_DBDIR:-/var/ctdb}/persistent" >+ case $init_style in >+ debian) PERSISTENT_DB_DIR="${CTDB_DBDIR:-/var/lib/ctdb}/persistent" ;; >+ *) PERSISTENT_DB_DIR="${CTDB_DBDIR:-/var/ctdb}/persistent" ;; >+ esac > mkdir -p $PERSISTENT_DB_DIR 2>/dev/null > local ERRCOUNT=$CTDB_MAX_PERSISTENT_CHECK_ERRORS > >-- >1.6.5 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 6225
:
4015
|
4016
|
4017
|
4018
|
4019
|
4020
|
4021
|
4022
|
4023
|
4024
|
4025
|
4026
|
4027
|
4028
|
4029
|
4030
|
4441
| 5102