The Samba-Bugzilla – Attachment 15287 Details for
Bug 14026
ctdb-config: depend on /etc/default/nodes file
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[PATCH] ctdb-config: depend on /etc/default/nodes file
0001-ctdb-config-depend-on-etc-default-nodes-file.patch (text/plain), 1.15 KB, created by
Rafael David Tinoco
on 2019-07-04 17:57:25 UTC
(
hide
)
Description:
[PATCH] ctdb-config: depend on /etc/default/nodes file
Filename:
MIME Type:
Creator:
Rafael David Tinoco
Created:
2019-07-04 17:57:25 UTC
Size:
1.15 KB
patch
obsolete
>From 4c3490a673f158f610118b8b57f0d314bdedb4ca Mon Sep 17 00:00:00 2001 >From: Rafael David Tinoco <rafaeldtinoco@ubuntu.com> >Date: Thu, 4 Jul 2019 17:48:14 +0000 >Subject: [PATCH] ctdb-config: depend on /etc/default/nodes file > >CTDB should start as a disabled unit (systemd) in most of the >distributions and, when trying to enable it for the first time, user >should get an unconfigured, or similar, error. > >Depending on /etc/ctdb/nodes file will give a clear direction to final >user on what is needed in order to get cluster up and running. It should >work like previous ENABLED=NO variables in SySV like initialization >scripts. > >BUG: https://bugzilla.samba.org/show_bug.cgi?id=14026 > >Signed-off-by: Rafael David Tinoco <rafaeldtinoco@ubuntu.com> >--- > ctdb/config/ctdb.service | 1 + > 1 file changed, 1 insertion(+) > >diff --git a/ctdb/config/ctdb.service b/ctdb/config/ctdb.service >index 675b3147417..fd81c38e26d 100644 >--- a/ctdb/config/ctdb.service >+++ b/ctdb/config/ctdb.service >@@ -2,6 +2,7 @@ > Description=CTDB > Documentation=man:ctdbd(1) man:ctdb(7) > After=network-online.target time-sync.target >+ConditionFileNotEmpty=/etc/ctdb/nodes > > [Service] > Type=forking >-- >2.20.1 >
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 14026
: 15287