Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id C9D981337B61 for ; Mon, 28 Mar 2011 07:10:30 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 92723-03 for ; Mon, 28 Mar 2011 10:10:13 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from web65903.mail.ac4.yahoo.com (web65903.mail.ac4.yahoo.com [98.136.86.194]) by mail.postgresql.org (Postfix) with SMTP id B94001337B43 for ; Mon, 28 Mar 2011 07:10:12 -0300 (ADT) Received: (qmail 75873 invoked by uid 60001); 28 Mar 2011 10:10:12 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1301307012; bh=PnXOY8cS2FjScMV8469tIPkkMRJFb0Eyvl+rsdWx+Mw=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=BiEHsvE6Gyj9fGyk4Lhsxv9YEJXDm7Gaf9hXpTl5PBARH2exi2fip48XD3lQfbPDVVawvIIP7O11Uonj473uH7TJDRNJOYajNV9kZXjAlwswugujrUj6A0Oilc4XxULXgP9FgLBQmq1Z7qA8NaA7tgPzyh7s2qAxkBxVKM7Koug= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=UKMuKvNK8cpGHDgehO/i1FjhJiXwRdLEWsu2ZfypP+7+Q1VBhWjENgr1FUKac8yHTuSk4uwCKxJ0hrom9Nl+4kTc6CqGVWwcZrwIeNip69hLQjhOAxo0ch7GRkAkP5D5HTvNVeRQvO5zvZLEeAzBH6iux2KtKQZ5ei/S6GyQr6w=; Message-ID: <343378.73578.qm@web65903.mail.ac4.yahoo.com> X-YMail-OSG: 9eGSMkwVM1m9wPV08M2benwxageWivwkYxooPx7RgPb4V_O iNtw5A8vvHJ9sRoiQ_k7ehZWC3KiS.61HNxp3cwr88rt81.jL4FQzoE4qpBI aBU1_dzddwt1yX5D1CBtMqFY.8UNZTYnKmn7UKOLTE_RMZdbNARnEljTOjuv 8a.0eCNBvLyKVxUblwQ1q529rZvn5wyWRy4uXuHozPM3bto9WQyB.ysZtxK1 hDGpiHnuFqaCRCIIOTfJw3GjibPYGA5U28WWMdsPwqePiM47clSuULqMcp1u l_wnQFMgoHCSFp4MetIr0CHGIh1LA.FkryYNsHX8qm1ZqfIJvk5YZ5bcT.X7 fbuD1ho5u67eXWfNVZHqdPCDtYIkW1mMc.ZDnRbXXoCsb8Sz_oAo.QwtU4v7 lVK_BjXM6DjFmEQ-- Received: from [81.90.152.213] by web65903.mail.ac4.yahoo.com via HTTP; Mon, 28 Mar 2011 03:10:12 PDT X-Mailer: YahooMailClassic/12.0.2 YahooMailWebService/0.8.109.295617 Date: Mon, 28 Mar 2011 03:10:12 -0700 (PDT) From: H S Subject: sepgsql installation troubles in Postgresql 9.1 alpha4 To: admin MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-1723043490-1301307012=:73578" X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=1.619 tagged_above=-10 required=5 tests=BAYES_00=-1.9, DEAR_SOMETHING=1.973, FREEMAIL_ENVFROM_END_DIGIT=1.553, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RFC_ABUSE_POST=0.001, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: * X-Archive-Number: 201103/251 X-Sequence-Number: 37123 --0-1723043490-1301307012=:73578 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Dear Sirs, =0A I=0A have just read your manual about implementing module sepgsql on =0APos= tgresql. But I do not have any idea that where and how I sould insert=0A th= e below commands, that you've mentioned in manual.=20 =0A >In terminal?=20 =0A> When I type initdb, normally it requires at least an option to be foll= owed; but here it has been typed "initdb".=20 =0A> And also about $PGDATA: Should I type my path instead $PGDATA? > And by the way the for command until end of done. Should I insert/type it= in my linux(fedora 14) terminal?=20 =0A Regards,=20 =0A Sara =0A =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =0A(MANUAL)=0A The following instructions that assume your installation is = under the =0A/usr/local/pgsql directory. Adjust the paths shown below as ap= propriate =0Afor your installaton. =0A $ initdb =0A$ vi $PGDATA/postgresql.conf $ for DBNAME in template0 template1 postgres; do =0A=A0 postgres --single -F -O -c exit_on_error=3Dtrue $DBNAME \ =A0=A0=A0=A0=A0 < /usr/local/pgsql/share/contrib/sepgsql.sql > /dev/null =0A=A0 done ------------------------------------------ =0A---my commands in terminal: =0A[postgres@localhost=0A bin]$ for DBNAME in test; do=A0 ./postgres --sing= le -D =0A/usr/local/pgsql/data -F -O -c exit_on_error=3Dtrue $DBNAME < =0A/= usr/local/pgsql/share/ =0Acontrib/sepgsql.sql > /dev/null; done ------------------------------------------- =0A----result:=20 =0AFATAL:=A0 SELinux: failed to initialize labeling handle: No such file or= directory =0ASTATEMENT:=A0 SELECT sepgsql_restorecon(NULL); ------------------------------------------- *My System has the selinux-policy version is selinux-policy-3.9.7-37.fc14. I would like to know whether the versions 3.9.13 in fedora15 and 3.9.7-37 f= or fedora 14 is equivalent or not.=20 =0A =0A=0A=0A --0-1723043490-1301307012=:73578 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable
Dear Sirs,
=0A
I=0A have just read your manu= al about implementing module sepgsql on =0APostgresql. But I do not have an= y idea that where and how I sould insert=0A the below commands, that you've= mentioned in manual.
=0A
>In terminal?
=0A> When I type initd= b, normally it requires at least an option to be followed; but here it has = been typed "initdb".
=0A> And also about $PGDATA: Should I type my = path instead $PGDATA?
> And by the way the for command until end of = done. Should I insert/type it in my linux(fedora 14) terminal?
=0A
Regard= s,
=0A
Sara
=0A
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
=0A(MANUAL)=0A The following instr= uctions that assume your installation is under the =0A/usr/local/pgsql dire= ctory. Adjust the paths shown below as appropriate =0Afor your installaton.=
=0A
$ initdb
=0A$ vi $PGDATA/postgresql.conf
$ for DBNAME in temp= late0 template1 postgres; do
=0A  postgres --single -F -O -c exit_= on_error=3Dtrue $DBNAME \
      < /usr/loca= l/pgsql/share/contrib/sepgsql.sql > /dev/null
=0A  done
=0A---my commands in = terminal:

=0A[postgres@localhost=0A bin]$ for DBNAME in test; do  ./= postgres --single -D =0A/usr/local/pgsql/data -F -O -c exit_on_error=3Dtrue= $DBNAME < =0A/usr/local/pgsql/share/
=0Acontrib/sepgsql.sql > /d= ev/null; done
-------------------------------------------=0A<= span style=3D"font-family: courier new,monospace; color: rgb(0, 0, 102);">-= ---result:


=0AFATAL:  SELinux: failed to initialize labeling handle= : No such file or directory
=0ASTATEMENT:  SELECT sepgsql_restorec= on(NULL);
-------------------------------------------

*My System has the selinux-policy version i= s selinux-policy-3.9.7-37.fc14
.
I would like to know whether the versions 3.9.13 in fedora15 and 3.9.7-= 37 for fedora 14 is equivalent or not.

=0A
<= br>=0A=0A=0A=0A=0A=0A=0A=0A --0-1723043490-1301307012=:73578--