Bug #108947 | mysql-8.0.31: build fails if building user cannot access mysqld's tempdir | ||
---|---|---|---|
Submitted: | 1 Nov 2022 4:40 | Modified: | 21 Nov 2022 18:02 |
Reporter: | Hank Leininger | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: Compiling | Severity: | S3 (Non-critical) |
Version: | 8.0.31 | OS: | Any |
Assigned to: | CPU Architecture: | Any | |
Tags: | BuildID, CREATE_INFO_BIN |
[1 Nov 2022 4:40]
Hank Leininger
[1 Nov 2022 13:17]
MySQL Verification Team
Hi Mr. Leininger, Thank you for your bug report. However, Gentoo is not among the supported Linux platforms, which you can notice yourself on our Download pages. Regarding `tmpdir`, we require that user building from the source has all privileges on that directory. We shall check whether we have to add that to our Reference Manual. Unsupported.
[1 Nov 2022 17:12]
Hank Leininger
Gentoo is not particularly relevant here, the important thing is the currently-building mysqld should not load any system-installed conf files; it should load none, or, load only the currently-building default files. You do not see how it can be a problem that during compilation, existing/production configs are loaded?
[1 Nov 2022 18:38]
Terje Røsten
Hi! Thanks for your report, indeed adding --no-defaults was forgotten when adding this code to run the newly built mysqld. The common pattern of adding --no-defaults is used several places in the test suite to avoid exactly such problems.
[21 Nov 2022 18:02]
Philip Olson
Posted by developer: Fixed as of the upcoming MySQL Server 8.0.32 release, and here's the proposed changelog entry from the documentation team: Building MySQL would fail if the building user lacked access to mysqld's temporary directory. Now --no-defaults is used when creating the INFO_BIN file. Thank you for the bug report.
[22 Nov 2022 13:22]
MySQL Verification Team
Thank you, Philip.