Bug 788284

Summary: Speed up pulpdist-httpd post install script
Product: [Community] PulpDist Reporter: Nick Coghlan <ncoghlan>
Component: Web AppAssignee: Nick Coghlan <ncoghlan>
Status: CLOSED EOL QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecified   
Target Milestone: 0.4.0   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-09-29 03:04:17 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Nick Coghlan 2012-02-07 23:37:07 UTC
The pulpdist-httpd post install script currently invokes semanage to update the default file contexts on relevant directories. This appears to be *very* slow, having a very noticeable effect on the installation time for the RPM.

So, while the current approach works, alternatives should be explored:
- see if semanage offers a way to make several changes at once (and, if so, whether that makes things faster
- switch from semanage invocation to installing a custom SELinux policy specifically for the PulpDist web app (this is the approach Pulp uses for SELinux compatibility)

Comment 1 Nick Coghlan 2016-09-29 03:04:17 UTC
Marking all remaining PulpDist issues as CLOSED-EOL

It doesn't make sense to leave these issues open, as PulpDist hasn't been in active development for quite some time, and restarting development would involve a significant modernisation effort that would likely render many of these requests irrelevant.