Bug #97062 main.mysql_os_user fails if SUDO_USER environment variable is set
Submitted: 30 Sep 2019 10:19 Modified: 1 Oct 2019 15:10
Reporter: Lars Tangvald Email Updates:
Status: Closed Impact on me:
None 
Category:Tests Severity:S7 (Test Cases)
Version:8.0.17 OS:Any
Assigned to: CPU Architecture:Any

[30 Sep 2019 10:19] Lars Tangvald
Description:
The client will pass on the value of this environment variable to be stored as os_sudouser for the connection, but anyone can set this variable, and it will cause an mtr failure.

How to repeat:
- Set environment variable SUDO_USER=foo
- run test main.mysql_os_user

Suggested fix:
-
[1 Oct 2019 15:10] Paul DuBois
Posted by developer:
 
Fixed in 8.0.19.

Work was done for test suite. No changelog entry required.