http://bugzilla.opensuse.org/show_bug.cgi?id=1091920 Bug ID: 1091920 Summary: mariadb failed to restart after upgrade Classification: openSUSE Product: openSUSE Distribution Version: Leap 15.0 Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Upgrade Problems Assignee: bnc-team-screening@forge.provo.novell.com Reporter: per@computer.org QA Contact: jsrain@suse.com Found By: --- Blocker: --- After a 'zypper dup --no-recommends' just now, I noticed a complaint from mariadb: (19/37) Installing: mariadb-10.2.14-lp150.1.1.x86_64 .................[done] Additional rpm output: usermod: no changes warning: waiting to reestablish exclusive database lock Job for mariadb.service failed because the control process exited with error code. See "systemctl status mariadb.service" and "journalctl -xe" for details.
From /var/log/messages:
2018-05-04T08:52:54+02:00 newton mysql-systemd-helper[9856]: Everything upgraded successfully 2018-05-04T08:52:54+02:00 newton mysql-systemd-helper[9856]: Shuting down protected MySQL 2018-05-04T08:52:54+02:00 newton mysql-systemd-helper[9856]: Final cleanup 2018-05-04T08:52:54+02:00 newton mysql-systemd-helper[9856]: rm: cannot remove '/var/tmp/mysql-protected.htBTzx': Directory not empty 2018-05-04T08:52:54+02:00 newton systemd[1]: mariadb.service: Control process exited, code=exited status=1 2018-05-04T08:52:54+02:00 newton systemd[1]: Failed to start MySQL server. 2018-05-04T08:52:54+02:00 newton systemd[1]: mariadb.service: Unit entered failed state. 2018-05-04T08:52:54+02:00 newton systemd[1]: mariadb.service: Failed with result 'exit-code'. Looking at that directory, it seems to be empty: # la /var/tmp/mysql-protected.htBTzx total 8 drwx------ 2 mysql mysql 1 May 4 08:52 . drwxrwxrwt 14 root root 4096 May 4 08:53 .. -- You are receiving this mail because: You are on the CC list for the bug.