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

Log files must be own by mysql:mysql user rather than partially own by root:root OS user.

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Fixed
    • 5.6.3, 5.6.4, 5.6.5, 6.1.1, 6.2.1, 6.2.2, 6.2.3
    • 23.02.4
    • installation
    • None

    Description

      As root owned files involve sysadmin to do fewer task but generally these file should be managed by DBA or CS team. Also If we change the ownership to mysql:mysql , as soon as the file is archived and cycled, it is again owned by root.

       
      [root@mcs_node_01 columnstore]# pwd
      /var/log/mariadb/columnstore
       
      [root@mcs_node_01 columnstore]# ls -ltrh |grep -v drw
      total 0
      -rw-r--r--. 1 root  root    0 Mar 22 16:14 cmapi_server.log
      -rw-------. 1 root  root    0 Mar 22 16:14 crit.log
      -rw-------. 1 mysql mysql   0 Mar 22 16:14 debug.log
      -rw-------. 1 root  root    0 Mar 22 16:14 err.log
      -rw-------. 1 mysql mysql   0 Mar 22 16:14 info.log
      -rw-------. 1 root  root    0 Mar 22 16:14 warning.log
      
      

      Attachments

        Activity

          People

            leonid.fedorov Leonid Fedorov
            pramod.mahto@mariadb.com Pramod Mahto
            Votes:
            0 Vote for this issue
            Watchers:
            6 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.