Installing selinux on RedHat 7.0
Hello:
I came across with some problems installing selinux on RedHat 7.0
and i would like to know if someone of you had something like this making the initial policy
ERROR IN THE STATEMENT ENDING ON LINE 1054 (TOKEN ';'):
UNKNOWN CLASS FILESYSTEM USED IN RULE
And the line that make that error is this:
allow file_type fs_t:filesystem associate;
I've changed the version from gcc 2.96.3 to 2.95.3 and i got the same error, and when i boot the machine i get this messages from the kernel
security: starting up (compiled on <date>)
security: loading policy configuration from /ss_policy
security: unable to open /ss_policy
kernel panic: security_init
The directory /ss_policy does not exist. One more thing is that my machine compiles and works with the kernel-2.4 without the flask facility.
Thanks.
--
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 2 lines · Hugo F. Martinez
ERROR IN THE STATEMENT ENDING ON LINE 1054 (TOKEN ';'):
UNKNOWN CLASS FILESYSTEM USED IN RULE
You need to apply the patch that I sent to the mailing list on Monday to fix a bug in the checkpolicy program. After applying the patch, rebuild your checkpolicy program and try again.
Quoted 1 line
security: unable to open /ss_policy
This is because you were unable to compile and install the security policy configuration using the checkpolicy program, due to the bug.
--
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.