Created attachment 15269 [details] ctdb-config-depend-on-etc-default-nodes-file.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.
Seems like a sane idea. :-) ConditionFileNotEmpty looks to have been around since 2013, so there don't look to be any backward compatibility issues. CC:ing Andreas: Do you have any comments? Just wondering, since you know systemd better than me. :-) Thanks...
*** Bug 14026 has been marked as a duplicate of this bug. ***
The bug has been assigned and it's being worked on. There is no need to open multiple bugs for the same defect.
Created attachment 15295 [details] Patch for 4.9 and 4.10 No CI passed here because this is packaging, which is not tested in autobuild
Hi Karolin, This is ready for v4-9 and v4-10. Thanks.
(In reply to Amitay Isaacs from comment #5) Pushed to autobuild-v4-{10,9}-test.
(In reply to Karolin Seeger from comment #6) Pushed to both branches. Closing out bug report. Thanks!