-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
failed to collect modularitylabel #1968
Labels
Comments
There is a large discrepancy between the [root@12c22a8c3af1 /]# rpm -q nodejs --qf "%{NAME} %{MODULARITYLABEL}\n"
nodejs nodejs:12:8060020220523160029:d63f516d
[root@12c22a8c3af1 /]# dnf module disable nodejs:12
[root@12c22a8c3af1 /]# find /etc/dnf/modules.d -type f -name *.module | xargs cat
[nodejs]
name=nodejs
stream=
profiles=
state=disabled
[root@12c22a8c3af1 /]# dnf module enable nodejs:20
[root@12c22a8c3af1 /]# find /etc/dnf/modules.d -type f -name *.module | xargs cat
[nodejs]
name=nodejs
stream=20
profiles=
state=enabled
[root@12c22a8c3af1 /]# dnf module list | grep nodejs
nodejs 10 [d] common [d], development, minimal, s2i Javascript runtime
nodejs 12 common [d], development, minimal, s2i Javascript runtime
nodejs 14 common [d], development, minimal, s2i Javascript runtime
nodejs 16 common [d], development, minimal, s2i Javascript runtime
nodejs 18 common [d], development, minimal, s2i Javascript runtime
nodejs 20 [e] common [d], development, minimal, s2i Javascript runtime |
It may be necessary to create a table to calculate $ curl https://yum.oracle.com/repo/OracleLinux/OL8/appstream/x86_64/repodata/06af2a645db34f209049e1672342c066ebdad128b3914a6758ff4e7c8e39a94e-modules.yaml.gz | gzip --decompress
---
document: modulemd
version: 2
data:
name: 389-ds
stream: 1.4
version: 20190512202313
context: 1fc8b219
arch: x86_64
summary: 389 Directory Server (base)
description: >-
389 Directory Server is an LDAPv3 compliant server. The base package includes
the LDAP server and command line utilities for server administration.
license:
module:
- MIT
content:
- GPLv3+
xmd:
mbs:
mse: TRUE
scmurl:
commit:
buildrequires:
nodejs:
ref:
stream: 10
context: 9edba152
version: 20190512012822
filtered_rpms: []
platform:
ref:
stream: el8
context: 32e30060
version: 20190214123456
filtered_rpms: []
rpms:
389-ds-base:
ref: 72adaa88854b1657f0f2786324f2e0ea7e336c98
dependencies:
- buildrequires:
nodejs: [10]
platform: [el8]
requires:
platform: [el8]
filter:
rpms:
- cockpit-389-ds
components:
rpms:
389-ds-base:
rationale: Package in api
ref: stream-1.4
arches: [aarch64 x86_64 s390x ppc64le]
artifacts:
rpms:
- 389-ds-base-0:1.4.0.20-7.module+el8+5152+0751f230.x86_64
- 389-ds-base-devel-0:1.4.0.20-7.module+el8+5152+0751f230.x86_64
- 389-ds-base-legacy-tools-0:1.4.0.20-7.module+el8+5152+0751f230.x86_64
- 389-ds-base-libs-0:1.4.0.20-7.module+el8+5152+0751f230.x86_64
- 389-ds-base-snmp-0:1.4.0.20-7.module+el8+5152+0751f230.x86_64
- python3-lib389-0:1.4.0.20-7.module+el8+5152+0751f230.noarch
...
---
... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What did you do? (required. The issue will be closed when not provided.)
MODULARITYLABEL
is not set for the rpm package.aquasecurity/trivy#5672 (reply in thread)
Although modular packages can be used, rpm querytags does not contain
MODULARITYLABEL
, and command execution fails.The text was updated successfully, but these errors were encountered: