Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 445136 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]
/etc/init.d/mysql read mysql user from my.conf
initd_mysql_user.patch (text/plain), 758 bytes, created by
Dmitry A. Bakshaev
on 2016-09-07 13:58:34 UTC
(
hide
)
Description:
/etc/init.d/mysql read mysql user from my.conf
Filename:
MIME Type:
Creator:
Dmitry A. Bakshaev
Created:
2016-09-07 13:58:34 UTC
Size:
758 bytes
patch
obsolete
>Index: mysql >=================================================================== >--- mysql (revision 628) >+++ mysql (working copy) >@@ -51,6 +51,7 @@ > local datadir=$(get_config "${MY_CNF}" datadir | tail -n1) > local pidfile=$(get_config "${MY_CNF}" pid-file | tail -n1) > local socket=$(get_config "${MY_CNF}" socket | tail -n1) >+ local user=$(get_config "${MY_CNF}" user | tail -n1) > > if [ ! -d "${datadir}" ] ; then > eerror "MySQL datadir \`${datadir}' is empty or invalid" >@@ -65,7 +66,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"
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