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

Provide a systemd script for MariaDB

Details

    • 10.1.7-1, 10.1.7-2, 10.1.8-1, 10.1.8-3, 10.1.8-4

    Description

      MySQL doesn't provide a systemd (http://www.freedesktop.org/wiki/Software/systemd/) script and thus distributions that are shipping systemd have to provide their own. Not many like this. So should we provide one inside the MariaDB package to be better for distributions than MySQL?

      Some references:

      Attachments

        Issue Links

          Activity

            would it be possible to ship that for 10.0 as well?

            roidelapluie Julien Pivotto added a comment - would it be possible to ship that for 10.0 as well?
            serg Sergei Golubchik added a comment - - edited

            We'd love to. But as it turned out, users don't like when we add new dependencies to our packages in a GA branch (yes, we've tried). And in these patches MariaDB is linked with libsystemd-daemon.so, so we'll have to add it as a dependency. We cannot do that. I see few options for 10.0:

            • add the patch nevertheless, but build our packages without systemd. Users would need to compile MariaDB to get systemd support.
            • bundle libsystemd-daemon sources with 10.0
            • only implement a minimal systemd support in 10.0 that doesn't require changes in the server

            What do you think we should do?

            Either way, I think we'll add systemd support in 10.1 first and then, possibly, backport parts of it to 10.0

            serg Sergei Golubchik added a comment - - edited We'd love to. But as it turned out, users don't like when we add new dependencies to our packages in a GA branch (yes, we've tried). And in these patches MariaDB is linked with libsystemd-daemon.so , so we'll have to add it as a dependency. We cannot do that. I see few options for 10.0: add the patch nevertheless, but build our packages without systemd. Users would need to compile MariaDB to get systemd support. bundle libsystemd-daemon sources with 10.0 only implement a minimal systemd support in 10.0 that doesn't require changes in the server What do you think we should do? Either way, I think we'll add systemd support in 10.1 first and then, possibly, backport parts of it to 10.0

            Sergei,

            I would suggest the third choice, aka minimal systemd support. This is the less intrusive, and to be honest, most people just need minimal support.
            Let's keep the systemd socket activation for 10.1 as it introduces major changes.

            Regards,
            Guillaume

            tanj Guillaume Lefranc added a comment - Sergei, I would suggest the third choice, aka minimal systemd support. This is the less intrusive, and to be honest, most people just need minimal support. Let's keep the systemd socket activation for 10.1 as it introduces major changes. Regards, Guillaume

            I agree with serg about being conservative in GA branches. Add well documented systemd scripts to 10.1 and downstream packagers can then choose themselves if they want to take the risk of backporting it somewhere, e.g. to new OS/Linux distro releases.

            otto Otto Kekäläinen added a comment - I agree with serg about being conservative in GA branches. Add well documented systemd scripts to 10.1 and downstream packagers can then choose themselves if they want to take the risk of backporting it somewhere, e.g. to new OS/Linux distro releases.

            Looking for a reliable essay writing company to order an essay ? Look no further than our Essay Writing Company! With a team of skilled writers who are experts in various subjects and disciplines, we guarantee high-quality, customized essays that meet and exceed your expectations. Whether you need assistance with essays, research papers, dissertations, or any other type of academic writing, our experienced writers have the expertise to deliver outstanding results. We prioritize originality, accuracy, and timely delivery to ensure your satisfaction. Trust our Essay Writing Company to provide you with exceptional writing solutions that help you achieve your academic goals. Contact us today to experience the difference with our professional and reliable services!

            felicityf Felicity Flynn added a comment - Looking for a reliable essay writing company to order an essay ? Look no further than our Essay Writing Company! With a team of skilled writers who are experts in various subjects and disciplines, we guarantee high-quality, customized essays that meet and exceed your expectations. Whether you need assistance with essays, research papers, dissertations, or any other type of academic writing, our experienced writers have the expertise to deliver outstanding results. We prioritize originality, accuracy, and timely delivery to ensure your satisfaction. Trust our Essay Writing Company to provide you with exceptional writing solutions that help you achieve your academic goals. Contact us today to experience the difference with our professional and reliable services!

            People

              svoj Sergey Vojtovich
              colin Colin Charles
              Votes:
              11 Vote for this issue
              Watchers:
              21 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.