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

MaxScale 1.2 does not completely cleanly change to the maxscale user

    XMLWordPrintable

Details

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

    Description

      MaxScale 1.2 provides a new option to avoid running as the root user.
      However, this does not seem to be executed properly.

      In linux I have monitoring scripts which check /proc/<maxscale_pid>/fd/ for the number of descriptors being used. (There was a bug where there was a file descriptor leak some time ago.) and now this fails as the file descriptors and /proc/<maxscale_pid>/fd directory is not owned by maxscale and neither are the descriptor files under /proc/<maxscale_pid>/fd/.

      My guess is that the complete process of changing user has not been followed and this needs tidying up so it's probably reasonably straight forward to do. i'll include some information on how to reproduce this in a further comment.

      Attachments

        Activity

          People

            markus makela markus makela
            simon.mudd Simon J Mudd
            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.