[MCOL-918] non-root gluster install failed to startup - directory permission issues Created: 2017-09-13  Updated: 2023-10-26  Resolved: 2017-09-14

Status: Closed
Project: MariaDB ColumnStore
Component/s: ?
Affects Version/s: 1.1.0
Fix Version/s: 1.1.0

Type: Bug Priority: Major
Reporter: David Hill (Inactive) Assignee: Daniel Lee (Inactive)
Resolution: Fixed Votes: 0
Labels: relnote
Environment:

amazon with gluster installed


Issue Links:
Relates
relates to MCOL-919 Cluster: non-root installation failed... Closed
Sprint: 2017-18

 Description   

installed a 2 pm system with gluster storage and it failed to startup

Issued here is that data1 and gluster directory both have root user..
So Ben needs to look into that one a bit more..

Sep 13 00:18:33 ip-172-30-0-161 ProcessMonitor[3531]: 33.282149 |0|0|0| E 18 CAL0000: ERROR: Failed test write to DBRoot: /home/mariadb-user/mariadb/columnstore/data1

[mariadb-user@ip-172-30-0-161 columnstore]$ ll
total 32
drwxr-xr-x 2 mariadb-user mariadb-user 4096 Sep 13 00:05 bin
drwxrwxr-x 3 mariadb-user mariadb-user 17 Sep 13 00:04 data
drwxr-xr-x 3 root root 4096 Sep 13 00:08 data1
drwxr-xr-x 2 mariadb-user mariadb-user 6 Sep 13 00:06 data2
drwxr-xr-t 2 mariadb-user mariadb-user 4096 Sep 13 03:29 etc
drwxr-xr-x 4 root root 32 Sep 13 00:08 gluster
drwxr-xr-x 2 mariadb-user mariadb-user 8192 Sep 13 00:05 lib
drwxr-xr-x 3 mariadb-user mariadb-user 29 Sep 13 00:05 local
drwxr-xr-x 11 mariadb-user mariadb-user 4096 Sep 13 00:07 mysql
drwxr-xr-x 2 mariadb-user mariadb-user 94 Sep 11 18:42 post
rw-rr- 1 mariadb-user mariadb-user 24 Sep 11 18:33 releasenum



 Comments   
Comment by Ben Thompson (Inactive) [ 2017-09-13 ]

Made a change during setup for gluster volumes to set the volume ownership to the users and not the default of root during non root installs.

Comment by David Hill (Inactive) [ 2017-09-13 ]

I did review and code and did test it out before merging to develop... just needs a finial test in the offical beta build from develop branch

Comment by Daniel Lee (Inactive) [ 2017-09-14 ]

Build verified: 1.1.0-1 beta

Verified with 2nd package release (09/13/2017)

Generated at Thu Feb 08 02:24:47 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.