Your message dated Sat, 21 Nov 2026 21:49:46 +0000
with message-id <[email protected]>
and subject line Bug#1128799: fixed in anope 2.0.20-1
has caused the Debian Bug report #1128799,
regarding anope: Fails to access SQL database with MariaDB version shipped in
Debian Trixie
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.)
--
1128799: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1128799
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: anope
Version: 2.0.17-1
Severity: important
Dear Maintainer,
The newer version of MariaDB that ships with Debian Trixie causes a regression
in anope with db_sql_live based databases where Anope cannot access the
database at all. There is a patch
and this has been fixed upstream in anope.
This is a pretty serious bug that causes Anope not to work and pull any user or
channel data from the database.
Here are my logs of this bug on anope version 2.0.17-1 on Debian Trixie.
[Feb 22 16:43:36 2026] Loading databases...
[Feb 22 16:43:36 2026] Databases loaded
[Feb 22 16:43:36 2026] SQL-live got 0 rows for SELECT * FROM `anope_db_BotInfo`
WHERE (`timestamp` >= FROM_UNIXTIME(0) OR `timestamp` IS NULL)
[Feb 22 16:43:36 2026] SQL-live got 0 rows for SELECT * FROM
`anope_db_AJoinEntry` WHERE (`timestamp` >= FROM_UNIXTIME(0) OR `timestamp` IS
NULL)
[Feb 22 16:43:36 2026] SQL-live got error Table
'obd_irc_anope.anope_db_AutoKick' doesn't exist for SELECT * FROM
`anope_db_AutoKick` WHERE (`timestamp` >= FROM_UNIXTIME(0) OR `timestamp` IS
NULL)
[Feb 22 16:43:36 2026] SQL-live got error Table
'obd_irc_anope.anope_db_BadWord' doesn't exist for SELECT * FROM
`anope_db_BadWord` WHERE (`timestamp` >= FROM_UNIXTIME(0) OR `timestamp` IS
NULL)
[Feb 22 16:43:36 2026] SQL-live got 0 rows for SELECT * FROM
`anope_db_CSMiscData` WHERE (`timestamp` >= FROM_UNIXTIME(0) OR `timestamp` IS
NULL)
[Feb 22 16:43:36 2026] SQL-live got error Table
'obd_irc_anope.anope_db_CSSuspendInfo' doesn't exist for SELECT * FROM
`anope_db_CSSuspendInfo` WHERE (`timestamp` >= FROM_UNIXTIME(0) OR `timestamp`
IS NULL)
[Feb 22 16:43:36 2026] SQL-live got 0 rows for SELECT * FROM
`anope_db_ChanAccess` WHERE (`timestamp` >= FROM_UNIXTIME(0) OR `timestamp` IS
NULL)
[Feb 22 16:43:36 2026] SQL-live got 0 rows for SELECT * FROM
`anope_db_ChannelInfo` WHERE (`timestamp` >= FROM_UNIXTIME(0) OR `timestamp` IS
NULL)
[Feb 22 16:43:36 2026] SQL-live got error Table
'obd_irc_anope.anope_db_EntryMsg' doesn't exist for SELECT * FROM
`anope_db_EntryMsg` WHERE (`timestamp` >= FROM_UNIXTIME(0) OR `timestamp` IS
NULL)
[Feb 22 16:43:36 2026] SQL-live got error Table
'obd_irc_anope.anope_db_Exception' doesn't exist for SELECT * FROM
`anope_db_Exception` WHERE (`timestamp` >= FROM_UNIXTIME(0) OR `timestamp` IS
NULL)
[Feb 22 16:43:36 2026] SQL-live got error Table
'obd_irc_anope.anope_db_ForbidData' doesn't exist for SELECT * FROM
`anope_db_ForbidData` WHERE (`timestamp` >= FROM_UNIXTIME(0) OR `timestamp` IS
NULL)
[Feb 22 16:43:36 2026] SQL-live got error Table
'obd_irc_anope.anope_db_IgnoreData' doesn't exist for SELECT * FROM
`anope_db_IgnoreData` WHERE (`timestamp` >= FROM_UNIXTIME(0) OR `timestamp` IS
NULL)
[Feb 22 16:43:36 2026] SQL-live got error Table
'obd_irc_anope.anope_db_LogSetting' doesn't exist for SELECT * FROM
`anope_db_LogSetting` WHERE (`timestamp` >= FROM_UNIXTIME(0) OR `timestamp` IS
NULL)
[Feb 22 16:43:36 2026] SQL-live got 0 rows for SELECT * FROM `anope_db_Memo`
WHERE (`timestamp` >= FROM_UNIXTIME(0) OR `timestamp` IS NULL)
[Feb 22 16:43:36 2026] SQL-live got 0 rows for SELECT * FROM
`anope_db_ModeLock` WHERE (`timestamp` >= FROM_UNIXTIME(0) OR `timestamp` IS
NULL)
[Feb 22 16:43:36 2026] SQL-live got 0 rows for SELECT * FROM
`anope_db_NSMiscData` WHERE (`timestamp` >= FROM_UNIXTIME(0) OR `timestamp` IS
NULL)
[Feb 22 16:43:36 2026] SQL-live got error Table
'obd_irc_anope.anope_db_NSSuspendInfo' doesn't exist for SELECT * FROM
`anope_db_NSSuspendInfo` WHERE (`timestamp` >= FROM_UNIXTIME(0) OR `timestamp`
IS NULL)
[Feb 22 16:43:36 2026] SQL-live got error Table
'obd_irc_anope.anope_db_NewsItem' doesn't exist for SELECT * FROM
`anope_db_NewsItem` WHERE (`timestamp` >= FROM_UNIXTIME(0) OR `timestamp` IS
NULL)
[Feb 22 16:43:36 2026] SQL-live got 0 rows for SELECT * FROM
`anope_db_NickAlias` WHERE (`timestamp` >= FROM_UNIXTIME(0) OR `timestamp` IS
NULL)
[Feb 22 16:43:36 2026] SQL-live got 0 rows for SELECT * FROM
`anope_db_NickCore` WHERE (`timestamp` >= FROM_UNIXTIME(0) OR `timestamp` IS
NULL)
[Feb 22 16:43:36 2026] SQL-live got error Table
'obd_irc_anope.anope_db_OperInfo' doesn't exist for SELECT * FROM
`anope_db_OperInfo` WHERE (`timestamp` >= FROM_UNIXTIME(0) OR `timestamp` IS
NULL)
[Feb 22 16:43:36 2026] SQL-live got 0 rows for SELECT * FROM
`anope_db_SeenInfo` WHERE (`timestamp` >= FROM_UNIXTIME(0) OR `timestamp` IS
NULL)
[Feb 22 16:43:36 2026] SQL-live got 0 rows for SELECT * FROM `anope_db_Stats`
WHERE (`timestamp` >= FROM_UNIXTIME(0) OR `timestamp` IS NULL)
[Feb 22 16:43:36 2026] SQL-live got error Table 'obd_irc_anope.anope_db_XLine'
doesn't exist for SELECT * FROM `anope_db_XLine` WHERE (`timestamp` >=
FROM_UNIXTIME(0) OR `timestamp` IS NULL)
[Feb 22 16:43:36 2026] Attempting to connect to uplink #1 127.0.0.1
(127.0.0.1/6698) with protocol InspIRCd 3
[Feb 22 16:43:36 2026] m_mysql: Fetching columns for anope_db_BotInfo
[Feb 22 16:43:36 2026] m_mysql: Column #0 for anope_db_BotInfo: id
[Feb 22 16:43:36 2026] m_mysql: Column #1 for anope_db_BotInfo: timestamp
[Feb 22 16:43:36 2026] m_mysql: Column #2 for anope_db_BotInfo: created
[Feb 22 16:43:36 2026] m_mysql: Column #3 for anope_db_BotInfo: host
[Feb 22 16:43:36 2026] m_mysql: Column #4 for anope_db_BotInfo: nick
[Feb 22 16:43:36 2026] m_mysql: Column #5 for anope_db_BotInfo: oper_only
[Feb 22 16:43:36 2026] m_mysql: Column #6 for anope_db_BotInfo: realname
[Feb 22 16:43:36 2026] m_mysql: Column #7 for anope_db_BotInfo: user
[Feb 22 16:43:36 2026] SQL-live got 0 rows for INSERT INTO `anope_db_BotInfo`
(`id`,`created`,`host`,`nick`,`oper_only`,`realname`,`user`) VALUES
(0,'1771796616','openbackdoor.com','ChanServ','0','Open Backdoor IRC
Services','irc') ON DUPLICATE KEY UPDATE
`created`=VALUES(`created`),`host`=VALUES(`host`),`nick`=VALUES(`nick`),`oper_only`=VALUES(`oper_only`),`realname`=VALUES(`realname`),`user`=VALUES(`user`)
[Feb 22 16:43:36 2026] Successfully connected to uplink #1 127.0.0.1:6698
MariaDB [obd_irc_anope]> SELECT * FROM `anope_db_BotInfo` WHERE (`timestamp` >=
FROM_UNIXTIME(0) OR `timestamp` IS NULL);
Empty set, 1 warning (0.001 sec)
MariaDB [obd_irc_anope]> SHOW WARNINGS;
+---------+------+-------------------------------------------+
| Level | Code | Message |
+---------+------+-------------------------------------------+
| Warning | 1292 | Truncated incorrect unixtime value: '0.0' |
+---------+------+-------------------------------------------+
1 row in set (0.000 sec)
See:
https://github.com/anope/anope/issues/474
https://jira.mariadb.org/browse/MDEV-36126
Patch:
https://github.com/anope/anope/commit/227caba7838f680c24e730ad3a4f534b59763dbc
I would greatly appreciate it if you could upload a patch against the current
stable version into proposed-updates on stable so we can get this fix asap on
trixie. As it stands the only current workaround
is export the SQL database into an anope flatfile, or use the non-live sql
engine which is delayed. The patch is trivial and should have no issues getting
this fixed in stable.
Thank you,
Victor Coss
--- End Message ---
--- Begin Message ---
Source: anope
Source-Version: 2.0.20-1
Done: Dominic Hargreaves <[email protected]>
We believe that the bug you reported is fixed in the latest version of
anope, 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.
Dominic Hargreaves <[email protected]> (supplier of updated anope 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: Sat, 21 Nov 2026 21:26:38 +0000
Source: anope
Architecture: source
Version: 2.0.20-1
Distribution: unstable
Urgency: medium
Maintainer: Dominic Hargreaves <[email protected]>
Changed-By: Dominic Hargreaves <[email protected]>
Closes: 1105047 1128799 1137310
Changes:
anope (2.0.20-1) unstable; urgency=medium
.
* New upstream release (Closes: #1105047).
- fix compatibility with current MariaDB (Closes: #1128799)
- Addresses security issues:
- SQL injection in m_chanstats
- LDAP injection
- RESETPASS skipped admin approval
* Update debian/watch from sourceforge to github
* Refresh d/copyright
* Refresh default configs from upstream
* Change build-dep on default-libmysqlclient-dev to libmariadb-dev-compat
(Closes: #1137310)
Checksums-Sha1:
0f4b89a3cd5fc5aef1168c4b0bc418630640df83 1906 anope_2.0.20-1.dsc
60bace82b51915a9e3e8d59e47b6cb6d01e38d57 1661251 anope_2.0.20.orig.tar.gz
1e1ead10efaf65ac409ae14a5756f82bf5e0517e 43188 anope_2.0.20-1.debian.tar.xz
6a5c4730707e7c3d883b1f9a49551e06665314ec 8053 anope_2.0.20-1_source.buildinfo
Checksums-Sha256:
86599f0316f3e4c1962f466ab6334200493d239b217a3a4e95a27563d0d6aef2 1906
anope_2.0.20-1.dsc
646cc6d24dea62fac54285780ebb05ad794a3dbabe6aca1ae6c69a939b0a0734 1661251
anope_2.0.20.orig.tar.gz
636babf3960d56a09a333e2b919ce132c8075a5016896e123c3d773785e9ae92 43188
anope_2.0.20-1.debian.tar.xz
98503767e21e40ff8807463ac255a5ee4ca32869b0b4189fc5cc9851fea7b54a 8053
anope_2.0.20-1_source.buildinfo
Files:
ed1a7635cfd6cc40e9dfe1b03155da4f 1906 net optional anope_2.0.20-1.dsc
0b8274dd699926d560ea3774984e79e1 1661251 net optional anope_2.0.20.orig.tar.gz
4267f34db559d09c57210d36b8010696 43188 net optional
anope_2.0.20-1.debian.tar.xz
af05609c9b22542af521543352a6bc71 8053 net optional
anope_2.0.20-1_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQJBBAEBCgArFiEEy0llJ/kAnyscGnbawAV+cU1pT7IFAmsCDSoNHGRvbUBlYXJ0
aC5saQAKCRDABX5xTWlPssGzD/9Z+ONgi5xOF8GypEMIDYIYYEgnSFY0tu6X1uUh
g1cn4uwE4VN8W+cVSavszzofuGfTjPn+VZp3zE+7Fn2Tuxe6xBFfsC2eFkOMzcr7
wQjB0OXF2l/K+bT9P1wRydVGFRa8B/2q/AXKzDfZpw12G/SP/cO0+ykbLUejapGU
KHoGnDZTPVFS5rPY+zNnVeDfoAi63JtC3w6g8J9jTB3CePkj2e1XBfSJMkd2B0z4
biFigNz1YU9cHKifiOmP+cNI5q85h0yYrQjv6S41JSCR8t3mmkrTPZ7h5QU+Ql4t
5Dao1ElEN9rkcFW0K9qdIUshv3oJMsUXXCtK4FKzQ6I8kVyAnJDpR+EpnWtruCe/
a/zDdeDS8aveHJSulx3gM+0/XK1OhS9CM0Jk1lcy0/Mn1eNWW7G4En5+l9TuujKJ
RovasJqHfF900+Wx4VCiYuimkitq0sOe5nLvMASJczsWZ8iDNDn6x3QwWHiAj6CS
FdkX7H0IOy9JcMZXjFMr2gXcZ9PuXsbg6XUOdypbamDmg2gFh7QQ2ETNmzO+geor
JJvYTMCUyI7zYr2eLAtwZKv2jINcrYzKi87Rnry/HVUnXCA72PEcV/6yurkow//S
rtwEIhEiSpdtcX30JZ59iYwwDAcUPzYkfvRVAXsLuBCcJ5eOYOCYygeMqhk9rSo5
2aU89Q==
=8IGM
-----END PGP SIGNATURE-----
pgpVgEAHIzAre.pgp
Description: PGP signature
--- End Message ---