FreeBSD Bugzilla – Attachment 217225 Details for
Bug 247413
databases/mariadb104-server: server won't start on clean install
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
get effective group via id
patch-mariadb104-server-mysql-server-group-via-id (text/plain), 1.16 KB, created by
Georg Altmann
on 2020-08-15 08:25:34 UTC
(
hide
)
Description:
get effective group via id
Filename:
MIME Type:
Creator:
Georg Altmann
Created:
2020-08-15 08:25:34 UTC
Size:
1.16 KB
patch
obsolete
>Index: files/mysql-server.in >=================================================================== >--- files/mysql-server.in (revision 544887) >+++ files/mysql-server.in (working copy) >@@ -120,14 +120,14 @@ > return 1 > fi > done >+ [ "${mysql_socket}" = "" ] && mysql_rundir="%%MARIADB_RUNDIR%%" || mysql_rundir="`/usr/bin/dirname ${mysql_socket}`" >+ if [ ! -d "${mysql_rundir}" ]; then >+ local mysql_group="`/usr/bin/id -gn ${mysql_user}`" || return 1 >+ install -d -o ${mysql_user} -g ${mysql_group} "${mysql_rundir}" || return 1 >+ fi > if [ ! -d "${mysql_dbdir}/mysql/." ]; then > mysql_create_auth_tables || return 1 > fi >- [ "${mysql_socket}" = "" ] && mysql_rundir="%%MARIADB_RUNDIR%%" || mysql_rundir="`/usr/bin/dirname ${mysql_socket}`" >- if [ ! -d "${mysql_rundir}" ]; then >- install -d -o ${mysql_user} -g %%MARIADB_GROUP%% "${mysql_rundir}" >- >- fi > %%LEGACY_LIMITS%% if checkyesno mysql_limits; then > %%LEGACY_LIMITS%% eval `/usr/bin/limits ${mysql_limits_args}` 2>/dev/null > %%LEGACY_LIMITS%% else
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 247413
:
215774
|
217213
|
217225
|
218855