Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 528594 Details for
Bug 593046
dev-db/mysql-init-scripts /etc/init.d/mysql ignore 'user' paramater from my.cnf
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
PR patch of files/init.d-2.2
file_593046.txt (text/plain), 953 bytes, created by
Brian Evans (RETIRED)
on 2018-04-26 17:22:46 UTC
(
hide
)
Description:
PR patch of files/init.d-2.2
Filename:
MIME Type:
Creator:
Brian Evans (RETIRED)
Created:
2018-04-26 17:22:46 UTC
Size:
953 bytes
patch
obsolete
>--- a/files/init.d-2.2 2018-04-26 10:56:44.452592421 -0400 >+++ b/files/init.d-2.2 2018-04-26 11:55:20.408548260 -0400 >@@ -74,6 +74,7 @@ > fi > > # tail -n1 is critical as these we only want the last instance of the option >+ local user=$(get_config "${MY_CNF}" user | tail -n1) > local basedir=$(get_config "${MY_CNF}" basedir | tail -n1) > local pidfile=$(get_config "${MY_CNF}" pid-file | tail -n1) > local socket=$(get_config "${MY_CNF}" socket | tail -n1) >@@ -113,7 +114,7 @@ > fi > > local piddir="${pidfile%/*}" >- checkpath -d --owner mysql:mysql --mode 0755 "$piddir" >+ checkpath -d --owner "${user}" --mode 0755 "$piddir" > rc=$? > if [ $rc -ne 0 ]; then > eerror "Directory $piddir for pidfile does not exist and cannot be created" >@@ -127,6 +128,7 @@ > start-stop-daemon \ > ${DEBUG:+"--verbose"} \ > --start \ >+ --user "${user}" \ > --exec "${basedir}"/sbin/mysqld \ > --pidfile "${pidfile}" \ > --background \
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 593046
:
445136
| 528594