Skip to contentSkip to conversation

I've got a problem in my installing selinux

DISCUSSION zheyeung 3 participants 3 messages Aug 30, 2009 – Aug 31, 2009 SELinux security module

lore
Share & tools
lore

zheyeung

author
#0 lore raw

Hi,everybody, I'm a beginner . I've got a problem in selinux installing.

At first, I install from selinux-policy-targeted.f11.rpm (which in release CD), then edit /etc/ selinux/config. change the mode to (enforcing,targeted),restart. everything is ok.

Then ,I download refpolicy.tar.gz from tresys.com. make and make install it by Eclipse-Slide. Here the problem comes. No matter I running selinux in enforcing or in permissive, my F11 failed in rebooting .It stop at Init process, which can not enter the graphic terminal.

I guess , is there extra work I should do but I didn't ?

2009-08-30

zheyeung

#1 lore raw
Quoted 5 lines · zheyeung

Hi,everybody, I'm a beginner . I've got a problem in selinux installing. At first, I install from selinux-policy-targeted.f11.rpm (which in release CD), then edit /etc/ selinux/config. change the mode to (enforcing,targeted),restart. everything is ok.
Then ,I download refpolicy.tar.gz from tresys.com. make and make

Quoted 8 lines

install it by Eclipse-Slide. Here the problem comes. No matter I running selinux in enforcing or in permissive, my F11 failed in rebooting .It stop at Init process, which can not enter the graphic terminal.
I guess , is there extra work I should do but I didn't ? 2009-08-30
------------------------------------------------------------------------
zheyeung

have you added your boot params?

selinux=1 enforcing=0

Justin P. Mattock

#2 lore raw
In reply to zheyeung
Quoted 7 lines · zheyeung

Hi,everybody, I'm a beginner . I've got a problem in selinux installing.

At first, I install from selinux-policy-targeted.f11.rpm (which in release CD), then edit /etc/ selinux/config. change the mode to (enforcing,targeted),restart. everything is ok.

Quoted 7 lines

Then ,I download refpolicy.tar.gz from tresys.com. make and make install it by Eclipse-Slide. Here the problem comes. No matter I running selinux in enforcing or in permissive, my F11 failed in rebooting .It stop at Init process, which can not enter the graphic terminal.

I guess , is there extra work I should do but I didn't ?

I'm not sure why it didn't work in permissive mode (boot with enforcing=0 on the kernel command line), but you'll likely need to relabel your filesystems (boot with autorelabel on the kernel command line or touch /.autorelabel and reboot or just run fixfiles relabel manually).

But why are you doing this in the first place? What couldn't you do with the Fedora policy via local policy modules or semanage customizations? Or why not start from the Fedora selinux-policy .src.rpm to minimize your divergence?

Signature · 8 lines
Stephen Smalley
National Security Agency


--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to [email protected] with
the words "unsubscribe selinux" without quotes as the message.