Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-25966

logrotate config files are not renamed to mariadb

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Trivial
    • Resolution: Duplicate
    • 10.6
    • N/A
    • Scripts & Clients
    • None

    Description

      There are still some mysql-named objects installed with packages. Possibly some are left on purpose, such as /usr/lib/mysql for example, but some have more likely been missed. e.g. logrotate configuration files.

          INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/mysql-log-rotate DESTINATION ${INSTALL_SYSCONFDIR}/logrotate.d
                  RENAME mysql COMPONENT SupportFiles)
      

      override_dh_installlogrotate-arch:
              dh_installlogrotate --name mysql-server
      

      Here is a somewhat wider (but not complete) list of what is installed with mysql names. This only relates to MariaDB-server RPM package from 10.6.1. Other RPM packages probably install more, and for DEBs the list would be different altogether.

      $ for f in `rpm -ql MariaDB-server  | grep -E 'mysql[^/]*$' | xargs` ; do if [[ ! -L $f ]]; then echo $f; fi; done 
      /etc/logrotate.d/mysql
      /usr/bin/wsrep_sst_mysqldump
      /usr/lib64/mysql
      /usr/lib64/mysql/plugin/type_mysql_json.so
      /usr/share/man/man1/mysql.server.1.gz
      /usr/share/man/man1/mysql_fix_extensions.1.gz
      /usr/share/man/man1/mysql_install_db.1.gz
      /usr/share/man/man1/mysql_ldb.1.gz
      /usr/share/man/man1/mysql_upgrade.1.gz
      /usr/share/man/man1/mysqld_multi.1.gz
      /usr/share/man/man1/mysqld_safe.1.gz
      /usr/share/man/man1/mysqld_safe_helper.1.gz
      /usr/share/man/man1/wsrep_sst_mysqldump.1.gz
      /usr/share/man/man8/mysqld.8.gz
      /usr/share/mysql
      /usr/share/mysql/mysql-log-rotate
      /usr/share/mysql/mysql.server
      /usr/share/mysql/mysql_performance_tables.sql
      /usr/share/mysql/mysql_sys_schema.sql
      /usr/share/mysql/mysql_system_tables.sql
      /usr/share/mysql/mysql_system_tables_data.sql
      /usr/share/mysql/mysql_test_data_timezone.sql
      /usr/share/mysql/mysql_test_db.sql
      /usr/share/mysql/mysqld_multi.server
      /usr/share/mysql/policy/apparmor/usr.sbin.mysqld
      /usr/share/mysql/policy/apparmor/usr.sbin.mysqld.local
      

      Attachments

        Issue Links

          Activity

            People

              serg Sergei Golubchik
              elenst Elena Stepanova
              Votes:
              0 Vote for this issue
              Watchers:
              5 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.