From: Tom Lane Date: Wed, 17 Jul 2019 17:13:15 +0000 (-0400) Subject: Doc: explain where to find Makefile used to build sepgsql-regtest.pp. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=860c095fd548cd25586e4273e9b489082b4ffa13;p=postgresql Doc: explain where to find Makefile used to build sepgsql-regtest.pp. At least on Fedora and RHEL, it's not in the same RPM that's needed for building sepgsql itself. Today is the second or third time I've had to rediscover how to install that, so let's document it this time. --- diff --git a/doc/src/sgml/sepgsql.sgml b/doc/src/sgml/sepgsql.sgml index f8c99e1b00..658599306a 100644 --- a/doc/src/sgml/sepgsql.sgml +++ b/doc/src/sgml/sepgsql.sgml @@ -175,6 +175,9 @@ $ for DBNAME in template0 template1 postgres; do make with a Makefile supplied by SELinux. You will need to locate the appropriate Makefile on your system; the path shown below is only an example. + (This Makefile is usually supplied by the + selinux-policy-devel or + selinux-policy RPM.) Once built, install this policy package using the semodule command, which loads supplied policy packages into the kernel. If the package is correctly installed,