From b299b04e8be2f4365d306cfcd45483139b29ec7f Mon Sep 17 00:00:00 2001 From: KaiGai Kohei Date: Fri, 17 Apr 2009 00:31:18 +0000 Subject: [PATCH] bugfix: /etc/init.d/sepostgresql initdb didn't work correctly --- sepostgresql.init | 2 +- sepostgresql.spec | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/sepostgresql.init b/sepostgresql.init index 2cc58e1..5ff2f98 100644 --- a/sepostgresql.init +++ b/sepostgresql.init @@ -165,7 +165,7 @@ do_initdb() { test -x /sbin/restorecon && /sbin/restorecon -R "${SEPGSQL_DATA}" # Initialize the database cd ${SEPGSQL_BIN} - /sbin/runuser -- sepgsql -c "./initdb.sepgsql --pgace-feature=selinux -A 'ident sameuser' ${SEPGSQL_DATA}" \ + /sbin/runuser -- sepgsql -c "./initdb.sepgsql --enable-selinux -A 'ident sameuser' ${SEPGSQL_DATA}" \ >> "${SEPGSQL_STARTUP_LOG}" 2>&1 < /dev/null if [ -f "${SEPGSQL_DATA}/PG_VERSION" ]; then echo_success diff --git a/sepostgresql.spec b/sepostgresql.spec index e11d114..d38981c 100644 --- a/sepostgresql.spec +++ b/sepostgresql.spec @@ -12,7 +12,7 @@ Summary: Security Enhanced PostgreSQL Name: sepostgresql Version: 8.3.7 -Release: 1771%{?dist} +Release: 1772%{?dist} License: BSD Group: Applications/Databases Url: http://code.google.com/p/sepgsql/ @@ -199,6 +199,9 @@ fi %attr(700,sepgsql,sepgsql) %dir %{_localstatedir}/lib/sepgsql/backups %changelog +* Fri Apr 17 2009 KaiGai Kohei - 8.3.7-1772 +- bugfix: /etc/init.d/sepostgresql initdb didn't work correctly + * Fri Mar 27 2009 KaiGai Kohei - 8.3.7-1770 - upgrade base PostgreSQL versin 8.3.6->8.3.7 - backport features from v8.4devel