On AIX, check-rudder-agent script complains uses nonexistant options for ps and echo
Updated by Jonathan CLARKE about 6 years ago
- Subject changed from check-rudder-agent script complains uses nonexistant options on to On AIX, check-rudder-agent script complains uses nonexistant options for ps and echo
- Status changed from New to In progress
- Assignee set to Jonathan CLARKE
- Priority changed from N/A to 2
- Target version set to 2.10.1
The output from running check-rudder-agent on AIX looks like this:
-n INFO: Creating a new UUID for Rudder as the existing one is invalid... Done. ps: illegal option -- w ps: illegal option -- w Usage: ps [-ANPaedfklmMZ] [-n namelist] [-F Format] [-o specifier[=header],...] [-p proclist][-G|-g grouplist] [-t termlist] [-U|-u userlist] [-c classlist] [ -T pid] [ -L pidlist] Usage: ps [aceglnsuvwxUX] [t tty] [ProcessNumber]
This can be simply worked around by not using "echo -n" (just "echo") and not using the "-ww" option to ps (AIX's ps doesn't limit the width of the output, so we don't need it).
Updated by Vincent MEMBRÉ almost 6 years ago
- Status changed from Pending release to Released
This bug has been fixed in Rudder 2.10.1, which was released today.
- The release announcement: http://www.rudder-project.org/pipermail/rudder-announce/2014-June/000087.html * The full ChangeLog: http://www.rudder-project.org/foswiki/bin/view/System/Documentation:ChangeLog27 * Download information: https://www.rudder-project.org/site/get-rudder/downloads/