Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.1:kernel-2.6.32
mysql
mysql-group.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File mysql-group.patch of Package mysql
--- scripts/mysqld_safe.sh +++ scripts/mysqld_safe.sh @@ -69,6 +69,10 @@ --pid-file=*) pid_file=`echo "$arg" | sed -e "s;--pid-file=;;"` ;; --user=*) user=`echo "$arg" | sed -e "s;--[^=]*=;;"` ; SET_USER=1 ;; + --group=*) + group=`echo "$arg" | sed -e "s;--group=;;"` + ;; + # these two might have been set in a [mysqld_safe] section of my.cnf # they are added to mysqld command line to override settings from my.cnf --socket=*) mysql_unix_port=`echo "$arg" | sed -e "s;--socket=;;"` ;; @@ -173,6 +177,7 @@ export MYSQL_HOME user=@MYSQLD_USER@ +group=mysql niceness=0 # these rely on $DATADIR by default, so we'll set them later on @@ -315,7 +320,7 @@ USER_OPTION="--user=$user" fi # If we are root, change the err log to the right user. - touch $err_log; chown $user $err_log + touch $err_log; chown $user.$group $err_log if test -n "$open_files" then ulimit -n $open_files
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor