[MCOL-1725] Check for / Set umask in /etc/profile.d/umask.sh and /etc/sysconfig/init Created: 2018-09-14  Updated: 2019-07-10  Resolved: 2019-07-10

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

Type: Bug Priority: Major
Reporter: Chris Calender (Inactive) Assignee: Unassigned
Resolution: Won't Fix Votes: 0
Labels: None
Environment:

CentOS 7.5.1804



 Description   

Encountered numerous issues installing ColumnStore 1.1.6 on vanilla CentOS 7 server.

The errors were all related to permissions issues, and we could not figure out what was the problem.

It was finally determined that umask was being unset, but by what? SELinux nor AppArmor were running on the server.

We found out that there are two places umask was being set:

/etc/profile.d/umask.sh
/etc/sysconfig/init

umask was 022 in umask.sh (correct), but was 027 in the init file (incorrect). Changing the latter allowed everything to work properly after that.

I see that the ColumnStore Cluster Tester script was recently updated to check for the umask settings:

https://jira.mariadb.org/browse/MCOL-1591

However, I would like to propose we ensure the ColumnStore Cluster Tester script checks both locations.

Thank you for your consideration.


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