Bug #901
closedAppion CentOS installer should work with SELinux enabled (and should not just disable it)
0%
disable SELinux
Description
I (Neil) plan to use SELinux on my servers, so I will fix the bug. SELinux is pretty cool, the only thing I don't like about it is that it reminds me of windoze.
Typical problems with SELinux is unblessed files, e.g., libraries need to be blessed as libraries:
chcon -t lib_t lib.so
and html/php files need to be blessed as web files
chcon -t httpd_sys_content_t *.html
To see the existing context of a file type:
ls -Z
http://fedoraproject.org/wiki/SELinux/chcon
http://wiki.centos.org/HowTos/SELinux
Updated by Amber Herold about 14 years ago
Eric, I think someone should test this before closing it out.
Updated by Amber Herold about 14 years ago
- Status changed from Closed to In Test
- Assignee changed from Neil Voss to Amber Herold
Updated by Amber Herold about 14 years ago
- Assignee changed from Amber Herold to Eric Hou
Eric, did you add code to allow the installer to work with SELinux enabled?
Updated by Eric Hou about 14 years ago
add chcon command to the installation script.
Updated by Eric Hou about 14 years ago
- Assignee changed from Eric Hou to Amber Herold
Updated by Amber Herold about 14 years ago
- Status changed from Closed to New
I'm going to keep this open so that we remember to add this feature in the future.
Updated by Eric Hou about 14 years ago
- Assignee changed from Amber Herold to Eric Hou
Updated by Eric Hou about 14 years ago
- Status changed from Assigned to In Code Review
- Assignee changed from Eric Hou to Amber Herold
I think I fixed the disable SELinux problem. I tested it on the testing notebook computer with SELinux : Enable and the installation script run finished without any problem.
But need to test it more detail.
Thanks.
Eric
Updated by Neil Voss about 14 years ago
- Subject changed from Appion CentOS installer requires SELinux to be disabled to Appion CentOS installer should work with SELinux enabled
- Status changed from In Code Review to Assigned
- Assignee changed from Amber Herold to Neil Voss
- Priority changed from Normal to Low
- Affected Version changed from Appion/Leginon 2.1.0 to Pre-2.0
Sorry to confuse. The spirit of this bug was to not properly disable SELinux during installation, but rather keep SELinux enabled and just install all the software properly so it work with SELinux enabled. Because I like SELinux and want to keep it enabled on my systems.
I clarified the title and assigned to myself.
Updated by Neil Voss about 14 years ago
- Subject changed from Appion CentOS installer should work with SELinux enabled to Appion CentOS installer should work with SELinux enabled (and should not just disable it)
Updated by Neil Voss over 10 years ago
- Status changed from Assigned to Won't Fix or Won't Do
- Assignee deleted (
Neil Voss) - Affected Version changed from Pre-2.0 to Appion/Leginon 2.2.0