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

`support-files/mysql.server.sh stop` must run as root

    XMLWordPrintable

    Details

      Description

      The change to run "kill" via "su - $user" seems to require mysql.server to run as root now. We run "mysql.server stop" under an unprivileged user account, and upgrading to mysql 10.1.37 broke our workflow as the "su - $user" bit fails as a non-root user.

      Is it possible that this script can skip the "su - $user" step if invoked as a non-root user?

        Attachments

          Activity

            People

            • Assignee:
              serg Sergei Golubchik
              Reporter:
              andrew.garner Andrew Garner
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: