Project

General

Profile

Actions

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
Priority:
Low
Assignee:
-
Category:
Installation
Start date:
10/01/2010
Due date:
% Done:

0%

Estimated time:
Affected Version:
Appion/Leginon 2.2.0
Show in known bugs:
No
Workaround:

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


Related issues 1 (0 open1 closed)

Related to Appion - Feature #597: Provide an Appion auto-installer for CentOSClosedAmber Herold05/28/201008/31/2010

Actions
Actions #1

Updated by Eric Hou about 14 years ago

  • Status changed from Assigned to Closed

This is done.

Eric

Actions #2

Updated by Amber Herold about 14 years ago

Eric, I think someone should test this before closing it out.

Actions #3

Updated by Amber Herold about 14 years ago

  • Status changed from Closed to In Test
  • Assignee changed from Neil Voss to Amber Herold
Actions #4

Updated by Amber Herold about 14 years ago

Also, what is the revision number?

Actions #5

Updated by Amber Herold almost 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?

Actions #6

Updated by Eric Hou almost 14 years ago

add chcon command to the installation script.

Actions #7

Updated by Eric Hou almost 14 years ago

  • Assignee changed from Eric Hou to Amber Herold
Actions #8

Updated by Eric Hou almost 14 years ago

Just removed the chcon command.

Actions #9

Updated by Eric Hou almost 14 years ago

  • Status changed from In Test to Closed
Actions #10

Updated by Amber Herold almost 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.

Actions #11

Updated by Eric Hou almost 14 years ago

  • Assignee changed from Amber Herold to Eric Hou
Actions #12

Updated by Eric Hou almost 14 years ago

  • Status changed from New to Assigned
Actions #13

Updated by Eric Hou almost 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

Actions #14

Updated by Neil Voss almost 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.

Actions #15

Updated by Neil Voss almost 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)
Actions #16

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
Actions

Also available in: Atom PDF