[packages/mysql] Up to 9.7.4

arekm arekm at pld-linux.org
Fri Oct 30 21:52:36 CET 2026


commit b4dfd213187130ee15da916bbb1622c74369becb
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Fri Oct 30 14:52:16 2026 +0100

    Up to 9.7.4
    
    Fixes CVE-2026-101803, CVE-2026-101802, CVE-2026-101801,
    CVE-2026-101800, CVE-2026-101799, CVE-2026-101798, CVE-2026-101797,
    CVE-2026-101796, CVE-2026-101795, CVE-2026-101794, CVE-2026-101789,
    CVE-2026-101788, CVE-2026-101787, CVE-2026-101785, CVE-2026-101784,
    CVE-2026-101781, CVE-2026-101780, CVE-2026-101779, CVE-2026-101778,
    CVE-2026-101777, CVE-2026-101776, CVE-2026-101775, CVE-2026-101774,
    CVE-2026-101773, CVE-2026-101772, CVE-2026-101771, CVE-2026-101770,
    CVE-2026-101766, CVE-2026-101762, CVE-2026-101761, CVE-2026-101760,
    CVE-2026-101756, CVE-2026-101754, CVE-2026-101753, CVE-2026-101752,
    CVE-2026-101751, CVE-2026-101750, CVE-2026-101748, CVE-2026-101747,
    CVE-2026-101733, CVE-2026-101732, CVE-2026-101731, CVE-2026-101730,
    CVE-2026-101729, CVE-2026-101728, CVE-2026-101727, CVE-2026-101726,
    CVE-2026-101725, CVE-2026-101724, CVE-2026-101722, CVE-2026-101721,
    CVE-2026-101679, CVE-2026-101637, CVE-2026-101629, CVE-2026-101627,
    CVE-2026-101624, CVE-2026-101623, CVE-2026-101622, CVE-2026-101621,
    CVE-2026-101620, CVE-2026-101619, CVE-2026-101618, CVE-2026-101617,
    CVE-2026-101616, CVE-2026-101615, CVE-2026-101614, CVE-2026-101613,
    CVE-2026-101612, CVE-2026-101611, CVE-2026-101610, CVE-2026-101609,
    CVE-2026-101608, CVE-2026-101607.
    
    Start mysqld at an absolute nice level, as rc-scripts daemon() does:
    nice -n adds to the caller's niceness, so a mysqld restarted from a
    niced cron job kept nice 15.
    
    The WebAuthn server plugin links libfido2, so it goes to a new
    -server-plugins package instead of pulling libfido2 into the server.

 mysql.init |  3 ++-
 mysql.spec | 27 ++++++++++++++++++++++++---
 2 files changed, 26 insertions(+), 4 deletions(-)
---
diff --git a/mysql.spec b/mysql.spec
index b202f52..2b6f2a5 100644
--- a/mysql.spec
+++ b/mysql.spec
@@ -30,13 +30,13 @@ Summary(zh_CN.UTF-8):	MySQL数据库服务器
 %define majorver	9.7
 Name:		mysql%{majorver}
 # keep stable (and not "innovation") line here
-Version:	9.7.2
+Version:	9.7.4
 Release:	1
 License:	GPL v2 + MySQL FOSS License Exception
 Group:		Applications/Databases
 #Source0Download: https://dev.mysql.com/downloads/mysql/%{majorver}.html#downloads
-Source0:	http://cdn.mysql.com/Downloads/MySQL-%{majorver}/mysql-%{version}.tar.gz
-# Source0-md5:	dd0a38f0e4187f0f096964363c37c4ba
+Source0:	https://cdn.mysql.com/Downloads/MySQL-%{majorver}/mysql-%{version}.tar.gz
+# Source0-md5:	55a8f054435120d47d7a8700986997fd
 Source1:	mysql.init
 Source2:	mysql.sysconfig
 Source3:	mysql.logrotate
@@ -92,6 +92,7 @@ Requires:	%{name}-libs = %{version}-%{release}
 Requires:	/usr/bin/setsid
 Requires:	rc-scripts >= 0.2.0
 Suggests:	%{name}-client
+Suggests:	%{name}-server-plugins = %{version}-%{release}
 %{?with_tcpd:Suggests:	tcp_wrappers}
 Suggests:	vim-syntax-mycnf
 Provides:	MySQL-server
@@ -314,6 +315,22 @@ WebAuthn (FIDO2). Ten pakiet jest potrzebny, jeśli konto MySQL-a, z
 którego się łączysz, używa metody authentication_ldap_sasl lub
 authentication_webauthn.
 
+%package server-plugins
+Summary:	MySQL server-side authentication plugins
+Summary(pl.UTF-8):	Wtyczki uwierzytelniania po stronie serwera dla MySQL-a
+Group:		Applications/Databases
+Requires:	%{name} = %{version}-%{release}
+
+%description server-plugins
+Server-side authentication plugins for MySQL: WebAuthn (FIDO2).
+Install this if MySQL accounts are to use the authentication_webauthn
+method.
+
+%description server-plugins -l pl.UTF-8
+Wtyczki uwierzytelniania po stronie serwera dla MySQL-a: WebAuthn
+(FIDO2). Ten pakiet jest potrzebny, jeśli konta MySQL-a mają używać
+metody authentication_webauthn.
+
 %package devel
 Summary:	MySQL - development header files and other files
 Summary(pl.UTF-8):	MySQL - Pliki nagłówkowe i inne dla programistów
@@ -819,6 +836,10 @@ fi
 %attr(755,root,root) %{_libdir}/%{name}/plugin/authentication_ldap_sasl_client.so
 %attr(755,root,root) %{_libdir}/%{name}/plugin/authentication_webauthn_client.so
 
+%files server-plugins
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/%{name}/plugin/authentication_webauthn.so
+
 %files devel
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_bindir}/mysql_config
diff --git a/mysql.init b/mysql.init
index 1e35a8d..cb23a29 100755
--- a/mysql.init
+++ b/mysql.init
@@ -280,7 +280,8 @@ mysqlstart() {
 	# SERVICE_LIMITS isn't applied automatically: mysqld is started directly, not via daemon()
 	_daemon_set_ulimits
 
-	TMPDIR=/tmp nice -n ${SERVICE_RUN_NICE_LEVEL:-$DEFAULT_SERVICE_RUN_NICE_LEVEL} \
+	# absolute nice level, as daemon() sets it; nice -n alone adds to the caller's level
+	TMPDIR=/tmp nice -n $((${SERVICE_RUN_NICE_LEVEL:-$DEFAULT_SERVICE_RUN_NICE_LEVEL} - $(nice))) \
 		/usr/bin/setsid /usr/sbin/mysqld{MYSQL_MAJOR} \
 			--defaults-file=$MYSQL_CONFIG \
 			--datadir=$MYSQL_DATA_DIR \
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/mysql.git/commitdiff/b4dfd213187130ee15da916bbb1622c74369becb



More information about the pld-cvs-commit mailing list