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

Check for / Set umask in /etc/profile.d/umask.sh and /etc/sysconfig/init

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Won't Fix
    • 1.1.6
    • Icebox
    • ?
    • None
    • 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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            ccalender Chris Calender (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.