Uploaded image for project: 'Modules'
  1. Modules
  2. MODULES-8912

puppetlabs/mysql : /var/log ownership recursivly set to mysql:mysql on SLES

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Normal
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: mysql
    • Labels:
      None
    • Template:
      MODULES Bug Template
    • Method Found:
      Needs Assessment
    • QA Risk Assessment:
      Needs Assessment

      Description

      Basic Info
      Module Version: puppetlabs/mysql 8.1.0
      Puppet Version: 4
      OS Name/Version: SLES 12

      class { 'mysql::server':
        package_name => 'mariadb',
        config_file => '/etc/my.cnf',
        root_password => 'secretpwd'
      }
      

       

      Desired Behavior:

      /var/log folder owner should only be changed for the directory required for ysql logs.

      Actual Behavior:

      After installation on SLES, the /var/log folder recursively was set to owner mysql:mysql

      drwxrwx--- 1 mysql mysql 606 Apr 11 10:01 log

      -rw-r--r-- 1 mysql mysql  292876 Apr 11 09:53 lastlog
      -rw-r--r-- 1 mysql mysql     858 Apr 11 09:32 localmessages
      -rw-r----- 1 mysql mysql       0 Nov 30  2017 mail
      -rw-r----- 1 mysql mysql       0 Nov 30  2017 mail.err
      -rw-r----- 1 mysql mysql       0 Nov 30  2017 mail.info
      -rw-r----- 1 mysql mysql       0 Nov 30  2017 mail.warn
      -rw-r----- 1 mysql mysql  411146 Apr 11 10:15 messages
      drwxrwx--- 1 mysql mysql      20 Apr 11 10:01 mysql
      ..
      

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            planetenxin planetenxin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:

                Zendesk Support