Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-11045

RPM should execute systemctl daemon-reload after update

    Details

    • Sprint:
      10.1.30

      Description

      The RPM for RHEL7 (and other distros that use systemd) should execute systemctl daemon-reload after updating the RPM, to prevent this error message:

      Warning: mariadb.service changed on disk. Run 'systemctl daemon-reload' to reload units.

      This should occur in the %post-install section, otherwise changes to the systemd unit will not get picked up until a manual intervention is made.

      Not sure if related, but after updating the RPM, systemd seems to lose control of the running daemon, but I'll log this as a separate issue.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                serg Sergei Golubchik
                Reporter:
                jgazeley Jonathan Gazeley
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: