Mageia Bugzilla – Attachment 8936 Details for
Bug 20143
mysqld is not Active after start
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
[patch]
mysqld.service patch to replace mysqld-wait-ready with systemd notify mechanism
mysqld.service.patch (text/plain), 524 bytes, created by
Arne Spiegelhauer
on 2017-02-06 12:47:11 CET
(
hide
)
Description:
mysqld.service patch to replace mysqld-wait-ready with systemd notify mechanism
Filename:
MIME Type:
Creator:
Arne Spiegelhauer
Created:
2017-02-06 12:47:11 CET
Size:
524 bytes
patch
obsolete
>--- /usr/lib/systemd/system/mysqld.service.orig 2017-01-29 20:19:13.000000000 +0100 >+++ /usr/lib/systemd/system/mysqld.service 2017-02-06 11:07:01.810710428 +0100 >@@ -4,13 +4,12 @@ > After=network.target > > [Service] >-Type=forking >+Type=notify > User=mysql > Group=mysql > > ExecStartPre=/usr/sbin/mysqld-prepare-db-dir > ExecStart=/usr/bin/mysqld_safe --nowatch >-ExecStartPost=/usr/sbin/mysqld-wait-ready $MAINPID > > # mysqld-prepare-db-dir needs root rights, this drops privileges only for ExecStart > PermissionsStartOnly=true
--- /usr/lib/systemd/system/mysqld.service.orig 2017-01-29 20:19:13.000000000 +0100 +++ /usr/lib/systemd/system/mysqld.service 2017-02-06 11:07:01.810710428 +0100 @@ -4,13 +4,12 @@ After=network.target [Service] -Type=forking +Type=notify User=mysql Group=mysql ExecStartPre=/usr/sbin/mysqld-prepare-db-dir ExecStart=/usr/bin/mysqld_safe --nowatch -ExecStartPost=/usr/sbin/mysqld-wait-ready $MAINPID # mysqld-prepare-db-dir needs root rights, this drops privileges only for ExecStart PermissionsStartOnly=true
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 20143
:
8915
|
8925
| 8936 |
8937
|
8938
|
8944
|
8952
|
8953
|
8954
|
8955