Project

General

Profile

Actions

Bug #4690

closed

User story #4595: Support for AIX (agent only)

RPM postinst fails on AIX due to use of "sed -i"

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

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

Description

When installing Rudder on AIX we get this error:

sed: illegal option -- i
Usage:  sed [-n] [-u] Script [File ...]
        sed [-n] [-u] [-e Script] ... [-f Script_file] ... [File ...]
execution of rudder-agent-2.10.1.rc1.git201403271731-1.AIX.5.3 script failed, exit status 127

The use of "sed -i" in the RPM postinst is required for upgrades from 2.6 or earlier. Since we didn't support AIX on those versions, we don't need it. I'm just going to enclose it in a "if os != AIX" block.

Actions #1

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/287
Actions #2

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:2e7e434549adce5f80e51eeed2640802482362e8.

Actions #3

Updated by Vincent MEMBRÉ over 10 years ago

Applied in changeset commit:d150c484558c841d27dfbc46229c0dd75dde1b67.

Actions #4

Updated by Vincent MEMBRÉ over 10 years ago

  • Target version changed from 2.10.1 to 2.10.0
Actions #5

Updated by Vincent MEMBRÉ over 10 years ago

  • Parent task set to #4595
Actions #6

Updated by Vincent MEMBRÉ over 10 years ago

  • Status changed from Pending release to Released

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

Actions #7

Updated by Benoît PECCATTE over 9 years ago

  • Category set to Packaging
Actions

Also available in: Atom PDF