Bug 2057605 - foreman.rpm pulls in nodejs
Summary: foreman.rpm pulls in nodejs
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Packaging
Version: 6.11.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: 6.11.0
Assignee: Ewoud Kohl van Wijngaarden
QA Contact: Lukas Pramuk
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-02-23 17:32 UTC by Ewoud Kohl van Wijngaarden
Modified: 2022-07-05 14:33 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-07-05 14:33:39 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 34507 0 Normal Ready For Testing foreman.rpm pulls in nodejs 2022-02-23 17:32:13 UTC
Red Hat Product Errata RHSA-2022:5498 0 None None None 2022-07-05 14:33:49 UTC

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


Note You need to log in before you can comment on or make changes to this bug.