Uploaded image for project: 'Percona Server'
  1. Percona Server
  2. PS-3972

PS-3971 isn't fixed if my.cnf file is a symlink on CentOS 7

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.7.21-21
    • Component/s: None
    • Labels:
      None

      Description

      PS-3971isn't fixed if my.cnf file is a symlink on CentOS 7

      Before upgrade:

      [root@centos7 ~]# ls -lah /etc/my.cnf
      lrwxrwxrwx. 1 root root 20 Apr 25 14:08 /etc/my.cnf -> /etc/my.cnf.d/my.cnf
      

      After upgrade

      ll /etc/my.cnf
      lrwxrwxrwx. 1 root root 24 Apr 25 14:09 /etc/my.cnf -> /etc/alternatives/my.cnf
      

      I've checked the previous version:

      [root@centos7 ~]# ll /etc/my.cnf
      lrwxrwxrwx. 1 root root 20 Apr 25 14:17 /etc/my.cnf -> /etc/my.cnf.d/my.cnf
      ...
      [root@centos7 ~]# yum install Percona-Server-server-57-5.7.21-20.1.el7.x86_64 Percona-Server-shared-57-5.7.21-20.1.el7.x86_64 Percona-Server-client-57-5.7.21-20.1.el7.x86_64 Percona-Server-shared-compat-5
      7-5.7.21-20.1.el7.x86_64 -y
      Loaded plugins: fastestmirror
      Loading mirror speeds from cached hostfile
       * base: repo1.ash.innoscale.net
       * epel: archive.linux.duke.edu
       * extras: repos-va.psychz.net
       * updates: mirror.teklinks.com
      Resolving Dependencies
      --> Running transaction check
      ---> Package Percona-Server-client-57.x86_64 0:5.7.20-19.1.el7 will be updated
      ---> Package Percona-Server-client-57.x86_64 0:5.7.21-20.1.el7 will be an update
      ---> Package Percona-Server-server-57.x86_64 0:5.7.20-19.1.el7 will be updated
      ---> Package Percona-Server-server-57.x86_64 0:5.7.21-20.1.el7 will be an update
      ---> Package Percona-Server-shared-57.x86_64 0:5.7.20-19.1.el7 will be updated
      ---> Package Percona-Server-shared-57.x86_64 0:5.7.21-20.1.el7 will be an update
      ---> Package Percona-Server-shared-compat-57.x86_64 0:5.7.20-19.1.el7 will be updated
      ---> Package Percona-Server-shared-compat-57.x86_64 0:5.7.21-20.1.el7 will be an update
      --> Finished Dependency Resolution
      ...
      Complete!
      [root@centos7 ~]# ll /etc/my.cnf
      lrwxrwxrwx. 1 root root 20 Apr 25 14:17 /etc/my.cnf -> /etc/my.cnf.d/my.cnf
      

        Smart Checklist

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  evgeniy.patlan Evgeniy Patlan
                  Reporter:
                  hrvoje.matijakovic Hrvoje Matijakovic
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Time Tracking

                    Estimated:
                    Original Estimate - Not Specified
                    Not Specified
                    Remaining:
                    Remaining Estimate - 0 minutes
                    0m
                    Logged:
                    Time Spent - 1 day, 1 hour, 1 minute
                    1d 1h 1m