`readlink`, which we are using to determine the originating path for rhq-agent binaries, does not exist on some/most stock Solaris installs. Apparently many admins go and download this (and other unix utils) from Sunfreeware. That said, it doesn't exist by default, so we'll need to document this requirement and/or any limitations. Recommended text: <!> Solaris Admins: Symbolically linking the rhq agent binaries requires invocation of `readlink` in "rhq-agent-wrapper.sh". However, `readlink` is not supplied by default in some Solaris installations. Solaris users must either download `readlink` from a third party provider (such as Sunfreeware), or refrain from symbolically linking the agent binaries, when using the wrapper script.
Moved to Docs queue
Note, this is also an issue on HP-UX, which also does not include readlink out-of-box. It also may be an issue on AIX - this needs to be checked.
This bug was previously known as http://jira.rhq-project.org/browse/RHQ-1520 This bug is related to RHQ-1752