Project

General

Profile

Actions

Bug #24057

closed

RHEL9 policies have an incompatible sh shebang

Added by Alexis Mousset 11 months ago. Updated 10 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

Also available in: Atom PDF