LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 11-17-2018, 07:26 AM   #1
pedrofleck
LQ Newbie
 
Registered: Nov 2014
Posts: 10

Rep: Reputation: Disabled
SELinux prevents me from login in since installation


I just installed Fedora 29 and I couldn't make it boot (a lot of things failed, like NetworkManager and GDM), I reinstalled numerous times with different settings and then I tried booting with GRUB command "selinux=0" and it worked. Then I reboot and tried to boot with SELinux enabled again: now I can't login, not in GDM neither in command line. Setting it to permissive doesn't work either. What can I do?
 
Old 11-17-2018, 09:19 AM   #2
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
Your installation seems to have gone wrong. I would reinstall.
 
Old 11-17-2018, 09:37 AM   #3
pedrofleck
LQ Newbie
 
Registered: Nov 2014
Posts: 10

Original Poster
Rep: Reputation: Disabled
I reinstalled numerous times and checked the media before.
 
Old 11-18-2018, 09:24 AM   #4
DavidMcCann
LQ Veteran
 
Registered: Jul 2006
Location: London
Distribution: PCLinuxOS, Debian
Posts: 6,142

Rep: Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314
There might be files with the wrong SEL labeling. Have a look here
https://docs.fedoraproject.org/en-US...g_SELinux.html
and try the instructions for enabling. Of course, you could just run Fedora without SEL, as many people do. After all, Red Hat & Fedora are the only distros that enable it and no-one else suffers dire consequences as a result!
 
Old 11-19-2018, 04:57 AM   #5
pedrofleck
LQ Newbie
 
Registered: Nov 2014
Posts: 10

Original Poster
Rep: Reputation: Disabled
Yeah, I relabelled as explained there, but then I got the problem that my system won't boot like the first time (errors: https://i.imgur.com/uCyI7dY.jpg). I'm running without it, however, it's a system breaker problem that can affect someone that won't know that is caused by SEL or how to fix it.
 
  


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
[SOLVED] SELinux prevents access to perl script legolasthehansy Linux - Security 6 11-20-2013 12:29 PM
SELinux - disabling in CentOS 5.1 prevents LVM from loading and/or booting tiber Linux - Software 2 02-09-2008 04:51 AM
selinux prevents login Steve Riley Red Hat 1 01-08-2008 10:44 AM
SELinux prevents adding users in FC3? Phaethar Fedora 0 12-27-2004 09:54 AM

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

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

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