Details
-
Task
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
None
-
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
- causes
-
MCOL-4328 New segments files created as the result of bulk insertion with cpimport belongs to root
- Closed
- includes
-
MCOL-4194 Running As Non Root Failing
- Closed
-
MCOL-4195 CMAPI Cannot Communicate When Running As Non-Root
- Closed
- relates to
-
MCOL-4283 Crash/assertion failure after "RWLock failed to attach to the InfiniDB-shm-00020000 shared mem segment, got Permission denied"
- Closed