bugfix: /etc/init.d/sepostgresql initdb didn't work correctly
This commit is contained in:
parent
66e87cc858
commit
b299b04e8b
2 changed files with 5 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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 <kaigai@kaigai.gr.jp> - 8.3.7-1772
|
||||
- bugfix: /etc/init.d/sepostgresql initdb didn't work correctly
|
||||
|
||||
* Fri Mar 27 2009 KaiGai Kohei <kaigai@kaigai.gr.jp> - 8.3.7-1770
|
||||
- upgrade base PostgreSQL versin 8.3.6->8.3.7
|
||||
- backport features from v8.4devel
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue