KUSANAGI Update 8.1.2-5

KUSANAGI Update 8.1.2-5

The KUSANAGI 8.1.2-5 update with bug fixes has been released.

For those using version 8.1.2-4 and earlier, running the command below with root privileges will update KUSANAGI to 8.1.2-5.

# yum update

If you have just performed the most recent update and the leftover cache causes a “no packages marked for update” error, use the following command and then perform a yum update.

# yum clean all

Bugfixes in KUSANAGI 8.1.2-5

8.1.2-5 fixes the following issues:

Failure to upgrade MariaDB during kusanagi init

During kusanagi init, there have been cases where referencing the MariaDB10.0 package cache causes upgrading MariaDB10.1 to fail.
This bug has been fixed in KUSANAGI-8.1.2-5.

If there are issues running commands

Redoing kusanagi init after updating to 8.1.2-5 is the most surefire solution, but the method below will also work:

Delete the existing MariaDB package.

# yum remove -y 'MariaDB*' galera

Check the file /etc/yum.repos.d/MariaDB.repo

baseurl = http://yum.mariadb.org/10.0/centos7-amd64
If you see this line, change it to the one below:
baseurl = http://yum.mariadb.org/10.1/centos7-amd64

# yum clean all
# yum install -y MariaDB-devel MariaDB-client MariaDB-server

If the KUSANAGI settings are written in the /etc/my.cnf.d/server.cnf.rpmsave file, copy the [mysql] contents from /etc/my.cnf.d/server.cnf.rpmsave to the [mysqld] contents of /etc/my.cnf.d/server.cnf.

Last, restart MariaDB.

systemctl restart mysql