Mageia Bugzilla – Attachment 8953 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]
Patch creates a working mysqld service
mysqld.service.patch (text/plain), 758 bytes, created by
Dave Hodgins
on 2017-02-13 01:57:56 CET
(
hide
)
Description:
Patch creates a working mysqld service
Filename:
MIME Type:
Creator:
Dave Hodgins
Created:
2017-02-13 01:57:56 CET
Size:
758 bytes
patch
obsolete
>--- mysqld.service.original 2017-02-12 10:45:12.000000000 -0500 >+++ mysqld.service 2017-02-12 19:49:23.694549937 -0500 >@@ -4,12 +4,14 @@ > After=network.target > > [Service] >-Type=notify >+Type=simple > User=mysql > Group=mysql >+PrivateTmp=true >+WorkingDirectory=/usr > > ExecStartPre=/usr/sbin/mysqld-prepare-db-dir >-ExecStart=/usr/bin/mysqld_safe --nowatch >+ExecStart=/usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --plugin-dir=/usr/lib64/mysql/plugin --log-error=/var/log/mysqld/error.log --pid-file=/var/run/mysqld/mysqld.pid --socket=/var/run/mysqld/mysqld.sock --port=3306 > > # mysqld-prepare-db-dir needs root rights, this drops privileges only for ExecStart > PermissionsStartOnly=true >@@ -22,3 +24,4 @@ > > [Install] > WantedBy=multi-user.target >+
--- mysqld.service.original 2017-02-12 10:45:12.000000000 -0500 +++ mysqld.service 2017-02-12 19:49:23.694549937 -0500 @@ -4,12 +4,14 @@ After=network.target [Service] -Type=notify +Type=simple User=mysql Group=mysql +PrivateTmp=true +WorkingDirectory=/usr ExecStartPre=/usr/sbin/mysqld-prepare-db-dir -ExecStart=/usr/bin/mysqld_safe --nowatch +ExecStart=/usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --plugin-dir=/usr/lib64/mysql/plugin --log-error=/var/log/mysqld/error.log --pid-file=/var/run/mysqld/mysqld.pid --socket=/var/run/mysqld/mysqld.sock --port=3306 # mysqld-prepare-db-dir needs root rights, this drops privileges only for ExecStart PermissionsStartOnly=true @@ -22,3 +24,4 @@ [Install] WantedBy=multi-user.target +
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