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

Support systemd socket activation

    XMLWordPrintable

Details

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

    Description

      Supporting socket activation would make each of the following possible for admins:

      • Cleaner restarts (the listener socket stays open persistently)
      • Network namespace isolation, disallowing any network access beyond the inherited listener port (and connections accepted from it).
      • Lazy startup for densely hosted instances. (It's also possible with socket activation to start it eagerly, as usual.)
      • Running MariaDB on privileged ports without having to start it initially as root
      • Non-racy startup for services (like a PHP site) that depend on connecting to MariaDB. Because systemd opens listener sockets early in boot, they're available even while MariaDB is starting
      • Deeper integration into coming network support in future systemd releases

      Some examples in C are here:
      http://0pointer.de/blog/projects/socket-activation.html

      I am willing to sponsor development of this feature.

      Attachments

        Issue Links

          Activity

            People

              danblack Daniel Black
              davidstrauss David Strauss
              Votes:
              16 Vote for this issue
              Watchers:
              22 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.