wok-current rev 7961
Made mysql post_install have uuser and group id number 27. This is mostly so we can start having normal numbers for user and group ids.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sun Jan 16 12:04:56 2011 +0000 (2011-01-16) |
parents | db2322c09dde |
children | 613cf74b3878 |
files | mysql/receipt |
line diff
1.1 --- a/mysql/receipt Sun Jan 16 09:43:07 2011 +0000 1.2 +++ b/mysql/receipt Sun Jan 16 12:04:56 2011 +0000 1.3 @@ -71,14 +71,14 @@ 1.4 # addgroup mysql if needed 1.5 if ! grep -q mysql $1/etc/group; then 1.6 echo -n "Adding group MySQL..." 1.7 - chroot $1/ /bin/addgroup mysql 1.8 + chroot $1/ /bin/addgroup -g 27 mysql 1.9 status 1.10 fi 1.11 # adduser mysql if needed 1.12 if ! grep -q mysql $1/etc/passwd; then 1.13 echo -n "Adding user MySQL..." 1.14 chroot $1/ /bin/adduser -s /bin/false -h /dev/null \ 1.15 - -g "MySQL Daemon user" -H -D -S -G mysql mysql 1.16 + -g "MySQL Daemon user" -u 27 -H -D -S -G mysql mysql 1.17 status 1.18 fi 1.19 chroot $1/ /bin/chown mysql.mysql $(cat $1/$INSTALLED/$PACKAGE/files.list)