[debian-mysql] Bug#996706: mariadb-server-10.5: run directory is not created in multi-instance mode

Peter Keresztes Schmidt carbenium at outlook.com
Sun Oct 17 16:25:16 BST 2021


Package: mariadb-server-10.5
Version: 1:10.5.12-0+deb11u1
Severity: normal
X-Debbugs-Cc: carbenium at outlook.com

Dear Maintainer,

Starting mariadb as multi-instance service (mariadb at instance-name.service) fails
since the run directory (/run/mysqld) is not created.

The normal unit file (mariadb.service) contains following line:
  ExecStartPre=/usr/bin/install -m 755 -o mysql -g root -d /var/run/mysqld

This is missing from mariadb at .service. In buster both unit files contain the line.

Upstream I saw that tmpfiles config generation is implementend
since 7bbc6c14d1e8fcf1f4737e0a5fcf6237fe18bd23, but I don't see those files shipped with the package.

Thanks for looking into this!

Regards,
Peter

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

Kernel: Linux 5.10.0-8-cloud-amd64 (SMP w/2 CPU threads)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=locale: Cannot set LC_ALL to default locale: No such file or directory
UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages mariadb-server-10.5 depends on:
ii  adduser                   3.118
ii  debconf [debconf-2.0]     1.5.77
ii  galera-4                  26.4.9-0+deb11u1
ii  gawk                      1:5.1.0-1
ii  iproute2                  5.10.0-4
ii  libc6                     2.31-13+deb11u2
ii  libdbi-perl               1.643-3+b1
ii  libpam0g                  1.4.0-9+deb11u1
ii  libssl1.1                 1.1.1k-1+deb11u1
ii  libstdc++6                10.2.1-6
ii  lsb-base                  11.1.0
ii  lsof                      4.93.2+dfsg-1.1
ii  mariadb-client-10.5       1:10.5.12-0+deb11u1
ii  mariadb-common            1:10.5.12-0+deb11u1
ii  mariadb-server-core-10.5  1:10.5.12-0+deb11u1
ii  passwd                    1:4.8.1-1
ii  perl                      5.32.1-4+deb11u2
ii  procps                    2:3.3.17-5
ii  psmisc                    23.4-2
ii  rsync                     3.2.3-4+deb11u1
ii  socat                     1.7.4.1-3
ii  zlib1g                    1:1.2.11.dfsg-2

Versions of packages mariadb-server-10.5 recommends:
ii  libhtml-template-perl  2.97-1.1

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

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



More information about the pkg-mysql-maint mailing list