Details
-
Bug
-
Status: Open (View Workflow)
-
Major
-
Resolution: Unresolved
-
10.4(EOL), 10.5
-
None
-
Linux
Description
Customer is getting the error in their log file, but it doesn't have additional information or typical error format.
The error:
Got error 1 from setreuid()
Could be clarified for example:
2020-07-07 10:32:14 0 [ERROR] Got error 1 from setreuid(). Is auth_pam_tool installed suid root?
That must be coming from this line:
https://github.com/MariaDB/server/blob/10.5/plugin/auth_pam/auth_pam_tool.c#L75
There are several possible errors generated by the setreuid() call:
https://man7.org/linux/man-pages/man2/setreuid.2.html#ERRORS
Telling which error it was might make it easier to debug.
Though most common will IMO be the permissions issue.