Project

General

Profile

Actions

Bug #4695

closed

On AIX, check-rudder-agent script complains uses nonexistant options for ps and echo

Added by Jonathan CLARKE over 10 years ago. Updated over 9 years ago.

Status:
Released
Priority:
1 (highest)
Assignee:
Matthieu CERDA
Category:
Packaging
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

Subtasks 2 (0 open2 closed)

Bug #4697: check-rudder-agent script can't access some variables due to change in #4695ReleasedMatthieu CERDA2014-03-29Actions
Bug #4713: check-rudder-agent script is no longer sh/dash compatible due to function definitionReleasedMatthieu CERDA2014-03-31Actions

Related issues 1 (0 open1 closed)

Related to Rudder - User story #4595: Support for AIX (agent only)ReleasedJonathan CLARKE2014-03-06Actions
Actions #1

Updated by Jonathan CLARKE over 10 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).

Actions #2

Updated by Jonathan CLARKE over 10 years ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Jonathan CLARKE to Matthieu CERDA
  • Pull Request set to https://github.com/Normation/rudder-packages/pull/293
Actions #3

Updated by Jonathan CLARKE over 10 years ago

  • Status changed from Pending technical review to Pending release
  • % Done changed from 0 to 100

Applied in changeset commit:b6f346e78cebf9a60a2d403c83ea23382cf7a802.

Actions #4

Updated by Matthieu CERDA over 10 years ago

Applied in changeset commit:e43f5b7cb3bac2017d71a6f2def8a195e7bfe510.

Actions #5

Updated by Vincent MEMBRÉ over 10 years ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 2.10.1, which was released today.
Check out:

Actions #6

Updated by Benoît PECCATTE over 9 years ago

  • Project changed from 34 to Rudder
  • Category set to Packaging
Actions

Also available in: Atom PDF