Bug 1689300
Summary: | mysqld_safe --dry-run doesn't work as expected | |||
---|---|---|---|---|
Product: | Red Hat Enterprise Linux 8 | Reporter: | Karel Volný <kvolny> | |
Component: | mariadb | Assignee: | Michal Schorm <mschorm> | |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Lukáš Zachar <lzachar> | |
Severity: | unspecified | Docs Contact: | ||
Priority: | unspecified | |||
Version: | 8.0 | CC: | databases-maint | |
Target Milestone: | rc | |||
Target Release: | 8.0 | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | Doc Type: | If docs needed, set a value | ||
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 1691288 1691290 1691294 (view as bug list) | Environment: | ||
Last Closed: | 2021-01-15 15:58:12 UTC | Type: | Bug | |
Regression: | --- | Mount Type: | --- | |
Documentation: | --- | CRM: | ||
Verified Versions: | Category: | --- | ||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
Cloudforms Team: | --- | Target Upstream Version: | ||
Embargoed: | ||||
Bug Depends On: | ||||
Bug Blocks: | 1856699 |
Description
Karel Volný
2019-03-15 15:56:07 UTC
Fix deployed for Fedora: https://src.fedoraproject.org/rpms/mariadb/c/fe4891c5b8e6e5f0ce35328e3fa7b9e6efbb2644?branch=master CURRENT STATUS: * As the intention of this script argument was different than we thought, we shouldn't deploy a fix for it in RHEL8. The "--dry-run" has been fixed by upstream. It ends with exit code 1 now and does NOT start the server. IMHO it is now fixed sufficiently (because the main issue was that it started the server despite expicitly described as an option that does NOT start the server). The --dry-run isn't expected to be used either by us or by the end-users. https://github.com/MariaDB/server/pull/1238#issuecomment-475494807 > The original purpose of --dry-run was https://github.com/MariaDB/server/blob/10.4/scripts/mariadb-service-convert as a script to take [mysqld_safe] params and create a systemd service file override. MAINTAINER NOTE: I reached upstream with this issue. The script was never meant to be called by an user, instead, that particual part of script was intended to be ran by other scripts. The upstream solved the issue in: MariaDB 10.1.42 MariaDB 10.2.28 MariaDB 10.3.19 with: https://github.com/MariaDB/server/commit/6a7d51b1cb |