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

RPM should execute systemctl daemon-reload after update

Details

    • 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

            jgazeley Jonathan Gazeley created issue -
            elenst Elena Stepanova made changes -
            Field Original Value New Value
            Fix Version/s 10.1 [ 16100 ]
            Assignee Sergey Vojtovich [ svoj ]
            serg Sergei Golubchik made changes -
            Sprint 10.1.30 [ 215 ]
            danblack Daniel Black made changes -
            danblack Daniel Black made changes -
            Labels packaging foundation init packaging patch systemd
            danblack Daniel Black made changes -
            svoj Sergey Vojtovich made changes -
            Labels foundation init packaging patch systemd contribution foundation init packaging patch systemd
            svoj Sergey Vojtovich made changes -
            Assignee Sergey Vojtovich [ svoj ] Vicentiu Ciorbaru [ cvicentiu ]
            svoj Sergey Vojtovich made changes -
            Priority Major [ 3 ] Critical [ 2 ]
            serg Sergei Golubchik made changes -
            Assignee Vicentiu Ciorbaru [ cvicentiu ] Sergei Golubchik [ serg ]
            serg Sergei Golubchik made changes -
            Fix Version/s 10.2 [ 14601 ]
            Fix Version/s 10.1 [ 16100 ]
            serg Sergei Golubchik made changes -
            Labels contribution foundation init packaging patch systemd contribution foundation init need_feedback packaging patch systemd
            serg Sergei Golubchik made changes -
            Component/s Platform RedHat [ 11302 ]
            serg Sergei Golubchik made changes -
            Fix Version/s N/A [ 14700 ]
            Fix Version/s 10.2 [ 14601 ]
            Resolution Incomplete [ 4 ]
            Status Open [ 1 ] Closed [ 6 ]
            serg Sergei Golubchik made changes -
            Workflow MariaDB v3 [ 77814 ] MariaDB v4 [ 151063 ]

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.