diff options
author | Robert Haas <rhaas@postgresql.org> | 2011-02-17 06:39:13 -0500 |
---|---|---|
committer | Robert Haas <rhaas@postgresql.org> | 2011-02-17 06:40:32 -0500 |
commit | 24bc6b3db3579f4c480c6d0f81f7e50f1e6c0180 (patch) | |
tree | 6841ae591234d662e5165db8a2e6a7019c3c91b6 /doc/src | |
parent | 93016983d1e8f3aeb508f1be8daf5ca5de5c5b61 (diff) | |
download | postgresql-24bc6b3db3579f4c480c6d0f81f7e50f1e6c0180.tar.gz postgresql-24bc6b3db3579f4c480c6d0f81f7e50f1e6c0180.zip |
Remove rule to build sepgsql-regtest.pp.
Instead, document how to build it manually.
Per discussion. KaiGai Kohei, with some wordsmithing by me.
Diffstat (limited to 'doc/src')
-rw-r--r-- | doc/src/sgml/sepgsql.sgml | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/doc/src/sgml/sepgsql.sgml b/doc/src/sgml/sepgsql.sgml index 9ef2bf9da82..d24cc056d25 100644 --- a/doc/src/sgml/sepgsql.sgml +++ b/doc/src/sgml/sepgsql.sgml @@ -124,19 +124,24 @@ $ for DBNAME in template0 template1 postgres; do </para> <para> - First, install the policy package for the regression test. + First, build and install the policy package for the regression test. The <filename>sepgsql-regtest.pp</> is a special purpose policy package which provides a set of rules to be allowed during the regression tests. - You need to install this policy package using the <command>semodule</> - command, which links supplied policy packages and loads them - into the kernel space. If this packages is correctly installed, + It should be built from the policy source fire + (<filename>sepgsql-regtest.te</>), which is normally done using + <command>make</command>. You will need to locate the appropriate + Makefile on your system; the path shown below is only an example. + Once built, you can install this policy package using the + <command>semodule</> command, which links supplied policy packages and + loads them into the kernel space. If this packages is correctly installed, <literal><command>semodule</> -l</> should list sepgsql-regtest as an available policy package. </para> <screen> +$ make -C ./contrib/sepgsql -f /usr/share/selinux/devel/Makefile $ su -# semodule -u /usr/local/pgsql/share/contrib/sepgsql-regtest.pp +# semodule -u ./contrib/sepgsql/sepgsql-regtest.pp # semodule -l : sepgsql-regtest 1.03 |