Project

General

Profile

Bug #4695

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

Added by Jonathan CLARKE almost 6 years ago. Updated almost 5 years ago.

Status:
Released
Priority:
1
Assignee:
Matthieu CERDA
Category:
Packaging
Target version:
Severity:
User visibility:
Effort required:
Priority:

Subtasks

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

Related issues

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

Associated revisions

Revision b6f346e7 (diff)
Added by Jonathan CLARKE almost 6 years ago

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

Revision e43f5b7c
Added by Matthieu CERDA almost 6 years ago

Merge pull request #293 from jooooooon/bug_4695/on_aix_check_rudder_agent_script_complains_uses_nonexistant_options_for_ps_and_echo

Fixes #4695: On AIX, check-rudder-agent script complains uses nonexistan...

History

#1

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

#2

Updated by Jonathan CLARKE almost 6 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
#3

Updated by Jonathan CLARKE almost 6 years ago

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

Applied in changeset commit:b6f346e78cebf9a60a2d403c83ea23382cf7a802.

#4

Updated by Matthieu CERDA almost 6 years ago

Applied in changeset commit:e43f5b7cb3bac2017d71a6f2def8a195e7bfe510.

#5

Updated by Vincent MEMBRÉ over 5 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:

#6

Updated by Benoît PECCATTE almost 5 years ago

  • Project changed from packages to Rudder
  • Category set to Packaging

Also available in: Atom PDF