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

EL7 rpm does not restart service on upgrade

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.12.0b1
    • Component/s: Packaging
    • Labels:
      None

      Description

      From e.g. https://groups.google.com/d/msg/help-cfengine/9RvHA000ID8/vRKYcl3T1FwJ there is now an el7 RPM, presumably (I did not find this clearly stated anywhere) to deal with systemd in RHEL7/etc.

      When upgrading using the normal RPM, on RHEL6 or earlier also for RHEL7, the postinstall script clearly runs e.g. /sbin/service cfengine3 restart.

      Now when upgrading to the .el7 RPM no such service restart is done, i.e. after the upgrade the cf-execd, cf-serverd, cf-monitor processes have not been restarted so the system is still running the old, pre-upgrade, version.

      Not sure if this is intentional (again, couldn't find any docs, bugs, discussions on it) but it does appear broken.

      To reproduce:
      <pre>
      1. Start with a RHEL7 system running 3.6.4 (rpm: cfengine-community-3.6.4-1.x86_64.rpm)
      2. rpm -Uvh cfengine-community-3.6.5-1.el7.x86_64.rpm
      3. Run e.g. 'ps auxw | grep cf-' and note the 3.6.4 processes still running
      </pre>

        Attachments

          Activity

            People

            • Assignee:
              vpodzime Vratislav Podzimek
              Reporter:
              hakan Håkan Olsson
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Summary Panel