summaryrefslogtreecommitdiff
path: root/support-files
diff options
context:
space:
mode:
authorunknown <lenz@mysql.com>2005-08-04 12:22:51 +0200
committerunknown <lenz@mysql.com>2005-08-04 12:22:51 +0200
commit21fefc68cb5b9f48eea90053364d737ec022d70e (patch)
tree8790f5f5e6135891b0ad1e36ed463ecbcf54ca0d /support-files
parent076c375ab5342979518585d17c731bc3ba874f15 (diff)
downloadmariadb-git-21fefc68cb5b9f48eea90053364d737ec022d70e.tar.gz
- Fixed the creation of the mysql user group account in the postinstall section of
the MySQL-server RPM spec file (BUG#12348) support-files/mysql.spec.sh: - Fixed the creation of the mysql user group account in the postinstall section (BUG#12348)
Diffstat (limited to 'support-files')
-rw-r--r--support-files/mysql.spec.sh7
1 files changed, 6 insertions, 1 deletions
diff --git a/support-files/mysql.spec.sh b/support-files/mysql.spec.sh
index ade774fb4e3..325ebdf2c01 100644
--- a/support-files/mysql.spec.sh
+++ b/support-files/mysql.spec.sh
@@ -371,7 +371,7 @@ fi
# Create a MySQL user and group. Do not report any problems if it already
# exists.
-groupadd -r -c "MySQL server" %{mysqld_user} 2> /dev/null || true
+groupadd -r %{mysqld_user} 2> /dev/null || true
useradd -M -r -d $mysql_datadir -s /bin/bash -c "MySQL server" -g %{mysqld_user} %{mysqld_user} 2> /dev/null || true
# Change permissions so that the user that will run the MySQL daemon
@@ -562,6 +562,11 @@ fi
# itself - note that they must be ordered by date (important when
# merging BK trees)
%changelog
+* Thu Aug 04 2005 Lenz Grimmer <lenz@mysql.com>
+
+- Fixed the creation of the mysql user group account in the postinstall
+ section (BUG 12348)
+
* Fri Jul 15 2005 Lenz Grimmer <lenz@mysql.com>
- create a "mysql" user group and assign the mysql user account to that group