Uploaded image for project: 'MariaDB MaxScale'
  1. MariaDB MaxScale
  2. MXS-293

Bug in init script, and maxscale --user=maxscale does run as root

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Fixed
    • 1.2.0
    • 1.3.0
    • Core
    • None

    Description

      Hi,

      Installed maxscale 1.2.0 on debian 7.8.

      The init script contains, on line 48 (no quotes):

      DAEMON_OPTS= --user=maxscale

      Which leads to a warning at startup:

      /etc/init.d/maxscale: line 48: --user=maxscale: command not found

      I put single quotes, no more error at startup, but still I see it is running as root:

      root@server:~# ps auxwwf |grep maxscale
      root     17329  0.1  0.1 586720 51392 ?        Ssl  14:06   0:17 /usr/bin/maxscale  --user=maxscale

      Joffrey

      Attachments

        Issue Links

          Activity

            People

              markus makela markus makela
              joffrey Joffrey MICHAIE (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 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.