Details
-
Bug
-
Status: Closed (View Workflow)
-
Critical
-
Resolution: Fixed
-
10.1.17
-
CentOS 7
-
10.1.30
Description
MariaDB 10.1.17 and other recent releases still include an init script as well as a systemd unit. The init script ships with chkconfig on and this causes a race condition as to which version of the daemon starts first. This has caused us significant problems with RPM updates and system reboots.
[jg4461@db2 ~]$ yum provides */init.d/mysql
|
MariaDB-server-10.1.16-1.el7.centos.x86_64 : MariaDB: a very fast and robust SQL database server
|
Repo : mariadb-enterprise-main
|
Matched from:
|
Filename : /etc/init.d/mysql
|
|
MariaDB-server-10.1.17-1.el7.centos.x86_64 : MariaDB: a very fast and robust SQL database server
|
Repo : mariadb
|
Matched from:
|
Filename : /etc/init.d/mysql
|
Attachments
Issue Links
- blocks
-
MDEV-17961 SystemD "Alias=mysql" considered harmful
-
- Closed
-
- causes
-
MDEV-19706 RPM no longer installs init script on systemd systems, but preun script still tries to erase it
-
- Closed
-
- duplicates
-
MDEV-11046 systemd loses control of running daemon after RPM upgrade
-
- Closed
-
-
MDEV-15526 SysV init service deployed file '/etc/init.d/mysql' prevents systemctl disable command to work correctly (mariadb|mysql naming support) (debian/ubuntu)
-
- Closed
-
- is blocked by
-
MDEV-11045 RPM should execute systemctl daemon-reload after update
-
- Closed
-
- relates to
-
MDEV-12598 systemd-devel missing from p8 RPM build slaves
-
- Closed
-
-
MDEV-28759 Deployment of /etc/init.d/mysql causes issues
-
- Closed
-
Activity
Field | Original Value | New Value |
---|---|---|
Fix Version/s | 10.1 [ 16100 ] | |
Assignee | Sergey Vojtovich [ svoj ] |
Link |
This issue relates to |
Labels | contribution foundation patch |
Priority | Minor [ 4 ] | Major [ 3 ] |
Assignee | Sergey Vojtovich [ svoj ] | Alice Sherepa [ alice ] |
Assignee | Alice Sherepa [ alice ] | Varun Gupta [ varun ] |
Sprint | 10.1.30 [ 215 ] |
Link |
This issue is duplicated by |
Status | Open [ 1 ] | In Progress [ 3 ] |
Link |
This issue is blocked by |
Priority | Major [ 3 ] | Critical [ 2 ] |
Assignee | Varun Gupta [ varun ] | Vicentiu Ciorbaru [ cvicentiu ] |
Link |
This issue is duplicated by |
Link |
This issue relates to |
Link |
This issue blocks |
Link |
This issue relates to |
Fix Version/s | 10.2 [ 14601 ] | |
Fix Version/s | 10.3 [ 22126 ] | |
Fix Version/s | 10.4 [ 22408 ] |
Assignee | Vicentiu Ciorbaru [ cvicentiu ] | Sergei Golubchik [ serg ] |
Status | In Progress [ 3 ] | Stalled [ 10000 ] |
Fix Version/s | 10.4.4 [ 23310 ] | |
Fix Version/s | 10.2 [ 14601 ] | |
Fix Version/s | 10.1 [ 16100 ] | |
Fix Version/s | 10.3 [ 22126 ] | |
Fix Version/s | 10.4 [ 22408 ] |
Resolution | Fixed [ 1 ] | |
Status | Stalled [ 10000 ] | Closed [ 6 ] |
Link |
This issue duplicates |
Link |
This issue is duplicated by |
Link |
This issue duplicates |
Link |
This issue is duplicated by |
Support case ID | 27284 |
Link |
This issue causes |
Workflow | MariaDB v3 [ 77038 ] | MariaDB v4 [ 150912 ] |
Link |
This issue relates to |
Zendesk Related Tickets | 199609 |
We need the init script to maintain backward compatibility with whatever setups users have. The script is supposed to redirect to systemd.
If it causes a race condition, it needs to be fixed.