Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Fedora This forum is for the discussion of the Fedora Project.


  Search this Thread
Old 08-04-2006, 11:08 AM   #1
Registered: Dec 2004
Distribution: Fedora, Ubuntu
Posts: 83

Rep: Reputation: 15
Should enabling selinux stop me from booting?

Ok. I've got FC5 and recently updated including my kernel. Anyway during installation I thought I enabled SElinux. However I discovered for what ever reason it is actually disabled. So I decided to enable it. When I rebooted I got the following message:

An error occured during the file system check
Dropping you to a shell; the system will reboot
When you leave the shell
Warning -- SElinux is active
Disabling security, enforcement for system recovery
Run 'setenforce1' to reenable
Give root password tor maintenance
(or type control-D to continue)

After during some googling I edited the selinux file disabling it and rebooted up just fine.

Is this normal behavior when enabling SElinux? If so how can I modify the policy so I don't have this happen again?

I'm actually scared to enable SElinux now.

Any input would be appreciated.
Old 08-04-2006, 02:47 PM   #2
Senior Member
Registered: Mar 2004
Location: Wales, UK
Distribution: Debian, Ubuntu
Posts: 1,075

Rep: Reputation: 45
It's not normal behaviour for SELinux at all.

I think that the problem is this:

"An error occured during the file system check"

Possibly a disk error?

SELinux relies on file attributes, so if there is a disk problem it could mess up. The fixfiles utility repairs these, provided that the storage system is OK.
Old 08-04-2006, 03:51 PM   #3
Registered: Dec 2004
Distribution: Fedora, Ubuntu
Posts: 83

Original Poster
Rep: Reputation: 15
Well I rebooted successfully with SElinux enabled in enforcing mode.
After my initial problem I first disabled SElinux. Then later I enabled it using the permissive mode. It rebooted fine using permissive and I must of successfully updated the necessary policy changes(or whatever its called).

Has anyone else had similar scenarios.

And does anyone know what could have caused this?



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
My Computer is not continuing booting in Enabling swap Space in CentOS Jefffrey Sze Linux - Software 1 06-26-2006 01:08 AM
How To Stop SELINUX ...? skate Linux - Software 2 07-09-2005 10:43 AM
Stop X from booting smilinggoat Linux - General 2 05-14-2004 10:13 PM
booting halfway stop??????Why ????? ckamheng Slackware 5 12-30-2003 07:14 AM
Enabling Vsync in games to stop flicker Vaevictus Linux - General 5 02-19-2003 06:43 AM > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 10:27 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration