i've had occasion to wonder about the formatting of the
README file. in the BUILDING section, one is presented
with two options. the final paragraph ("To build the SELinux
module..."), while it seems to be intended for use with
the second config/build option, isn't indented. a naive
reading of the build instructions might cause someone
to (re-)build the SELinux module as if it were a loadable
kernel module, and that might cause problems.
-paul
--On Wednesday, 24 October, 2001 15:23 -0400 Stephen Smalley <sds@tislabs.com> wrote:
>
> On Wed, 24 Oct 2001, White, Tom (AZ15) wrote:
>
>> I am trying to implement the SELinux patch on a Red Hat 7.1 box. I did
>> the Kernel build following the documentation on the NSA web site. I got
>> to step 2 in the INSTALLING section and when I do a make install in the
>> module directory I get the following output:
>
> Which release of SELinux are you using, and which download option did you
> use?
>
>> [root@warthog module]# make install
>> rm -f selinux_plug/include/asm selinux_plug/arch/machine
>> ( cd selinux_plug/include ; ln -sf asm-i386 asm)
>> ( cd selinux_plug/arch ; ln -sf i386 machine)
>
> Based on this output, it looks like you are using an older release.
> As of the most recent release, the creation of the architecture symbolic
> links was moved into the selinux_plug Makefiles. In any event, this
> should have happened during the kernel build, so something is wrong here.
>
>> cd ../../lsm/include/asm; install unistd.h /usr/local/selinux/include/asm
>> cd selinux_plug/ss; install checkpolicy /usr/local/selinux/bin
>> install: cannot stat `checkpolicy': No such file or directory
>> make: *** [install] Error 1
>
> The checkpolicy program should have been compiled during the kernel build.
> Again, this suggests that your kernel build didn't really succeed. Did
> you enable SELinux in the kernel configuration?
>
> --
> Stephen D. Smalley, NAI Labs
> ssmalley@nai.com
>
>
>
>
> --
> You have received this message because you are subscribed to the selinux
> list. If you no longer wish to subscribe, send mail to
> majordomo@tycho.nsa.gov with the words "unsubscribe selinux" without
> quotes as the message.
>
-- You have received this message because you are subscribed to the selinux list. If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with the words "unsubscribe selinux" without quotes as the message.Received on Wed 24 Oct 2001 - 18:30:32 EDT
This archive was generated by hypermail 2.2.0 on Wed 11 Jun 2008 - 08:10:26 EDT