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

When not run as root, cf-agent bootstraps an incomplete installation into WORKDIR

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Medium
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Bootstrap
    • Labels:
      None

      Description

      When running cf-agent as a regular user, an empty directory structure is created in ~/.cfagent. Since the binaries are missing, cf-agent bails out immediately due to failing cf-promises in bin. cf-agent should

      • make a symbolic link from WORKDIR/bin to /var/cfengine/bin (or rather, WORKDIR/bin when run as root, which might not be /var/cfengine)
      • run cf-key to generate a keypair for the node under the user's control
        • WARNING: this will result in multiple entries for the same IP address in the hub's lastseen database

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                a10038 jimis (Dimitrios Apostolou)
                Reporter:
                a10025 Volker Hilsheimer (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Summary Panel