Uploaded image for project: 'MariaDB ColumnStore'
  1. MariaDB ColumnStore
  2. MCOL-4012

Enable ColumnStore to run as a non root user

    XMLWordPrintable

Details

    • Task
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • None
    • 5.4.1
    • installation
    • None

    Description

      MCS itself is perfectly fine running w/o root privileges except a couple of things:
      ExeMgr, WriteEngine and PrimProc raise a number of open file descriptors so systemd units must contain LimitNOFILE=65536.
      There are a number of directories that must have appropriate access modes and owners. Here is the list of related commands I run to get MCS working under an arbitrary user.

      chown -R mcs /var/log/mariadb/columnstore/
      chown -R mcs /etc/columnstore/
      chown -R mcs /var/lib/columnstore/
      chown -R mcs /tmp/columnstore_tmp_files/
      chmod 764 /tmp/columnstore_tmp_files/
      

      There is a relevant article on installing MCS under non-root user.

      The upgrade from 1.2/4 to 1.5 must be tested.

      Attachments

        Issue Links

          Activity

            People

              drrtuy Roman
              drrtuy Roman
              Votes:
              0 Vote for this issue
              Watchers:
              5 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.