[debian-mysql] Bug#929520: mariadb-server-10.1: does not start after upgrade to 10.1.38 deb9u1

harrim4n harrim4n at harrim4n.com
Sat May 25 14:01:24 BST 2019


Package: mariadb-server-10.1
Version: 10.1.38-0+deb9u1
Severity: important

Dear Maintainer,

after an upgrade from 10.1.37-0+deb9u1 to 10.1.38-0+deb9u1, the mysql
server does not start anymore via systemd.
Manually starting the mysql server works fine.
systemctl status mariadb.service displays

● mariadb.service - MariaDB 10.1.38 database server
   Loaded: loaded (/lib/systemd/system/mariadb.service; enabled; vendor
   preset: enabled)
      Active: failed (Result: exit-code) since Sat 2019-05-25 14:58:09
      CEST; 1s ago
           Docs: man:mysqld(8)
	              https://mariadb.com/kb/en/library/systemd/
		        Process: 17160 ExecStartPre=/usr/bin/install -m
			755 -o mysql -g root -d /var/run/mysqld
			(code=exited, status=127)
			 Main PID: 12930 (code=exited, status=127)
			       CPU: 0

			       May 25 14:58:09 webconfire systemd[1]:
			       Starting MariaDB 10.1.38 database
			       server...
			       May 25 14:58:09 webconfire systemd[1]:
			       mariadb.service: Control process exited,
			       code=exited status=127
			       May 25 14:58:09 webconfire systemd[1]:
			       Failed to start MariaDB 10.1.38 database
			       server.
			       May 25 14:58:09 webconfire systemd[1]:
			       mariadb.service: Unit entered failed
			       state.
			       May 25 14:58:09 webconfire systemd[1]:
			       mariadb.service: Failed with result
			       'exit-code'.

Manually editing the systemd service file in /lib/systemd/system/ to
remove all ExecStartPre lines also does not work.
The service file is not modified, the same issue occurs even after
removing the service file and forcing a reinstall.
This user (
https://unix.stackexchange.com/questions/490916/systemd-status-127-for-usr-bin-install-when-trying-to-start-mariadb)
had the same issue, but apparently no fix was found.

-- System Information:
Debian Release: 9.9
  APT prefers stable
  APT policy: (900, 'stable'), (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 4.9.0-8-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages mariadb-server-10.1 depends on:
ii  adduser                   3.115
ii  debconf [debconf-2.0]     1.5.61
ii  galera-3                  25.3.19-2
ii  gawk                      1:4.1.4+dfsg-1
ii  init-system-helpers       1.48
ii  iproute2                  4.9.0-1+deb9u1
ii  libaio1                   0.3.110-3
ii  libc6                     2.28-10
ii  libdbi-perl               1.636-1+b1
ii  libpam0g                  1.1.8-3.6
ii  libstdc++6                6.3.0-18+deb9u1
ii  libsystemd0               232-25+deb9u11
ii  lsb-base                  9.20161125
ii  lsof                      4.89+dfsg-0.1
ii  mariadb-client-10.1       10.1.38-0+deb9u1
ii  mariadb-common            10.1.38-0+deb9u1
ii  mariadb-server-core-10.1  10.1.38-0+deb9u1
ii  passwd                    1:4.4-4.1
ii  perl                      5.24.1-3+deb9u5
ii  psmisc                    22.21-2.1+b2
ii  rsync                     3.1.2-1+deb9u2
ii  socat                     1.7.3.1-2+deb9u1
ii  zlib1g                    1:1.2.8.dfsg-5

Versions of packages mariadb-server-10.1 recommends:
ii  libhtml-template-perl  2.95-2

Versions of packages mariadb-server-10.1 suggests:
pn  mailx           <none>
pn  mariadb-test    <none>
pn  netcat-openbsd  <none>
pn  tinyca          <none>

-- debconf information:
  mariadb-server-10.1/old_data_directory_saved:
  mariadb-server-10.1/nis_warning:
  mariadb-server-10.1/postrm_remove_databases: false


More information about the pkg-mysql-maint mailing list