<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: Times New Roman; font-size: 12pt; color: #000000'>Just because the library files are there and packages are dependent upon them doesn't mean that selinux is enabled.<div><br>----- Original Message -----<br>From: "Ralf" &lt;rm@amitrader.com><br>To: users@openvz.org<br>Sent: Sunday, February 22, 2009 8:33:59 PM GMT -05:00 US/Canada Eastern<br>Subject: [Users] Re: How to disable/remove SELinux within VE ?<br><br>> On Sun, Feb 22, 2009 at 4:29 PM, Ralf &lt; rm@amitrader.com > wrote: <br>> <br>> On a Debian guest system how can I disable (or completely remove) <br>> this thing called SELinux? <br>> I don't need it, it also slows the performance. <br><br>Sterling Windmill wrote:<br>><br>> Since installing OpenVZ requires disabling SELinux on the host<br>> and all of the containers share the host's kernel, <br>> I don't believe SELinux works in a container. <br><br>Hmmm. in my VE the following 2 selinux libraries are installed:<br>  libselinux1<br>  libsepol1<br><br>And these below depend on the above 2 libraries:<br>  coreutils<br>  libpam-modules<br>  mount<br>  util-linux<br>  cron<br>  libdevmapper1.02<br>  libglib2.0-0<br>  logrotate<br>  openssh-server<br>  passwd<br>  sysvinit<br>  sysvinit-utils<br>  vim<br><br>So, I would need to deinstall the dependent modules as well,<br>but then even ssh is among them... :-)<br><br>Any tips on how to remove selinux from my system?<br>(I have access to the VE only)<br><br>BTW, the mentioned command in Victor's posting (setenforce 0) isn't available here.<br><br>_______________________________________________<br>Users mailing list<br>Users@openvz.org<br>https://openvz.org/mailman/listinfo/users<br></div></div></body></html>