[debian-mysql] Bug#874370: mariadb-server-10.1: mariadb server does	not write pid file on location specified in config
    S. Seide 
    account-bugskde at seide.st
       
    Tue Sep  5 14:01:51 UTC 2017
    
    
  
Package: mariadb-server-10.1
Version: 10.1.26-1
Severity: normal
Dear Maintainer,
the mariadb server does not write a pid file on the location set in the 
configuration files.
The package provided file /etc/mysql/mariadb.conf.d/50-server.cnf, 
included in /etc/mysql.conf (resp. /etc/mariadb.conf)
sets the config parameter to write the pid file into the /var/run/mysql 
directory:
   pid-file      = /var/run/mysqld/mysqld.pid
The server does not write a file into this directory, only the 
mysql.sock socket is there.
Instead a pid file is written into the mariadb data dir unter the 
hostname of the server:
The pidfile (incorectly) created is:
   /var/lib/mysql/<hostname>.pid
This is reproducable with just installing the mariadb-server package, no 
further configuration needed.
The problem exists in the stable package (10.1.26-deb9u1) as well as the 
testing one (10.1.26-1).
Best regards,
Stefan Seide
-- System Information:
Debian Release: 9.1
   APT prefers stable
   APT policy: (500, 'stable'), (300, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 4.9.0-3-amd64 (SMP w/1 CPU core)
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
ii  libaio1                   0.3.110-3
ii  libc6                     2.24-11+deb9u1
ii  libdbi-perl               1.636-1+b1
ii  libpam0g                  1.1.8-3.6
ii  libstdc++6                6.3.0-18
ii  libsystemd0               232-25+deb9u1
ii  lsb-base                  9.20161125
ii  lsof                      4.89+dfsg-0.1
ii  mariadb-client-10.1       10.1.26-1
ii  mariadb-common            10.1.26-1
ii  mariadb-server-core-10.1  10.1.26-1
ii  passwd                    1:4.4-4.1
ii  perl                      5.24.1-3+deb9u1
ii  psmisc                    22.21-2.1+b2
ii  rsync                     3.1.2-1
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:
ii  mailutils [mailx]  1:3.1.1-1
pn  mariadb-test       <none>
pn  netcat-openbsd     <none>
pn  tinyca             <none>
-- debconf information excluded
    
    
More information about the pkg-mysql-maint
mailing list