LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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, 08: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, 10:19 AM   #2
berndbausch
Senior Member
 
Registered: Nov 2013
Location: Tokyo
Distribution: Redhat/Centos, Ubuntu, Raspbian, Fedora
Posts: 2,240

Rep: Reputation: 489Reputation: 489Reputation: 489Reputation: 489Reputation: 489
Your installation seems to have gone wrong. I would reinstall.
 
Old 11-17-2018, 10: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, 10:24 AM   #4
DavidMcCann
LQ Veteran
 
Registered: Jul 2006
Location: London
Distribution: CentOS, Xubuntu
Posts: 5,125

Rep: Reputation: 1709Reputation: 1709Reputation: 1709Reputation: 1709Reputation: 1709Reputation: 1709Reputation: 1709Reputation: 1709Reputation: 1709Reputation: 1709Reputation: 1709
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, 05: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


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

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

All times are GMT -5. The time now is 12:06 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration