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

Upgrading CFEngine on AIX does not restart the daemons

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.7.1
    • Labels:
      None
    • Platform:
      AIX
    • Found in version (details):
      3.7.1-build6

      Description

      This is related to, but different from, #7528.

      It happens because AIX runs the scripts in a different order than we expect. We expect:

      1. preinstall script
      2. Remove and replace old package files with new ones
      3. postinstall script

      However, AIX runs:

      1. pre_rm script
      2. Remove old package files
      3. preinstall script
      4. Install new package files
      5. postinstall script

      Which means by the time we get to the preinstall script, the init script used for killing is no longer there. We need to rearrange the order, so that our internal platform-shared preinstall script, in fact gets called at the pre_rm stage, and not at the preinstall stage, for consistency with the other platforms that all do it this way.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Summary Panel