File: ctdb-use-run-instead-of-var-run.patch

package info (click to toggle)
samba 2%3A4.23.0%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 188,284 kB
  • sloc: ansic: 2,006,966; python: 272,596; sh: 72,233; xml: 51,608; perl: 36,088; makefile: 6,353; yacc: 5,320; exp: 1,582; lex: 1,504; cpp: 1,224; awk: 589; java: 119; csh: 58; pascal: 54; sed: 45; asm: 30
file content (26 lines) | stat: -rw-r--r-- 901 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
From: Michael Tokarev <mjt@tls.msk.ru>
Date: Fri, 2 Dec 2022 11:45:01 +0300
Subject: ctdb: use /run/ctdb instead of /var/run/ctdb
Forwarded: not-needed

Whole upstream path assignment needs a review.
---
 ctdb/wscript | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ctdb/wscript b/ctdb/wscript
index c082c3b7a7d..523984487a3 100644
--- a/ctdb/wscript
+++ b/ctdb/wscript
@@ -288,7 +288,7 @@ def configure(conf):
     conf.env.CTDB_DATADIR = os.path.join(conf.env.EXEC_PREFIX, 'share/ctdb')
     conf.env.CTDB_ETCDIR = os.path.join(conf.env.SYSCONFDIR, 'ctdb')
     conf.env.CTDB_VARDIR = os.path.join(conf.env.LOCALSTATEDIR, 'lib/ctdb')
-    conf.env.CTDB_RUNDIR = os.path.join(conf.env.LOCALSTATEDIR, 'run/ctdb')
+    conf.env.CTDB_RUNDIR = '/run/ctdb'
     conf.env.CTDB_HELPER_BINDIR = os.path.join(conf.env.LIBEXECDIR, 'ctdb')
 
     if Options.options.ctdb_logdir:
-- 
2.30.2