[debian-mysql] Bug#981376: mariadb-server-10.3: Conflicting MariaDB instance config

root jd_debian at onix.de
Sat Jan 30 10:32:05 GMT 2021


Package: mariadb-server-10.3
Version: 1:10.3.27-0+deb10u1
Severity: normal

Dear Maintainer,

there seems to be a conflict with the provided systemd service in "mariadb at .service".

The config file used for an instance is specified as "/etc/mysql/conf.d/my%I.cnd".
This collides with the "main" service (mariadb.service), which uses "/etc/mysql/my.cnf", which **includes** "/etc/mysql/conf.d/*".
Any particular configuration for the instance, would also be included in the main service!

Suggestion:
Use "/etc/mysql/my_%i.cnf" as the instance's config file.

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

Kernel: Linux 5.8.0-0.bpo.2-amd64 (SMP w/48 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.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+deb10u1
ii  libgnutls30               3.6.7-4+deb10u5
ii  libpam0g                  1.3.1-5
ii  libstdc++6                8.3.0-6
ii  lsb-base                  10.2019051400
ii  lsof                      4.91+dfsg-1
ii  mariadb-client-10.3       1:10.3.27-0+deb10u1
ii  mariadb-common            1:10.3.27-0+deb10u1
ii  mariadb-server-core-10.3  1:10.3.27-0+deb10u1
ii  passwd                    1:4.5-1.1
ii  perl                      5.28.1-6+deb10u1
ii  psmisc                    23.2-1
ii  rsync                     3.1.3-6
ii  socat                     1.7.3.2-2
ii  zlib1g                    1:1.2.11.dfsg-1

Versions of packages mariadb-server-10.3 recommends:
pn  libhtml-template-perl  <none>

Versions of packages mariadb-server-10.3 suggests:
ii  mailutils [mailx]  1:3.5-4
pn  mariadb-test       <none>
pn  netcat-openbsd     <none>
pn  tinyca             <none>

-- Configuration Files:
/etc/mysql/mariadb.conf.d/50-server.cnf changed [not included]

-- debconf information excluded



More information about the pkg-mysql-maint mailing list