Bug 2057605

Summary: foreman.rpm pulls in nodejs
Product: Red Hat Satellite Reporter: Ewoud Kohl van Wijngaarden <ekohlvan>
Component: PackagingAssignee: Ewoud Kohl van Wijngaarden <ekohlvan>
Status: CLOSED ERRATA QA Contact: Lukas Pramuk <lpramuk>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.11.0CC: ehelms
Target Milestone: 6.11.0Keywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-07-05 14:33:39 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Ewoud Kohl van Wijngaarden 2022-02-23 17:32:13 UTC
Description of problem:

nodejs is pulled in, at least on EL8. This is due to automatic dependencies in scripts that use nodejs in the shebang.


Version-Release number of selected component (if applicable):

I didn't check the exact version.


How reproducible:

Always


Steps to Reproduce:
1. dnf install foreman

Actual results:

Installs nodejs

Expected results:

Doesn't install nodejs

Additional info:

Can be verified with rpm -q --requires foreman.rpm. Before you'll see /usr/bin/node in there. If you don't, it's correct.

Comment 1 Bryan Kearney 2022-02-23 20:05:59 UTC
Upstream bug assigned to ekohlvan

Comment 2 Bryan Kearney 2022-02-23 20:06:00 UTC
Upstream bug assigned to ekohlvan

Comment 3 Bryan Kearney 2022-02-24 12:05:42 UTC
Moving this bug to POST for triage into Satellite since the upstream issue https://projects.theforeman.org/issues/34507 has been resolved.

Comment 5 Lukas Pramuk 2022-04-19 06:50:14 UTC
VERIFIED.

@Satellite 6.11.0 Snap16
foreman-3.1.1.12-1.el7sat.noarch
foreman-3.1.1.12-1.el8sat.noarch

# rpm -qR foreman | grep node
<empty>

>>> foreman rpm accidental dependency on nodejs is now removed

Comment 8 errata-xmlrpc 2022-07-05 14:33:39 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Moderate: Satellite 6.11 Release), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2022:5498