[postgresql/f16] Fix bug 891547

Tom Lane tgl at fedoraproject.org
Fri Jan 4 00:12:45 UTC 2013


commit 47f0fc4d982163ab984e1a61b8f5b605532cb744
Author: Tom Lane <tgl at redhat.com>
Date:   Thu Jan 3 19:11:13 2013 -0500

    Fix bug 891547

 postgresql-setup |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/postgresql-setup b/postgresql-setup
index 132ef78..e566106 100644
--- a/postgresql-setup
+++ b/postgresql-setup
@@ -91,6 +91,7 @@ perform_initdb(){
 	mkdir "$PGDATA/pg_log"
 	chown postgres:postgres "$PGDATA/pg_log"
 	chmod go-rwx "$PGDATA/pg_log"
+	[ -x /sbin/restorecon ] && /sbin/restorecon "$PGDATA/pg_log"
 
 	if [ -f "$PGDATA/PG_VERSION" ]
 	then


More information about the scm-commits mailing list