[Users] Re: How to disable/remove SELinux within VE ?

Sterling Windmill sterling at ampx.net
Sun Feb 22 23:20:34 EST 2009


Just because the library files are there and packages are dependent upon them doesn't mean that selinux is enabled. 

----- Original Message ----- 
From: "Ralf" <rm at amitrader.com> 
To: users at openvz.org 
Sent: Sunday, February 22, 2009 8:33:59 PM GMT -05:00 US/Canada Eastern 
Subject: [Users] Re: How to disable/remove SELinux within VE ? 

> On Sun, Feb 22, 2009 at 4:29 PM, Ralf < rm at amitrader.com > wrote: 
> 
> On a Debian guest system how can I disable (or completely remove) 
> this thing called SELinux? 
> I don't need it, it also slows the performance. 

Sterling Windmill wrote: 
> 
> Since installing OpenVZ requires disabling SELinux on the host 
> and all of the containers share the host's kernel, 
> I don't believe SELinux works in a container. 

Hmmm. in my VE the following 2 selinux libraries are installed: 
  libselinux1 
  libsepol1 

And these below depend on the above 2 libraries: 
  coreutils 
  libpam-modules 
  mount 
  util-linux 
  cron 
  libdevmapper1.02 
  libglib2.0-0 
  logrotate 
  openssh-server 
  passwd 
  sysvinit 
  sysvinit-utils 
  vim 

So, I would need to deinstall the dependent modules as well, 
but then even ssh is among them... :-) 

Any tips on how to remove selinux from my system? 
(I have access to the VE only) 

BTW, the mentioned command in Victor's posting (setenforce 0) isn't available here. 

_______________________________________________ 
Users mailing list 
Users at openvz.org 
https://openvz.org/mailman/listinfo/users 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://openvz.org/pipermail/users/attachments/20090222/227c2ab8/attachment.html


More information about the Users mailing list