@@ -124,19 +124,24 @@ $ for DBNAME in template0 template1 postgres; do
124124 </para>
125125
126126 <para>
127- First, install the policy package for the regression test.
127+ First,build and install the policy package for the regression test.
128128 The <filename>sepgsql-regtest.pp</> is a special purpose policy package
129129 which provides a set of rules to be allowed during the regression tests.
130- You need to install this policy package using the <command>semodule</>
131- command, which links supplied policy packages and loads them
132- into the kernel space. If this packages is correctly installed,
130+ It should be built from the policy source fire
131+ (<filename>sepgsql-regtest.te</>), which is normally done using
132+ <command>make</command>. You will need to locate the appropriate
133+ Makefile on your system; the path shown below is only an example.
134+ Once built, you can install this policy package using the
135+ <command>semodule</> command, which links supplied policy packages and
136+ loads them into the kernel space. If this packages is correctly installed,
133137 <literal><command>semodule</> -l</> should list sepgsql-regtest as an
134138 available policy package.
135139 </para>
136140
137141<screen>
142+ $ make -C ./contrib/sepgsql -f /usr/share/selinux/devel/Makefile
138143$ su
139- # semodule -u/usr/local/pgsql/share/ contrib/sepgsql-regtest.pp
144+ # semodule -u./ contrib/sepgsql /sepgsql-regtest.pp
140145# semodule -l
141146 :
142147sepgsql-regtest 1.03