Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Networking & Security
  • Search

SELinux - Removal?

Having problems getting connected to the internet or running a server? Wondering about securing your box? Ask here.
Post Reply
Advanced search
4 posts • Page 1 of 1
Author
Message
Thistled
Guru
Guru
User avatar
Posts: 572
Joined: Thu Jan 06, 2011 6:57 pm
Location: Scotland
Contact:
Contact Thistled
Website

SELinux - Removal?

  • Quote

Post by Thistled » Tue Nov 24, 2015 9:41 pm

Hey team. I installed SELinux - Hardened sources on a small server many years ago.
I never really got around to enabling it and just ran it in permissive mode.
Spent many weeks on end trying to get my head around policies and permissions, and some critical programs I used just never worked.

So, now it is time to remove SELinux from my box and revert back to normal gentoo-sources.

I find it hilarious to see there is no mention of reverting back to a normal system anywhere in Gentoo documentation or wikis.

I have already installed the gentoo-sources kernel, and am currently using it, but can't for some reason seem to remove all selinux policies from my system.

Forgive the stupid question, but is it case of simply removing libselinux and performing an update.

I would not be wasting your precious time with such a stupid question if there was at least a hint of what to do on the Gentoo documentation.

Shame.
Whatever you do, do it properly!
Top
The Doctor
Bodhisattva
Bodhisattva
User avatar
Posts: 2678
Joined: Tue Jul 27, 2010 10:56 pm

  • Quote

Post by The Doctor » Tue Nov 24, 2015 10:00 pm

Switch profiles to a normal one and rebuild everything with emerge -e world followed by an emerge -ac

I can't actually guarantee that will work out though. Best make backups first. Removing SElinux from a desktop experiment rather backfired on me a while back.
First things first, but not necessarily in that order.

Apologies if I take a while to respond. I'm currently working on the dematerialization circuit for my blue box.
Top
Thistled
Guru
Guru
User avatar
Posts: 572
Joined: Thu Jan 06, 2011 6:57 pm
Location: Scotland
Contact:
Contact Thistled
Website

  • Quote

Post by Thistled » Tue Nov 24, 2015 10:22 pm

Thanks for the swift response Doctor.

I think it is much simpler than just rebuilding world.
The last time I was bitten by SELinux (I couldn't run any BOINC apps) I managed to remove it, and I am positive
I did not have to rebuild the entire world. It was so long ago I just can't remember the process.

The current server was built as a second attempt at SELinux, and again, it failed to function as according to the documentation, so it has been
sitting in permissive mode for the last 3 years. lol.

It's totally amazing there is no reference to the community through documentation in how to revert.

:roll:
Whatever you do, do it properly!
Top
Thistled
Guru
Guru
User avatar
Posts: 572
Joined: Thu Jan 06, 2011 6:57 pm
Location: Scotland
Contact:
Contact Thistled
Website

  • Quote

Post by Thistled » Mon Dec 21, 2015 9:15 pm

** UPDATE **

Okay so removing libselinux killed the system. Again, shame there was no warning in the documentation.

Never mind, did a complete reinstall without SELinux and started from scratch.

Suppose it's solved now.
Whatever you do, do it properly!
Top
Post Reply

4 posts • Page 1 of 1

Return to “Networking & Security”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic