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

Debian package on Wheezy expects "deb-systemd-helper" to be present

Details

    Description

      On a Debian Wheezy, the post install script for the package "mariadb-server-10.0" tries to call "deb-systemd-helper" which is part of the package "init-system-helpers" which isnt mandatory.

      On my wheezy systems, i got this error when doing an upgrade of the packages :

      Stopping MariaDB database server: mysqld.
      /var/lib/dpkg/info/mariadb-server-10.0.postinst: line 270: deb-systemd-helper: command not found
      Starting MariaDB database server: mysqld.
      Checking for corrupt, not cleanly closed and upgrade needing tables..

      Its just a "visual bug" as this command just tries to unmask the Systemd service "mysql.service" so its not breaking anything on non-systemd systems.

      Adding a test to check if "deb-systemd-helper" is present on the system before executing the command would be enough.


      On Jessie, the package also isnt mandatory but its a dependency on "cron" which is installed by default on most systems.

      Attachments

        Activity

          This would make the warning go away: https://github.com/MariaDB/server/pull/158

          otto Otto Kekäläinen added a comment - This would make the warning go away: https://github.com/MariaDB/server/pull/158

          All tests but Valgrind passed at: https://buildbot.askmonty.org/buildbot/grid?branch=ok-debpkg-10.0&category=main
          elenst Can you or somebody disable Valgrind from my test builds, seems to be useless and generate only load on the servers?

          otto Otto Kekäläinen added a comment - All tests but Valgrind passed at: https://buildbot.askmonty.org/buildbot/grid?branch=ok-debpkg-10.0&category=main elenst Can you or somebody disable Valgrind from my test builds, seems to be useless and generate only load on the servers?

          People

            otto Otto Kekäläinen
            jb-boin Jean Weisbuch
            Votes:
            0 Vote for this issue
            Watchers:
            3 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.