Bug#966196: [debian-mysql] Bug#966196: mariadb-server-10.3: Mariadb 10.3.22 fails to start after Stretch update, Failed at step EXEC spawning /etc/mysql/debian-start: No such file or directory

2020-07-27 Thread Faustin Lammler
Hi Elvis!
May I ask you to give me the content of your mariadb.service file
(normally located in '/lib/systemd/system/mariadb.service').

Also, do you remember which version of MariaDB was installed on your
debian stretch? Was it from the Debian repository or from the MariaDB
foundation repository? And finally, did your previous setup once use
sysvinit (not systemd)?

For the moment, I am not able to reproduce the problem with those steps:
1/ install debian 9;
2/ install mariadb-server (10.1.45);
3/ change sources.list to upgrade to debian buster and apt upgrade;
4/ reboot;
5/ apt full-upgrade;
6/ mariadb-server is installed and up and running (10.3.22).

-- 
Faustin Lammler
GPG: F652 BCD1 1AA8 8975 F010 48A5 390A 2F27 832A 5C79


signature.asc
Description: PGP signature


Bug#966196: mariadb-server-10.3: Mariadb 10.3.22 fails to start after Stretch update, Failed at step EXEC spawning /etc/mysql/debian-start: No such file or directory

2020-07-24 Thread elvis
Package: mariadb-server-10.3
Version: 1:10.3.22-0+deb10u1
Severity: normal

Dear Maintainer,

After updating Stretch mariadb fails with 

Jul 25 01:19:38 dog systemd[23576]: mariadb.service: Failed at step EXEC 
spawning /etc/mysql/debian-start: No such file or directory
Jul 25 01:19:38 dog systemd[1]: mariadb.service: Control process exited, 
code=exited, status=203/EXEC
Jul 25 01:19:40 dog systemd[1]: mariadb.service: Failed with result 'exit-code'.
Jul 25 01:19:40 dog systemd[1]: Failed to start MariaDB 10.3.22 database server.


The file debian-start actually has some text inside it saying this file is no 
longer needed, I deleted it once and got the same error. 
I recreated it and it all worked again.
It seems to have vanished after the update bringing the same situation back.

A workaround is to create the file. 





-- System Information:
Debian Release: 10.4
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.19.0-6-amd64 (SMP w/4 CPU cores)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_AU:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages mariadb-server-10.3 depends on:
ii  adduser   3.118
ii  debconf [debconf-2.0] 1.5.71
ii  galera-3  25.3.25-2
ii  gawk  1:4.2.1+dfsg-1
ii  iproute2  4.20.0-2
ii  libc6 2.28-10
ii  libdbi-perl   1.642-1+b1
ii  libgnutls30   3.6.7-4+deb10u4
ii  libpam0g  1.3.1-5
ii  libstdc++68.3.0-6
ii  lsb-base  10.2019051400
ii  lsof  4.91+dfsg-1
ii  mariadb-client-10.3   1:10.3.22-0+deb10u1
ii  mariadb-common1:10.3.22-0+deb10u1
ii  mariadb-server-core-10.3  1:10.3.22-0+deb10u1
ii  passwd1:4.5-1.1
ii  perl  5.28.1-6
ii  psmisc23.2-1
ii  rsync 3.1.3-6
ii  socat 1.7.3.2-2
ii  zlib1g1:1.2.11.dfsg-1

Versions of packages mariadb-server-10.3 recommends:
ii  libhtml-template-perl  2.97-1

Versions of packages mariadb-server-10.3 suggests:
ii  bsd-mailx [mailx]  8.1.2-0.20180807cvs-1
pn  mariadb-test   
pn  netcat-openbsd 
pn  tinyca 

-- Configuration Files:
/etc/logcheck/ignore.d.paranoid/mariadb-server-10_3 [Errno 13] Permission 
denied: '/etc/logcheck/ignore.d.paranoid/mariadb-server-10_3'
/etc/logcheck/ignore.d.server/mariadb-server-10_3 [Errno 13] Permission denied: 
'/etc/logcheck/ignore.d.server/mariadb-server-10_3'
/etc/logcheck/ignore.d.workstation/mariadb-server-10_3 [Errno 13] Permission 
denied: '/etc/logcheck/ignore.d.workstation/mariadb-server-10_3'
/etc/mysql/debian-start [Errno 13] Permission denied: '/etc/mysql/debian-start'
/etc/mysql/mariadb.conf.d/50-server.cnf changed [not included]

-- debconf information excluded