Skip to content

Commit 22afd13

Browse files
committed
Debian/Hurd doesn't support auth_socket
Hurd doesn't have the mechanism to identify the user connecting to a socket via a system call as MDEV-8535 highlighted. As such it can't be supported so we disable it in Debian's mysql_release profile. Hurd string from uname -m, "SYSTEM processor: i686-AT386" in mariadb output. And wiki reference https://en.wikipedia.org/wiki/Uname Origin: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1006531
1 parent b490240 commit 22afd13

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

cmake/build_configurations/mysql_release.cmake

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,10 @@ ELSEIF(DEB)
121121
SET(WITH_ZLIB system CACHE STRING "")
122122
SET(WITH_LIBWRAP ON)
123123
SET(HAVE_EMBEDDED_PRIVILEGE_CONTROL ON)
124-
SET(PLUGIN_AUTH_SOCKET YES CACHE STRING "")
124+
# No hurd implementation
125+
IF(NOT CMAKE_SYSTEM_PROCESSOR STREQUAL "i686-AT386")
126+
SET(PLUGIN_AUTH_SOCKET YES CACHE STRING "")
127+
ENDIF()
125128
SET(WITH_EMBEDDED_SERVER ON CACHE BOOL "")
126129
SET(WITH_PCRE system CACHE STRING "")
127130
SET(CLIENT_PLUGIN_ZSTD OFF)

0 commit comments

Comments
 (0)