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

post-install change /var/log/mariadb to 777 permissions, causing issues

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.0.5
    • Fix Version/s: 1.0.8
    • Component/s: oam
    • Labels:
      None
    • Sprint:
      2017-5, 2017-6

      Description

      reported by a user:

      After installation, I received daily messages with a subject of “Anacron job 'cron.daily on …” – see the details below my signature.

      It appears the “root” installation I performed resulted in each of the folders below having 777 permissions

      I resolved them with the following commands.
      chmod 755 /var/log/mariadb
      chmod 755 /var/log/mariadb/columnstore
      chmod 755 /var/log/mariadb/columnstore/archive
      chmod 755 /var/log/mariadb/columnstore/trace
      chmod 755 /var/log/mariadb/columnstore/corefiles

      Looks like change was made in the 1.0.5 for non-root fixes that effect root installs

      [builder@ip-172-30-0-125 install_scripts]$ git checkout columnstore-1.0.4
      Previous HEAD position was 9ad8a31... mcol-404
      HEAD is now at 2d0a7f5... merge develop branch

      [builder@ip-172-30-0-125 install_scripts]$ grep "/var/log/mariadb" post-install | grep chmod
      chmod 1755 /var/log/mariadb/columnstore/trace >/dev/null 2>&1
      chmod 755 /var/log/mariadb/columnstore/corefiles > /dev/null 2>&1
      sudo chmod -R 755 /var/log/mariadb/columnstore

      [builder@ip-172-30-0-125 install_scripts]$ git checkout columnstore-1.0.5
      Previous HEAD position was 2d0a7f5... merge develop branch
      HEAD is now at 9ad8a31... mcol-404

      [builder@ip-172-30-0-125 install_scripts]$ grep "/var/log/mariadb" post-install | grep chmod
      sudo chmod -R 777 /var/log/mariadb
      chmod 755 /var/log/mariadb/columnstore/corefiles > /dev/null 2>&1

        Attachments

          Activity

            People

            Assignee:
            dleeyh Daniel Lee
            Reporter:
            hill David Hill (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 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.