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

Group changed on state files on Solaris

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.16.0, 3.12.6, 3.15.3
    • Component/s: cf-agent
    • Labels:
      None

      Description

      Permission or ownership changes in normal agent run!
      + grep -Pi "info: (Group of|Owner of|.*had permission)" .4193.normal.log
      12.202.69.3:23422	    info: Group of "/var/cfengine/state/./cf_rootprocs" was 0, setting to 3
      12.202.69.3:23422	    info: Group of "/var/cfengine/state/./cf_otherprocs" was 0, setting to 3
      12.202.69.3:23422	    info: Group of "/var/cfengine/state/./promise_execution.log" was 0, setting to 3
      12.202.69.3:23422	    info: Group of "/var/cfengine/state/./cf_lock.lmdb.backup" was 0, setting to 3
      12.202.69.3:23422	    info: Group of "/var/cfengine/state/./cf_procs" was 0, setting to 3
      12.202.69.4:58486	    info: Group of "/var/cfengine/state/./cf_rootprocs" was 0, setting to 3
      12.202.69.4:58486	    info: Group of "/var/cfengine/state/./cf_otherprocs" was 0, setting to 3
      12.202.69.4:58486	    info: Group of "/var/cfengine/state/./promise_execution.log" was 0, setting to 3
      12.202.69.4:58486	    info: Group of "/var/cfengine/state/./cf_lock.lmdb.backup" was 0, setting to 3
      12.202.69.4:58486	    info: Group of "/var/cfengine/state/./cf_procs" was 0, setting to 3
      

      (from https://ci.cfengine.com/job/bootstrap-tests/1209/testReport/(root)/new_tests_bootstrap_tests_/correct_permissions_after_bootstrap_test/)

      system_owned() in MPF sets group of such files to sys on Solaris systems so the agent should do the same.

      This breaks deployment tests.

        Attachments

          Activity

            People

            • Assignee:
              craig.comstock Craig Comstock
              Reporter:
              vpodzime Vratislav Podzimek
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Summary Panel