From f13b4c850112a4109897765525b209f756934a8120fe6ca199cee02ad86f129d Mon Sep 17 00:00:00 2001 From: Sascha Peilicke Date: Thu, 4 Oct 2012 08:02:23 +0000 Subject: [PATCH] Accepting request 131859 from home:achaios:branches:server:database Reenable initgroups(). See changelog. OBS-URL: https://build.opensuse.org/request/show/131859 OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb?expand=0&rev=95 --- build.inc | 2 +- mariadb.changes | 10 ++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/build.inc b/build.inc index a2b9e20..284ef12 100644 --- a/build.inc +++ b/build.inc @@ -6,7 +6,7 @@ %if 0%{?suse_version} > 1140 export WARN_DIS="$WARN_DIS -Wno-unused-but-set-variable -fno-strict-aliasing -Wno-unused-parameter " %endif -export CFLAGS="$RPM_OPT_FLAGS -DPIC -fPIC -DUNDEF_HAVE_INITGROUPS -DFORCE_INIT_OF_VARS $WARN_DIS " +export CFLAGS="$RPM_OPT_FLAGS -DPIC -fPIC -DFORCE_INIT_OF_VARS $WARN_DIS " export CXXFLAGS="$CFLAGS -fno-exceptions -fno-rtti" %if 0%{use_cmake} < 1 diff --git a/mariadb.changes b/mariadb.changes index 8ae45cc..e2ae159 100644 --- a/mariadb.changes +++ b/mariadb.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Tue Aug 28 11:53:55 UTC 2012 - xgpub@tellas.gr + +- Reenable use of initgroups() (revert a temporary workaround + for ancient bmc#3037, search below for bug #39798). + This is necessary if we want to use the auth_pam plugin to + authenticate users against their unix password via pam_unix2. + For that, mysqld must run as group shadow and maintain membership + after forking. + ------------------------------------------------------------------- Mon Jul 2 12:28:40 UTC 2012 - mhrusecky@suse.com