[debian-mysql] Bug#946825: mariadb-server-10.3: ExecStartPre should use /run/mysqld instead of /var/run/mysqld

Richard van den Berg richard at vdberg.org
Mon Dec 16 10:17:37 GMT 2019


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

In /lib/systemd/system/mariadb.service and /lib/systemd/system/mariadb at .service the line

ExecStartPre=/usr/bin/install -m 755 -o mysql -g root -d /var/run/mysqld

should use /run/mysqld since /var/run is considered legacy since Debian buster.

-- System Information:
Debian Release: 10.2
  APT prefers stable
  APT policy: (990, 'stable'), (500, 'stable-debug'), (500, 'proposed-updates-debug'), (500, 'oldstable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.19.0-6-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to C.UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to C.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
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.18-0+deb10u1
ii  mariadb-common            1:10.3.18-0+deb10u1
ii  mariadb-server-core-10.3  1:10.3.18-0+deb10u1
ii  passwd                    1:4.5-1.1
ii  perl                      5.28.1-6
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:
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
ii  mailx              1:20071201-3
pn  mariadb-test       <none>
pn  netcat-openbsd     <none>
pn  tinyca             <none>

-- debconf information excluded



More information about the pkg-mysql-maint mailing list