Project

General

Profile

Actions

Bug #24057

closed

RHEL9 policies have an incompatible sh shebang

Added by Alexis Mousset 11 months ago. Updated 11 months ago.

Status:
Released
Priority:
N/A
Category:
Packaging
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
Checked
Regression:
No

Description

The package modules (and maybe other scripts in the policies) are modified at build time by RPM on RHEL 9, replacing the /bin/sh shebang by /usr/bin/sh (due to usr-merge I guess), but this beaks on old systems without a /usr/bin/sh file (like Ubuntu 18.04 LTS).

head /usr/share/ncf/tree/10_ncf_internals/modules/packages/apt_get
#!/usr/bin/sh
...

Previous RHEL version did not have this behavior.


Subtasks 2 (0 open2 closed)

Bug #24094: RHEL9 policies have an incompatible sh shebang - fixReleasedFélix DALLIDETActions
Bug #24098: RHEL9 policies have an incompatible sh shebang - fixReleasedFélix DALLIDETActions
Actions #1

Updated by Alexis Mousset 11 months ago

  • Subject changed from RHEL9 policies have incompatible sh shebang to RHEL9 policies have an incompatible sh shebang
Actions #3

Updated by Alexis Mousset 11 months ago

  • Status changed from New to In progress
  • Assignee set to Alexis Mousset
Actions #4

Updated by Alexis Mousset 11 months ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Alexis Mousset to Benoît PECCATTE
  • Pull Request set to https://github.com/Normation/rudder-packages/pull/2850
Actions #5

Updated by Alexis Mousset 11 months ago

  • Status changed from Pending technical review to Pending release
Actions #7

Updated by Alexis Mousset 11 months ago

  • Fix check changed from To do to Error - Blocking
Actions #8

Updated by Alexis Mousset 11 months ago

  • Subtask #24094 added
Actions #9

Updated by Alexis Mousset 11 months ago

  • Fix check changed from Error - Blocking to Checked
Actions #10

Updated by Vincent MEMBRÉ 11 months ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 7.3.11 which was released today.

Actions

Also available in: Atom PDF