[MCOL-4194] Running As Non Root Failing Created: 2020-07-18 Updated: 2020-11-12 Resolved: 2020-07-22 |
|
| Status: | Closed |
| Project: | MariaDB ColumnStore |
| Component/s: | Build, installation |
| Affects Version/s: | 1.5.3 |
| Fix Version/s: | 5.5.1 |
| Type: | Bug | Priority: | Major |
| Reporter: | Todd Stoffel (Inactive) | Assignee: | Gregory Dorman (Inactive) |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Description |
|
The new systemd script for columnstore:
which in turn calls:
Of these mcs- processes, four of them require setting LimitNOFILE and LimitNPROC.
This all needs to be changed to run as the mysql user to bring it into alignment with the server. The [Service] section of all these systemd scripts should have included something like this:
Additionally, these folders need to be owned by mysql:
The mysql system user probably needs a shell due to the way some of these scripts are executed:
A polkit rules file needs to be added since we have nested systemctl scripts:
And we might even need to chmod 777 the /dev/shm folder |
| Comments |
| Comment by Todd Stoffel (Inactive) [ 2020-07-19 ] |
|
This can probably be documented for now. It's not much different than the original 1.0 instructions. https://mariadb.com/kb/en/preparing-for-columnstore-installation-10x/#non-root-user-installs |
| Comment by Gregory Dorman (Inactive) [ 2020-07-22 ] |
|
This is to be resolved by |