setting up selinux
Ok I'm a little lost on this... it tells me to edit security policies, but my question is where? The installation guide on nsa.gov is a little hard to follow :) I've compiled the kernel OK but this first step seems to have thrown the whole thing off.
Frank
Quoted 4 lines · Frank Zecca
Ok I'm a little lost on this... it tells me to edit security policies, but my question is where? The installation guide on nsa.gov is a little hard to follow :) I've compiled the kernel OK but this first step seems to have thrown the whole thing off.
If you downloaded and expanded the entire distribution, you should have a slinux/policy directory that contains the example security policy configuration. The INSTALL document says to follow the instructions relative to the slinux directory, and it says to edit the policy/users file for your users. What exactly is your question?
--
Stephen D. Smalley, NAI Labs
[email protected]
--
You have received this message because you are subscribed to the selinux list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.
Hi,
I'm having a problem compiling SELinux. The machine has an Adaptec 7899P SCSI controller, so I have configured that in, but the SELinux compile is barfing on it. I would suspect a problem with that code, except that when I copy the .config file over to an unpatched kernel and compile that after running make oldconfig, the compile completes beautifully.
Here is the relevant output from the compile:
make[4]: Entering directory `/usr/src/slinux/kernel-2.4/drivers/scsi/aic7xxx' make -C aicasm
make[5]: Entering directory `/usr/src/slinux/kernel-2.4/drivers/scsi/aic7xxx/aicasm' yacc -d aicasm_gram.y
mv -f y.tab.c aicasm_gram.c
lex -t aicasm_scan.l > aicasm_scan.c
gcc -I/usr/include -ldb1 aicasm_gram.c aicasm_scan.c aicasm.c aicasm_symbol.c -o aicasm
aicasm_symbol.c:39:20: db1/db.h: No such file or directory
make[5]: *** [aicasm] Error 1
make[5]: Leaving directory `/usr/src/slinux/kernel-2.4/drivers/scsi/aic7xxx/aicasm' make[4]: *** [aicasm/aicasm] Error 2
make[4]: Leaving directory `/usr/src/slinux/kernel-2.4/drivers/scsi/aic7xxx' make[3]: *** [first_rule] Error 2
make[3]: Leaving directory `/usr/src/slinux/kernel-2.4/drivers/scsi/aic7xxx' make[2]: *** [_subdir_aic7xxx] Error 2
make[2]: Leaving directory `/usr/src/slinux/kernel-2.4/drivers/scsi' make[1]: *** [_subdir_scsi] Error 2
make[1]: Leaving directory `/usr/src/slinux/kernel-2.4/drivers'
make: *** [_dir_drivers] Error 2
Any suggestions?
Thanks,
Emily
--
You have received this message because you are subscribed to the selinux list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.
Quoted 11 lines · Emily Ratliff
Here is the relevant output from the compile:
make[4]: Entering directory `/usr/src/slinux/kernel-2.4/drivers/scsi/aic7xxx' make -C aicasm
make[5]: Entering directory `/usr/src/slinux/kernel-2.4/drivers/scsi/aic7xxx/aicasm' yacc -d aicasm_gram.y
mv -fy.tab.caicasm_gram.c
lex -t aicasm_scan.l >aicasm_scan.c
gcc -I/usr/include -ldb1aicasm_gram.caicasm_scan.caicasm.caicasm_symbol.c-o aicasm
aicasm_symbol.c:39:20:db1/db.h: No such file or directory
This doesn't look like it is related to SELinux in any way. The db1/db.h header file should exist in your /usr/include directory, as it does on my RedHat 7.1 system. I tried rebuilding the SELinux kernel with this driver enabled, and did not encounter this error.
When you say that you were able to build an unpatched kernel, do you mean the unmodified 2.4.3 sources from www.kernel.org?
--
Stephen D. Smalley, NAI Labs
[email protected]
--
You have received this message because you are subscribed to the selinux list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.
Quoted 1 line · Stephen Smalley
This doesn't look like it is related to SELinux in any way.
I agree, however ...
Quoted 2 lines
When you say that you were able to build an unpatched kernel, do you mean the unmodified 2.4.3 sources from www.kernel.org?
I tried with 2.4.5 from www.kernel.org on Friday and was successful. After your message today, I tried with 2.4.3 from www.kernel.org and it failed in exactly the say way. I'll dig around a little more and see if I can solve this problem.
Thanks,
Emily
--
You have received this message because you are subscribed to the selinux list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.