Uploaded image for project: 'CFEngine Community'
  1. CFEngine Community
  2. CFE-1850

Bootstrapping broken when using systemd on debian

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.6.6
    • Component/s: Bootstrap
    • Labels:
      None

      Description

      debian and ubuntu hosts using systemd has the path for systemctl binary in /bin whereas it's hardcoded to /usr/bin in failsafe.cf and update/update_processes.cf file.

      2015-03-13T21:46:31+0000 error: /default/cfe_internal_update/commands/'/usr/bin/systemctl restart cfengine3'[0]: Proposed executable file '/usr/bin/systemctl' doesn't exist
      2015-03-13T21:46:31+0000 error: /default/cfe_internal_update/commands/'/usr/bin/systemctl restart cfengine3'[0]: '/usr/bin/systemctl restart cfengine3' promises to be executable but isn't
      R: This autonomous node assumes the role of voluntary client
      R: Updated local policy from policy server
      R: Did not start the scheduler
      R: You are running a hard-coded failsafe. Please use the following command instead.
      "/var/cfengine/bin/cf-agent" -f /var/cfengine/inputs/update.cf
      2015-03-13T21:46:31+0000 error: Bootstrapping failed, cf-execd is not running

        Attachments

          Activity

            People

            • Assignee:
              a10040 Kristian Amlie
              Reporter:
              ageorgop Alex Georgopoulos
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Summary Panel