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

checksum and overwrite the backup failsafe if it's been modified

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Rejected
    • Priority: Medium
    • Resolution: Won't Do
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Bootstrap
    • Labels:
      None

      Description

      On compilation:

      • save a checksum of the @libpromises/bootstrap.c@ failsafe
      • look into generating @libpromises/bootstrap.c@ from @masterfiles/bootstrap/failsafe.cf@ instead of writing that policy inline in the C file

      On cf-agent runs:

      • checksum the existing failsafe
      • if the checksum is different, move the existing failsafe to a timestamped backup name and overwrite the failsafe with the built-in failsafe. BE NOISY.

        Attachments

          Activity

            People

            • Assignee:
              a10003 Eystein Maloy Stenberg
              Reporter:
              jiraadmin Old User (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Summary Panel