Project

General

Profile

Actions

Bug #24057

closed

RHEL9 policies have an incompatible sh shebang

Bug #24057: RHEL9 policies have an incompatible sh shebang

Added by Alexis Mousset over 2 years ago. Updated over 2 years 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

Updated by Alexis Mousset over 2 years ago Actions #1

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

Updated by Alexis Mousset over 2 years ago Actions #3

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

Updated by Alexis Mousset over 2 years ago Actions #4

  • 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

Updated by Alexis Mousset over 2 years ago Actions #5

  • Status changed from Pending technical review to Pending release

Updated by Alexis Mousset over 2 years ago Actions #7

  • Fix check changed from To do to Error - Blocking

Updated by Alexis Mousset over 2 years ago Actions #8

  • Subtask #24094 added

Updated by Alexis Mousset over 2 years ago Actions #9

  • Fix check changed from Error - Blocking to Checked

Updated by Vincent MEMBRÉ over 2 years ago Actions #10

  • 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: PDF Atom