Using RHQ_AGENT_START_COMMAND with su or sudo to start JBoss ON agent as a System V style init service is unreliable
Issue
- Service hangs
rhq-agent-wrapper
does not work as System V init script- How to run rhq-agent as a service
- Unable to use config service command
Environment
- Red Hat JBoss Operations Network (ON) 3.2
- JBoss ON agent has been configured as a System V init service using the instructions provided in Running the Agent as a Daemon or init.d Service
- JBoss ON agent's
RHQ_AGENT_START_COMMAND
environment variable is defined usingsu
as described in Starting an Agent with a Custom Command
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.