Bug 716248 - Request environment variable to run the JON server as a different user for init
Request environment variable to run the JON server as a different user for init
Status: NEW
Product: RHQ Project
Classification: Other
Component: Usability (Show other bugs)
Unspecified Unspecified
medium Severity unspecified (vote)
: ---
: ---
Assigned To: RHQ Project Maintainer
Mike Foley
: FutureFeature
Depends On:
  Show dependency treegraph
Reported: 2011-06-23 14:54 EDT by dsteigne
Modified: 2011-10-07 14:58 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of:
Last Closed:
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description dsteigne 2011-06-23 14:54:53 EDT
Description of problem:
Unable to start JON Server as non-root user using init. JON supports automated start up of JON using the init mechanism, as defined here : http://docs.redhat.com/docs/en-US/JBoss_Operations_Network/2.3/html/JON_Server_Guide/JON_Server-Running_Server-Running_Unix.html

The Agent supports an environment variable RHQ_AGENT_START_COMMAND, which allows you to specify a su command to run this as a non-root user.

The Server doesn't contain a similar function and there is no supported mechanism to start as non-root user, you have to create a SysV style Init script, can a similar environment variable be added to the Server as in the agent.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
Actual results:

Expected results:

Additional info:

Note You need to log in before you can comment on or make changes to this bug.