Skip to contentSkip to conversation

mariadb: refer ubuntu/redhat to add mysql group

PATCH New Hongxu Jia 1 participant 2 messages Aug 19, 2014

lore
Share & tools
lore
author
#1 lore raw

PATCH 1/1 mariadb: refer ubuntu/redhat to add mysql group

In reply to Hongxu Jia

In ubuntu/redhat, we have:
...
ps -eo user,group,cmd | grep "mysql"
mysql mysql /usr/sbin/mysqld
...

---
 meta-oe/recipes-support/mysql/mariadb_5.5.38.inc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
meta-oe/recipes-support/mysql/mariadb_5.5.38.inc +2 -2
index e6eae78..8a73833 100644
@@ -25,8 +25,8 @@ INITSCRIPT_NAME = "mysqld"
 INITSCRIPT_PARAMS = "start 45 5 . stop 45 0 6 1 ."
 
 USERADD_PACKAGES = "${PN}-server"
-USERADD_PARAM_${PN}-server = "--system --home-dir /var/mysql -g nogroup --shell /bin/false mysql"
-
+USERADD_PARAM_${PN}-server = "--system --home-dir /var/mysql -g mysql --shell /bin/false mysql"
+GROUPADD_PARAM_${PN}-server = "--system mysql"
 
 EXTRA_OEMAKE = "'GEN_LEX_HASH=${STAGING_BINDIR_NATIVE}/gen_lex_hash'"
 
Signature · 1 line
1.9.1

Hongxu Jia

author
#0 lore raw

cover mariadb: refer ubuntu/redhat to add mysql group

The following changes since commit 5f532a928c7df863a3f0d32db3918c8f7d227e2b:

cyassl: add recipe (2014-08-15 17:07:45 +0200)

are available in the git repository at:

git://git.pokylinux.org/poky-contrib hongxu/mariadb-group
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=hongxu/mariadb-group

Hongxu Jia (1):
mariadb: refer ubuntu/redhat to add mysql group

 meta-oe/recipes-support/mysql/mariadb_5.5.38.inc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Signature · 1 line
1.9.1