LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora > Fedora - Installation
User Name
Password
Fedora - Installation This forum is for the discussion of installation issues with Fedora.

Notices


Reply
  Search this Thread
Old 03-13-2008, 01:06 PM   #1
Ezplan
Member
 
Registered: Dec 2003
Location: MA
Distribution: CentOS 6.8 & 7, Linux Mint
Posts: 66
Blog Entries: 1

Rep: Reputation: 15
Disable selinux at install problem FC8


Hi All,
Just did a clean install of FC8 from DVD. Everything appeared to go well: partitions created as I wanted, raid set up etc.. After completing install system rebooted fine. When it came to the page to set up selinux I chose "disable". I received a warning something about "this will require changes to settings on all your files and require a reboot. Are you sure..." I chose "yes", the system rebooted and now I've been looking a screen with a spinning cursor for close to 3 hours, also the HD light has been flashing all this time. Is this normal? Should I force a reboot or just let it play out? Thanks.
 
Old 03-13-2008, 01:23 PM   #2
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
Thats definitely not normal. Try rebooting and see if that resolves the problem.
 
Old 03-13-2008, 01:48 PM   #3
Ezplan
Member
 
Registered: Dec 2003
Location: MA
Distribution: CentOS 6.8 & 7, Linux Mint
Posts: 66

Original Poster
Blog Entries: 1

Rep: Reputation: 15
Thanks reddazz for the quick reply.
I rebooted and it started doing the same thing. I rebooted again with the DVD and went to linux rescue. Got to the installed image at /mnt/sysimage and took a look at /mnt/sysimage/var/log/dmesg. Dmesg reports "selinux starting in permissive mode". I thought I had disabled it. Maybe this doesn't mean anything. Any thoughts what to do here? This is a clean install with nothing on the system, so maybe worth starting again?
 
Old 03-13-2008, 01:58 PM   #4
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
If its a fresh install, there is no harm in reinstalling.
 
Old 03-13-2008, 07:07 PM   #5
simplicissimus
Registered User
 
Registered: Mar 2008
Posts: 104

Rep: Reputation: 15
Disabling SELINUX

If SELINUX caused problems after a brand new installation, than it conflicts with one or more packages - SELINUX is for example known to play difficult with the Apache server sometimes. So if you reinstall with the same combination of packages and disable SELINUX in the same way as you did before then you can easily come to the same result.

If you can run Linux in rescue mode by booting from the installer DVD, then login to a root shell (rescue mode offers that option) and remount the hard drive with the new installation in writeable mode:

# this should give a list of your HDD devices
$ fdisk -l
# knowing the name of your device you should remount to writeable
# (it should have been mounted in read-only mode)
$ mount -remount <your-device> <mount point>

This way you can overwrite SELINUX settings by hand:
# goto the SELINUX config directory and open the config file
$ cd <mount point>/etc/selinux
$ vi config

Modify it to look like this (only uncommented lines count):
---------------------------------------------------------
# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
# enforcing - SELinux security policy is enforced.
# permissive - SELinux prints warnings instead of enforcing.
# disabled - SELinux is fully disabled.
SELINUX=disabled
# SELINUXTYPE= type of policy in use. Possible values are:
# targeted - Only targeted network daemons are protected.
# strict - Full SELinux protection.
SELINUXTYPE=targeted

# SETLOCALDEFS= Check local definition changes
SETLOCALDEFS=0
---------------------------------------------------------

After rebooting SELINUX will be entirely disabled. If the problem still exists after that, than SELINUX is just a part of the problem.

Hope this helps,
Regards,
SIMP

Linux Archive

Last edited by simplicissimus; 04-02-2008 at 04:21 AM.
 
  


Reply



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
FC8 sshd default configuration fails SeLinux john@ackley.net Linux - Software 1 12-29-2007 05:47 AM
fc8 selinux and VMware Server 1 Ammad Linux - Security 1 12-16-2007 12:01 AM
how to disable selinux? xpucto Fedora 2 06-08-2007 06:16 AM
disable selinux mrlucio79 Fedora 3 08-28-2006 01:49 PM
Disable selinux? lucktsm Fedora 2 07-11-2006 10:15 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora > Fedora - Installation

All times are GMT -5. The time now is 02:34 AM.

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