Your message dated Mon, 20 Mar 2017 09:19:09 +0000
with message-id <e1cptt3-0000fu...@fasolo.debian.org>
and subject line Bug#830976: fixed in mariadb-10.1 10.1.22-1
has caused the Debian Bug report #830976,
regarding logrotate failures if mysql server is not running
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)
--
830976: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=830976
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: mariadb-server-10.0
Version: 10.0.26-1
Severity: normal
File: /etc/logrotate.d/mysql-server
Hi,
I have the mysql/mariadb server installed but not enabled and started by
default on my testing machine, as I only need the server occasionally.
I regularly get failure messages from cron when logrotate is run:
/etc/cron.daily/logrotate:
^Gmysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to local MySQL server through socket
'/var/run/mysqld/mysqld.sock' (2 "No such file or directory")'
Check that mysqld is running and that the socket: '/var/run/mysqld/mysqld.sock'
exists!
error: error running shared postrotate script for '/var/log/mysql/mysql.log
/var/log/mysql/mysql-slow.log
/var/log/mysql/mariadb-slow.log /var/log/mysql/error.log '
run-parts: /etc/cron.daily/logrotate exited with return code 1
I think the logrotate config should handle it gracefully if the mysql
server is not running.
Regards,
Michael
-- System Information:
Debian Release: stretch/sid
APT prefers unstable
APT policy: (500, 'unstable'), (200, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.6.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages mariadb-server-10.0 depends on:
ii adduser 3.115
ii debconf [debconf-2.0] 1.5.59
ii libaio1 0.3.110-3
ii libc6 2.23-1
ii libdbi-perl 1.636-1
ii libpam0g 1.1.8-3.3
ii libstdc++6 6.1.1-9
ii lsb-base 9.20160629
ii mariadb-client-10.0 10.0.26-1
ii mariadb-common 10.0.26-1
ii mariadb-server-core-10.0 10.0.26-1
ii passwd 1:4.2-3.1
ii perl 5.22.2-2
ii psmisc 22.21-2.1+b1
ii zlib1g 1:1.2.8.dfsg-2+b1
Versions of packages mariadb-server-10.0 recommends:
ii libhtml-template-perl 2.95-2
Versions of packages mariadb-server-10.0 suggests:
ii bsd-mailx [mailx] 8.1.2-0.20160123cvs-3
pn mariadb-test <none>
ii tinyca 0.7.5-6
-- Configuration Files:
/etc/logcheck/ignore.d.paranoid/mariadb-server-10_0 [Errno 13] Keine
Berechtigung: u'/etc/logcheck/ignore.d.paranoid/mariadb-server-10_0'
/etc/logcheck/ignore.d.server/mariadb-server-10_0 [Errno 13] Keine
Berechtigung: u'/etc/logcheck/ignore.d.server/mariadb-server-10_0'
-- debconf information excluded
--- End Message ---
--- Begin Message ---
Source: mariadb-10.1
Source-Version: 10.1.22-1
We believe that the bug you reported is fixed in the latest version of
mariadb-10.1, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 830...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Ondřej Surý <ond...@debian.org> (supplier of updated mariadb-10.1 package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Sun, 19 Mar 2017 15:23:26 +0100
Source: mariadb-10.1
Binary: libmariadbclient18 libmariadbclient-dev libmariadbclient-dev-compat
libmariadbd18 libmariadbd-dev mariadb-common mariadb-client-core-10.1
mariadb-client-10.1 mariadb-server-core-10.1 mariadb-server-10.1 mariadb-server
mariadb-client mariadb-plugin-connect mariadb-plugin-oqgraph
mariadb-plugin-tokudb mariadb-plugin-mroonga mariadb-plugin-spider
mariadb-plugin-gssapi-server mariadb-plugin-gssapi-client
mariadb-plugin-cracklib-password-check mariadb-test mariadb-test-data
Architecture: source
Version: 10.1.22-1
Distribution: unstable
Urgency: high
Maintainer: Debian MySQL Maintainers <pkg-mysql-ma...@lists.alioth.debian.org>
Changed-By: Ondřej Surý <ond...@debian.org>
Description:
libmariadbclient-dev - MariaDB database development files
libmariadbclient-dev-compat - MariaDB database development files
(libmysqlclient compatibility)
libmariadbclient18 - MariaDB database client library
libmariadbd-dev - MariaDB embedded database, development files
libmariadbd18 - MariaDB embedded database, shared library
mariadb-client - MariaDB database client (metapackage depending on the latest
vers
mariadb-client-10.1 - MariaDB database client binaries
mariadb-client-core-10.1 - MariaDB database core client binaries
mariadb-common - MariaDB common metapackage
mariadb-plugin-connect - Connect storage engine for MariaDB
mariadb-plugin-cracklib-password-check - CrackLib Password Validation Plugin
for MariaDB
mariadb-plugin-gssapi-client - GSSAPI authentication plugin for MariaDB client
mariadb-plugin-gssapi-server - GSSAPI authentication plugin for MariaDB server
mariadb-plugin-mroonga - Mroonga storage engine for MariaDB
mariadb-plugin-oqgraph - OQGraph storage engine for MariaDB
mariadb-plugin-spider - Spider storage engine for MariaDB
mariadb-plugin-tokudb - TokuDB storage engine for MariaDB
mariadb-server - MariaDB database server (metapackage depending on the latest
vers
mariadb-server-10.1 - MariaDB database server binaries
mariadb-server-core-10.1 - MariaDB database core server files
mariadb-test - MariaDB database regression test suite
mariadb-test-data - MariaDB database regression test suite - data files
Closes: 830976
Changes:
mariadb-10.1 (10.1.22-1) unstable; urgency=high
.
[ Otto Kekäläinen ]
* New upstream release 10.1.22. Includes fixes for the following
security vulnerabilities:
- CVE-2017-3313
- CVE-2017-3302
* New upstream also includes fix to logrotate so that it no longer
risks interrupting binary/relay log processing on the server.
https://github.com/MariaDB/server/commit/156cf86defdc59353f37f6
* Add a NEWS.Debian item with same contents as the Stretch release notes
.
[ Ondřej Surý ]
* Add myself to Uploaders
* Use https URI for Homepage
* Use /usr/share/dpkg/default.mk to define dpkg-architecture and other
build variables
* Install and use non-versioned symbols files for kFreeBSD and Hurd
architectures
* Make mysql_config and mariadb.pc return -lmariadbclient instead of
missing -lmysqlclient
* Add mysqlclient.pc -> mariadb.pc symlink into
libmariadbclient-dev-compat package
* MDEV-11884: Fix logrotate failing if mysqld is not running (Closes:
#830976)
Checksums-Sha1:
2341ccb896398d6485c34c42fe62ed60adaef1ad 4381 mariadb-10.1_10.1.22-1.dsc
f736be3025a80cf1bb44a54cab057c6deeb6960f 61542321
mariadb-10.1_10.1.22.orig.tar.gz
5b95a7deb35bdcd7be5b99de37cad93c1266d0cd 214212
mariadb-10.1_10.1.22-1.debian.tar.xz
04f112c6762d387f2ef6e3517d5363909018f773 19967
mariadb-10.1_10.1.22-1_amd64.buildinfo
Checksums-Sha256:
0f818aa7d1bdefd73a1cda38a4a1753daae290d240f5963c2bd1ea978ff32559 4381
mariadb-10.1_10.1.22-1.dsc
bcb0572e7ad32cea9740a21e9255f733bdf60a5561ffbda317c22dd12b3966ce 61542321
mariadb-10.1_10.1.22.orig.tar.gz
f3112992e471a40103d924253a5242f6d75f0df7c511295abcdb4b51b0f7edd9 214212
mariadb-10.1_10.1.22-1.debian.tar.xz
51c8514ff425d390a7515ad3852607defdf206faeb59ceecb903af66dae68b5d 19967
mariadb-10.1_10.1.22-1_amd64.buildinfo
Files:
634ff2362aabbe2279d59aa0b7dbf752 4381 database optional
mariadb-10.1_10.1.22-1.dsc
8d11f4e20d3ef0bb1befe173de9213c8 61542321 database optional
mariadb-10.1_10.1.22.orig.tar.gz
9fc14f5482133e21aec998d0dd746442 214212 database optional
mariadb-10.1_10.1.22-1.debian.tar.xz
d13512079509c686139f2585ea745fc0 19967 database optional
mariadb-10.1_10.1.22-1_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQKTBAEBCgB9FiEEMLkz2A/OPZgaLTj7DJm3DvT8uwcFAljPmtxfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDMw
QjkzM0Q4MEZDRTNEOTgxQTJEMzhGQjBDOTlCNzBFRjRGQ0JCMDcACgkQDJm3DvT8
uwdL5xAA4r8/far6a46cBAgmhfAxk6R0VHzjxbRvdp4Q7Zzm02aif16/t/+cQ/SB
/nVyA7IgLpIF3p+si5M2V/Dz0hKJpQh4/SMOoLZULMgTHGGWuKL0ZDFdfRcgo789
7xjQ1fgmbzFeDO8qoBoc/ItrH8l8o5PeR3aOkHV/4xbTNO5G6ur+Yxk6MaaWAa23
hZb7cuax9yd80X0a/75hwR8Hggm/9Bx1d2sPTcsPo97KFxxMgGoQnF/EH/JoXPJY
eUdIwhJ+97+tkJdhaBAbi9HxXOfHCMLeNGYU0O0hneurnY0lEQqWU0wqHgc3d0ag
C5PB65ucDv5vUgg+nT7I9Icuz1yRZbUjthbNXIMB7KXJKj5dK7Lteu4DrGi8F3iJ
5lI3n7jRvQtOY146sHf18heNbBpaieHF8pNUyx9r+ZRxXwc5dhtDRPRxhQbp9b+S
2ZQ81rBaYlAV61lySpkcp8QXR5rsswe2fqqXH8JvqMi9ktvFwD3o4aTpWBTloXat
MHnZP2CoPUe7tIUJAte8FIFFXiI1BTFdN0FveZodG0VeEwVvAHNcnTHeTRMN92a4
33t8Jeh7hfCO+wqbnuI23g0LoTjfb8DlAbgw9lKlSBH/FzjdGzWp9/s5Xsc46MC1
LawnRyTtKR9XxFACUZpv2wKC8Z7zVCG/AQS78gOpT/cPQCQcNLU=
=Yo9n
-----END PGP SIGNATURE-----
--- End Message ---