Bug 535736 (RHQ-2400)
Summary: | add option to boot server as specific user | ||
---|---|---|---|
Product: | [Other] RHQ Project | Reporter: | Mark Burchard <mburchar> |
Component: | Launch Scripts | Assignee: | RHQ Project Maintainer <rhq-maint> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | unspecified | CC: | cwelton, jshaughn, mdimaio, ricardo.arguello |
Target Milestone: | --- | Keywords: | FutureFeature, Improvement |
Target Release: | --- | ||
Hardware: | All | ||
OS: | All | ||
URL: | http://jira.rhq-project.org/browse/RHQ-2400 | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Enhancement | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2014-05-09 15:48:15 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Mark Burchard
2009-09-01 15:22:00 UTC
RHQ-1189 did something similar for the agent There's no reason for the Server to run as root, which is what it will do when called from init at present. In any case, the runas user should be configurable. Not sure if this should be a wrapper script along the lines of the Agent, but that would at least make things consistent. Syncing the current init scripts style with the EAP jboss_init_* script style would be the "right" way to do it. Something in the "$JBOSS_USER" format. Also, we should move all the configurable variables to a standardized file along the lines of run.conf. Basically, there should be no reason to edit either the Agent or Server start/init scripts at all. I'm not a big fan of the way the daemon user is configurable in with the Agent at present. It's buried in the file and not very intuitive unless you know *nix. It really should be a variable. This bug was previously known as http://jira.rhq-project.org/browse/RHQ-2400 This bug is related to RHQ-1189 mass add of key word FutureFeature to help track Triaged 20-Dec *** Bug 535791 has been marked as a duplicate of this bug. *** The RUN_AS stuff should handle this and/or the new rhqctl options. |