Bug #901
closed
Appion CentOS installer should work with SELinux enabled (and should not just disable it)
Added by Neil Voss about 14 years ago.
Updated over 10 years ago.
Status:
Won't Fix or Won't Do
Affected Version:
Appion/Leginon 2.2.0
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
- Status changed from Assigned to Closed
Eric, I think someone should test this before closing it out.
- Status changed from Closed to In Test
- Assignee changed from Neil Voss to Amber Herold
Also, what is the revision number?
- Assignee changed from Amber Herold to Eric Hou
Eric, did you add code to allow the installer to work with SELinux enabled?
add chcon command to the installation script.
- Assignee changed from Eric Hou to Amber Herold
Just removed the chcon command.
- Status changed from In Test to Closed
- Status changed from Closed to New
I'm going to keep this open so that we remember to add this feature in the future.
- Assignee changed from Amber Herold to Eric Hou
- Status changed from New to Assigned
- 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
- 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.
- 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)
- 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
Also available in: Atom
PDF