By default, master-failover will call "herd start ganeti-wconfd" with extra arguments such as --force-node. That does not work with the Shepherd, so the Guix service has a "force-start" action for this purpose. diff --git a/lib/bootstrap.py b/lib/bootstrap.py --- a/lib/bootstrap.py +++ b/lib/bootstrap.py @@ -1011,9 +1011,7 @@ def MasterFailover(no_voting=False): try: # Forcefully start WConfd so that we can access the configuration - result = utils.RunCmd([pathutils.DAEMON_UTIL, - "start", constants.WCONFD, "--force-node", - "--no-voting", "--yes-do-it"]) + result = utils.RunCmd(["herd", "force-start", constants.WCONFD]) if result.failed: raise errors.OpPrereqError("Could not start the configuration daemon," " command %s had exitcode %s and error %s" % tr> Wojtek's customized Guix
aboutsummaryrefslogtreecommitdiff
path: root/gnu/tests/samba.scm
AgeCommit message (Expand)Author
2022-09-24services: Add wsdd service....* doc/guix.texi: Add documentation for wsdd service. * gnu/services/samba.scm (<wsdd-configuration>): New record. (wsdd-service-type): New variable. (wsdd-shepherd-services): New procedure. * gnu/tests/samba.scm (%wsdd-os): Add variable. (run-wsdd-test): New procedure. (%test-wsdd): New variable. Signed-off-by: Lars-Dominik Braun <lars@6xq.net> Simon Streit
2022-09-24services: Add samba service....* gnu/services/samba.scm: New file. * gnu/tests/samba.scm: New file. * gnu/local.mk (GNU_SYSTEM_MODULES): Add them. * po/guix/POTFILES.in Add 'gnu/services/samba.scm'. * doc/guix.texi: Document it. Signed-off-by: Lars-Dominik Braun <lars@6xq.net> Simon Streit