Your message dated Tue, 09 Nov 2021 19:00:12 +0000
with message-id <[email protected]>
and subject line Bug#994284: fixed in mariadb-10.6 1:10.6.4-1
has caused the Debian Bug report #994284,
regarding mariadb-10.5: Don't require debian.cnf to be executable in logrote 
configuration
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 [email protected]
immediately.)


-- 
994284: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=994284
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: mariadb-10.5
Version: 1:10.5.11-1
Severity: important
Tags: patch

Dear Maintainer,

When using a non-default configuration with password access to the database, 
the logrotate postscript fails causing the systemd service to be marked as 
failed:

 ● logrotate.service - Rotate log files
      Loaded: loaded (/lib/systemd/system/logrotate.service; static)
      Active: failed (Result: exit-code) since Wed 2021-09-15 00:00:01 CEST; 6h 
ago
 TriggeredBy: ● logrotate.timer
        Docs: man:logrotate(8)
              man:logrotate.conf(5)
     Process: 4138993 ExecStart=/usr/sbin/logrotate /etc/logrotate.conf 
(code=exited, status=1/FAILURE)
    Main PID: 4138993 (code=exited, status=1/FAILURE)
         CPU: 204ms

 Sep 15 00:00:01 foobar systemd[1]: Starting Rotate log files...
 Sep 15 00:00:01 foobar logrotate[4139061]: [64B blob data]
 Sep 15 00:00:01 foobar logrotate[4139061]: error: 'Access denied for user 
'root'@'localhost' (using password: NO)'
 Sep 15 00:00:01 foobar logrotate[4138993]: error: error running shared 
postrotate script for '/var/lib/mysql/mysqld.log /var/log/mysql/mysql.log 
/var/lib/mysql/mariadb.log /var/log/mysql/mysql-slow.log 
/var/log/mysql/mariadb-s>
 Sep 15 00:00:01 foobar systemd[1]: logrotate.service: Main process exited, 
code=exited, status=1/FAILURE
 Sep 15 00:00:01 foobar systemd[1]: logrotate.service: Failed with result 
'exit-code'.
 Sep 15 00:00:01 foobar systemd[1]: Failed to start Rotate log files.

The problem is that the postrotate script only uses /etc/mysql/debian.cnf when 
it is executable, which a config file should not be. Changing the test from -x 
to -r to ensure the file exists and is readable resolves the issue.

Please consider applying the attached patch and including it in the next stable 
update.

Kind Regards,

Bas
--- debian/patches/1556.patch.orig      2021-09-15 06:39:17.106829777 +0200
+++ debian/patches/1556.patch   2021-09-15 06:40:47.294168561 +0200
@@ -146,7 +146,7 @@
 +  # has thanks to the default use of Unix socket authentication for the 'root'
 +  # account used everywhere since MariaDB 10.4.
 +  postrotate
-+    if test -x /etc/mysql/debian.cnf
++    if test -r /etc/mysql/debian.cnf
 +    then
 +      EXTRAPARAM='--defaults-file=/etc/mysql/debian.cnf'
 +    fi

--- End Message ---
--- Begin Message ---
Source: mariadb-10.6
Source-Version: 1:10.6.4-1
Done: Otto Kekäläinen <[email protected]>

We believe that the bug you reported is fixed in the latest version of
mariadb-10.6, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Otto Kekäläinen <[email protected]> (supplier of updated mariadb-10.6 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 [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Thu, 21 Oct 2021 11:02:17 +0300
Source: mariadb-10.6
Binary: libmariadb-dev libmariadb-dev-compat libmariadb3 libmariadbd-dev 
libmariadbd19 mariadb-backup mariadb-client mariadb-client-10.6 
mariadb-client-core-10.6 mariadb-common mariadb-plugin-connect 
mariadb-plugin-cracklib-password-check mariadb-plugin-gssapi-client 
mariadb-plugin-gssapi-server mariadb-plugin-mroonga mariadb-plugin-oqgraph 
mariadb-plugin-rocksdb mariadb-plugin-s3 mariadb-plugin-spider mariadb-server 
mariadb-server-10.6 mariadb-server-core-10.6 mariadb-test mariadb-test-data
Architecture: source amd64 all
Version: 1:10.6.4-1
Distribution: unstable
Urgency: medium
Maintainer: Debian MySQL Maintainers <[email protected]>
Changed-By: Otto Kekäläinen <[email protected]>
Description:
 libmariadb-dev - MariaDB database development files
 libmariadb-dev-compat - MariaDB Connector/C, compatibility symlinks
 libmariadb3 - MariaDB database client library
 libmariadbd-dev - MariaDB embedded database, development files
 libmariadbd19 - MariaDB embedded database, shared library
 mariadb-backup - Backup tool for MariaDB server
 mariadb-client - MariaDB database client (metapackage depending on the latest 
vers
 mariadb-client-10.6 - MariaDB database client binaries
 mariadb-client-core-10.6 - MariaDB database core client binaries
 mariadb-common - MariaDB common configuration files
 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-rocksdb - RocksDB storage engine for MariaDB
 mariadb-plugin-s3 - Amazon S3 archival storage engine for MariaDB
 mariadb-plugin-spider - Spider storage engine for MariaDB
 mariadb-server - MariaDB database server (metapackage depending on the latest 
vers
 mariadb-server-10.6 - MariaDB database server binaries
 mariadb-server-core-10.6 - MariaDB database core server files
 mariadb-test - MariaDB database regression test suite
 mariadb-test-data - MariaDB database regression test suite - data files
Closes: 994284
Changes:
 mariadb-10.6 (1:10.6.4-1) unstable; urgency=medium
 .
   [ Bas Couwenberg ]
   * Don't require debian.cnf to be executable in logrotate (Closes: #994284)
 .
   [ Otto Kekäläinen ]
   * Add new overrides to be clean on Lintian v2.105.0
   * Salsa-CI: Add workarounds for Stretch->Bookworm upgrade bugs
   * Salsa-CI: Add testing for Bullseye upgrades and backports
   * Extend README.Contributor to include more QA and debugging tips
   * Make RocksDB plugin depend on python3:any to be Lintian clean
   * Adopt DEP-14 for the git repository layout
   * Import new upstream major release MariaDB 10.6.4
   * Update Debian packaging for MariaDB 10.6 series
   * Clean up d/copyright and remove obsolete licence-reconcile config
   * Extend Breaks/Replaces to cover all known MySQL variants
   * Skip upstream tests that are permanently broken
Checksums-Sha1:
 812004548ae1029cef0c6e406139e7eeb54d2212 4573 mariadb-10.6_10.6.4-1.dsc
 2f0ae577e07eca827474e86cb878b104c56ddfc1 81768627 
mariadb-10.6_10.6.4.orig.tar.gz
 ff39c3b7ccaf8a8e015963c78e7217dc07aef455 223516 
mariadb-10.6_10.6.4-1.debian.tar.xz
 086b47c4b5b4641f128419be514dd66095668776 34424 
libmariadb-dev-compat_10.6.4-1_amd64.deb
 7d72910fd2e95f1c58c6e8a15295c752280224b3 183588 
libmariadb-dev_10.6.4-1_amd64.deb
 5dce9a84855a0efd92aeefd8f1cbd12f89b73a22 174856 libmariadb3_10.6.4-1_amd64.deb
 8595df828fe42bbf0953fb0b9e6846a2ab646819 5990176 
libmariadbd-dev_10.6.4-1_amd64.deb
 99e38c5b640af734db95ed5351f7e1735f4a9814 4862152 
libmariadbd19_10.6.4-1_amd64.deb
 afb2f1355eb0500989799cf605aed5cc0fe1692d 15678 
mariadb-10.6_10.6.4-1_amd64.buildinfo
 60c2c811adc05aec35a36d0320cc22d896e6e931 6069116 
mariadb-backup_10.6.4-1_amd64.deb
 793f101634a1ecc6ac181c8bd40587a858d8dd6c 1503488 
mariadb-client-10.6_10.6.4-1_amd64.deb
 5571cc209f961dc48e509aa8701a52d0cfd6b404 780472 
mariadb-client-core-10.6_10.6.4-1_amd64.deb
 9f870cf3feb536f575b009211d866605bac837f1 34068 mariadb-client_10.6.4-1_all.deb
 fbeecb1b26d6c48249fee4501d10900ed56fa138 35608 mariadb-common_10.6.4-1_all.deb
 c2f8339226aae53a0d874eb4a824e56694927220 544468 
mariadb-plugin-connect_10.6.4-1_amd64.deb
 e10b1eeb9e233273d344ebaf2563d63f064a336b 36176 
mariadb-plugin-cracklib-password-check_10.6.4-1_amd64.deb
 42365314275a8c9c97571090aacffcb00c4e36dd 37084 
mariadb-plugin-gssapi-client_10.6.4-1_amd64.deb
 81ff09ea1e901d0b06264b8e67972a21bba4c8b3 38520 
mariadb-plugin-gssapi-server_10.6.4-1_amd64.deb
 149ff9080d25aab8209712045122c109e4424e3b 1159640 
mariadb-plugin-mroonga_10.6.4-1_amd64.deb
 77e7c986e9050848d6e3415b8abc0ae006c09055 96856 
mariadb-plugin-oqgraph_10.6.4-1_amd64.deb
 36c43de23b632b1a149435c477d86809b2f74dbe 2471996 
mariadb-plugin-rocksdb_10.6.4-1_amd64.deb
 c2678b32b5643a2c191ac9fefff0e473c1224c03 803972 
mariadb-plugin-s3_10.6.4-1_amd64.deb
 a88075d4b9e396b735490c319820e2a707d2ac2d 386584 
mariadb-plugin-spider_10.6.4-1_amd64.deb
 0e25868af7f6c7a9231005f480646b061476cdd9 4257504 
mariadb-server-10.6_10.6.4-1_amd64.deb
 618874cb49b8d8c0c83bc419d4a0a8ce52da29f7 6732744 
mariadb-server-core-10.6_10.6.4-1_amd64.deb
 0ecb6ccadaad82e059dbcff547f378a100e1a61f 34192 mariadb-server_10.6.4-1_all.deb
 189ee47fadd49b416de8ed2d6c04bf2bb9ecbc24 17957556 
mariadb-test-data_10.6.4-1_all.deb
 21c2697b455cb029f3cddca9c2879582208fbc37 11576332 
mariadb-test_10.6.4-1_amd64.deb
Checksums-Sha256:
 c56d9a204f27b4f8d5f7ac07bdda0f0ff8c092264724a3eec3611c9d9a1d223b 4573 
mariadb-10.6_10.6.4-1.dsc
 55179fc9487439c3a96c4f19277f47eef6495fef8dc123ad269c28acfe52d752 81768627 
mariadb-10.6_10.6.4.orig.tar.gz
 f4ea10939c36ab7b490f1dadbf47490feb281245a2250b8feddffab3bcf4ffc2 223516 
mariadb-10.6_10.6.4-1.debian.tar.xz
 7d9716f3debd1c58ec9f2b3708243a968520078ee551a80cce61c23e4be44467 34424 
libmariadb-dev-compat_10.6.4-1_amd64.deb
 c0e8ac9b1da3bafacccff9e9087893001960f0b5da5d8912b6660abdefe44ec4 183588 
libmariadb-dev_10.6.4-1_amd64.deb
 3b910389384f19f8ff5ed7d9c06b487b2751a893cd01067aa06fdbcc7e01bf9c 174856 
libmariadb3_10.6.4-1_amd64.deb
 da56a81b08193ca08355835a5553258a6dff98401126a445d3dc8d37a58b6964 5990176 
libmariadbd-dev_10.6.4-1_amd64.deb
 6cbe4028b3e9b76fd282f3e9286cabb87b4bb70467abc838345fb8018754620f 4862152 
libmariadbd19_10.6.4-1_amd64.deb
 e713227fb5908e2054e2181dda12542851d3d18f44fd87898461c36f235c35f4 15678 
mariadb-10.6_10.6.4-1_amd64.buildinfo
 75c375b633b472527ae8e427b37a338902c18038e5a639c8a0c234e03436c2c0 6069116 
mariadb-backup_10.6.4-1_amd64.deb
 6ea7aaa5a35c10310703f379775c87dc1bccad5fb20a91098db80fb4bbb0523f 1503488 
mariadb-client-10.6_10.6.4-1_amd64.deb
 f09a3c91a587517b590314fc88271e8809c3b8f2e5a15c3d7ebd94d1578fb0fa 780472 
mariadb-client-core-10.6_10.6.4-1_amd64.deb
 0a3ea371c5d37da9d18fab173e6b2c5650d4f5e2d49eb13547ad0babe8aca183 34068 
mariadb-client_10.6.4-1_all.deb
 e852d11f808fa72319a507c75b9fa4e6b47d6d1a3d9ed8e31f94f0d95485b3c8 35608 
mariadb-common_10.6.4-1_all.deb
 64f8e2d7de5fe261a60760464fe157373782f17c787d8def6d5044842bc1147a 544468 
mariadb-plugin-connect_10.6.4-1_amd64.deb
 eb5b87607f2889c688a67e4d0a11b02952e8f1bbc0436339981af5d91cbf9eb8 36176 
mariadb-plugin-cracklib-password-check_10.6.4-1_amd64.deb
 c7172561f6bddf6715efa5efd08de48b7b4413f30a9ef96b91898cce17dd5814 37084 
mariadb-plugin-gssapi-client_10.6.4-1_amd64.deb
 1aa9c9f1ee7d8f5da98a5a22324dfd334ed778973100741ad5ef09ffa1071b7d 38520 
mariadb-plugin-gssapi-server_10.6.4-1_amd64.deb
 607d0c18dec91f841a4174ea798c8bb89ce926733ec3f198c8653367af9ac62f 1159640 
mariadb-plugin-mroonga_10.6.4-1_amd64.deb
 3241a3a20416f08a840061c8535a72c1a2eeaac8ba9e31f2dfee96a6ff0efb59 96856 
mariadb-plugin-oqgraph_10.6.4-1_amd64.deb
 4f68226cfdafe7644128433027b3643ced22ee51ee0a93b2a32de74dcb178545 2471996 
mariadb-plugin-rocksdb_10.6.4-1_amd64.deb
 69b8c7bbf731499931447a7beaa7ad6dddda389cc521c5953c8d8c769e93441e 803972 
mariadb-plugin-s3_10.6.4-1_amd64.deb
 ffbbf41033e99b93157836a79941410fb564b92b3feaa801645311af0015e6ab 386584 
mariadb-plugin-spider_10.6.4-1_amd64.deb
 124af9b1a697192cdccef17a7dfcf8df713862e5efd8b770c90a3935a25a2336 4257504 
mariadb-server-10.6_10.6.4-1_amd64.deb
 ba09b801474c10e5ed8278865f87a133ed3cd0ec79e8e6eddeb13114cee02057 6732744 
mariadb-server-core-10.6_10.6.4-1_amd64.deb
 86cba1fb50c5a8a91bfd4b9ec858dacf3e2f705b7d1ec07aae3c9fd3cd9ed237 34192 
mariadb-server_10.6.4-1_all.deb
 cd478c7d71d4952cb7a3e3db3ce58b473a33a436010458c12527f9da06b0bac5 17957556 
mariadb-test-data_10.6.4-1_all.deb
 36bdb652692fc7ce598b3447f40d0616d5d3c9bb01d56e48b3132db49ea059b1 11576332 
mariadb-test_10.6.4-1_amd64.deb
Files:
 d014f4e36077b50d62dfff6458559a3f 4573 database optional 
mariadb-10.6_10.6.4-1.dsc
 6ea5e1d97abc09ee3807af36bfa8dffa 81768627 database optional 
mariadb-10.6_10.6.4.orig.tar.gz
 6147d635ec4fbcb90d554aaa33c9d309 223516 database optional 
mariadb-10.6_10.6.4-1.debian.tar.xz
 40f06b24135d64595f5aa79fda96d5a9 34424 libdevel optional 
libmariadb-dev-compat_10.6.4-1_amd64.deb
 f10c213ee4913df2c0f239bc82def204 183588 libdevel optional 
libmariadb-dev_10.6.4-1_amd64.deb
 6ce22b43f4d192d273acd2089468ac84 174856 libs optional 
libmariadb3_10.6.4-1_amd64.deb
 8577579675b5980fc67ca555288dfe42 5990176 libdevel optional 
libmariadbd-dev_10.6.4-1_amd64.deb
 15fdfc0a3865f55255e4c8b8f5e237fe 4862152 libs optional 
libmariadbd19_10.6.4-1_amd64.deb
 b1edec10a2eb3981bf27f31df299c588 15678 database optional 
mariadb-10.6_10.6.4-1_amd64.buildinfo
 0c53c03b23112cb2b43c6bd688a0d6d0 6069116 database optional 
mariadb-backup_10.6.4-1_amd64.deb
 7bf6da7c1bbd11912e67e532af588d37 1503488 database optional 
mariadb-client-10.6_10.6.4-1_amd64.deb
 8998bfe6a6a1bea67d1b2bb36ba20129 780472 database optional 
mariadb-client-core-10.6_10.6.4-1_amd64.deb
 694309565d566d067ba393a70ef40a0d 34068 database optional 
mariadb-client_10.6.4-1_all.deb
 430d6537b89b907eda9a5cb9b220b338 35608 database optional 
mariadb-common_10.6.4-1_all.deb
 0ad4650f6e7448290cb669b8a91b5f43 544468 database optional 
mariadb-plugin-connect_10.6.4-1_amd64.deb
 9646baefa3e78fe340d3c92f3cc00e5f 36176 database optional 
mariadb-plugin-cracklib-password-check_10.6.4-1_amd64.deb
 49985461d2808c07d9793d4463fa96e0 37084 database optional 
mariadb-plugin-gssapi-client_10.6.4-1_amd64.deb
 2b28b585884092d7c7cb01d7fcf2b97a 38520 database optional 
mariadb-plugin-gssapi-server_10.6.4-1_amd64.deb
 369390ebce799260081067f2146b6bf0 1159640 database optional 
mariadb-plugin-mroonga_10.6.4-1_amd64.deb
 fbf5263cf81afdbe251a97148e28e30f 96856 database optional 
mariadb-plugin-oqgraph_10.6.4-1_amd64.deb
 7b8b0e1a4c3a3430ce241ec28f5630e6 2471996 database optional 
mariadb-plugin-rocksdb_10.6.4-1_amd64.deb
 43d25578d833e18bdceb41a731f3e920 803972 database optional 
mariadb-plugin-s3_10.6.4-1_amd64.deb
 929b7ff824945c06c4d03d0c031e27a5 386584 database optional 
mariadb-plugin-spider_10.6.4-1_amd64.deb
 5a53bfa6c54ab88f4e4dec67c172b29c 4257504 database optional 
mariadb-server-10.6_10.6.4-1_amd64.deb
 61c2cfbfef99358fc360c98f48109947 6732744 database optional 
mariadb-server-core-10.6_10.6.4-1_amd64.deb
 a87643cfd61ff29b5727151dcb6bbae6 34192 database optional 
mariadb-server_10.6.4-1_all.deb
 e5b1b6894bf399f6e687b63cd97ffd48 17957556 database optional 
mariadb-test-data_10.6.4-1_all.deb
 416126fcce92358234b3780333020a2a 11576332 database optional 
mariadb-test_10.6.4-1_amd64.deb

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEmbRSsR88dMO0U+RvvthEn87o2ogFAmFxUHEACgkQvthEn87o
2ohSaQ/+L227E0dWK3Z/2pvr70yPmO0h/cBf71R5sOggLBiNjhYIvHMdvWUMu0eV
sf6g99TpidZsPm6rr+QVDCdj5Hi3ahRTYRunpYZOk5RG1y463hL9yoJt1l4I99gY
+M8pJizb54+fys8WKEmGhKTImylstbk/5wVGTGB4Zzh04Cc7yeVDUu04yd0AJYxw
Ca0qbQSPY3kL8OxS4hvp20xzzB2hmfxzmk8qq/hlAr1PefRUhJbTlvC9VtIshqMX
4PAqlwBpq7kLqONLy+JLR9M3pZeyhpf0gAsOGVShrOfphrpFvR5IthCYfE/Rv9cD
Gg8/oTEvmqgTSwdz/SocWdWgj6RPXbAayv1hiGlNQhzTyP0YERtu09PBDFZbvw4e
S48wCxHymSM9TQ3jRsucJ55HfmUwk+Xo/MkHTh0zzGmbF1H67DapXJuYCl8DPk4r
oqE5miiPnYDgbm/AkMws0yZlcX+0WvEn+1JBodhW7750INoryweCoumlZuobiS3g
OVoqN8cB76YQ7c5ER10UouTRZVmW+JnKy+g696I2PrCXZ1dS3+Akb538JBRBeu4I
aKXBZOfXV1bDt5YSlczUBMVH2L4qjtWoObH9POpVVgMC08xqV2LUKymuRzHaOOXl
rMO6aahyT2zzpDam1F7kH0zDE2r8BxHdbMCLZg6nlFakw42Y4Z8=
=NUDS
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to