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

Enable ColumnStore to run as a non root user

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.4.1
    • Component/s: installation
    • Labels:
      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

              Assignee:
              drrtuy Roman
              Reporter:
              drrtuy Roman
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Git Integration