Details
-
Bug
-
Status: Closed (View Workflow)
-
Critical
-
Resolution: Fixed
-
10.11
-
Not for Release Notes
Description
The test main.socket_conflict fails in GitLab CI because it attempts to start mariadbd which refuses to run as root:
main.socket_conflict w7 [ fail ]
|
Test ended at 2026-06-08 20:52:08
|
CURRENT_TEST: main.socket_conflict
|
2026-06-08 20:52:04 0 [Warning] Could not increase number of max_open_files to more than 1024 (request: 32184)
|
2026-06-08 20:52:04 0 [Warning] Changed limits: max_open_files: 1024 max_connections: 151 (was 151) table_cache: 421 (was 2000)
|
/usr/sbin/mariadbd: Please consult the Knowledge Base to find out how to run mysqld as root!
|
2026-06-08 20:52:04 0 [ERROR] Aborting
|
Can't open file /usr/share/mariadb-test/var/tmp/7/socket_conflict.err: No such file or directory at /usr/share/mariadb-test/var/7/tmpkK3xbo line 14.
|
mysqltest: In included file "./include/search_pattern_in_file.inc":
|
included from /usr/share/mariadb-test/main/socket_conflict.test at line 45:
|
At line 65: command "perl" failed with error: 2 my_errno: 175 errno: 175
|
The result from queries just before the failure was:
|
#
|
# MDEV-5479: Prevent mysqld from unlinking a Unix socket
|
# file actively used by another process
|
#
|
#
|
# Test 1: Server must refuse to start when a listener is
|
# already present on the socket path
|
#
|
This is the same class of issue as MDEV-30002 (main.bad_startup_options).
Affects all branches that define this test (10.11+).
Attachments
Issue Links
- is caused by
-
MDEV-5479 mysqld daemon should check if any process uses the socket file before removing
-
- Closed
-
- relates to
-
MDEV-30002 Gitlab-CI: mysql-test-run fails on main.bad_startup_options
-
- Closed
-