-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Open
Labels
Description
What did you do? (required. The issue will be closed when not provided.)
- oracle linux 8
MODULARITYLABELis not set for the rpm package.
$ docker run -it oraclelinux:8 /bin/bash
[root@169a306ba19f ~]# dnf module install -y container-tools:ol8:20190518020532:3ba8ebeb:x86_64
[root@169a306ba19f ~]# rpm -q runc --queryformat "%{NAME} %{EPOCHNUM} %{VERSION} %{RELEASE} %{ARCH} %{MODULARITYLABEL}\n"
runc 0 1.0.0 54.rc5.dev.git2abd837.module+el8+5201+6423ecab x86_64 (none)aquasecurity/trivy#5672 (reply in thread)
- fedora 28 server, (probably fedora 29 server too)
Although modular packages can be used, rpm querytags does not containMODULARITYLABEL, and command execution fails.
[vagrant@localhost ~]$ cat /etc/os-release
NAME=Fedora
VERSION="28 (Server Edition)"
ID=fedora
VERSION_ID=28
PLATFORM_ID="platform:f28"
PRETTY_NAME="Fedora 28 (Server Edition)"
ANSI_COLOR="0;34"
CPE_NAME="cpe:/o:fedoraproject:fedora:28"
HOME_URL="https://fedoraproject.org/"
SUPPORT_URL="https://fedoraproject.org/wiki/Communicating_and_getting_help"
BUG_REPORT_URL="https://bugzilla.redhat.com/"
REDHAT_BUGZILLA_PRODUCT="Fedora"
REDHAT_BUGZILLA_PRODUCT_VERSION=28
REDHAT_SUPPORT_PRODUCT="Fedora"
REDHAT_SUPPORT_PRODUCT_VERSION=28
PRIVACY_POLICY_URL="https://fedoraproject.org/wiki/Legal:PrivacyPolicy"
VARIANT="Server Edition"
VARIANT_ID=server
[vagrant@localhost ~]$ dnf module list
Last metadata expiration check: 0:04:02 ago on Mon 17 Jun 2024 16:07:28 CEST.
Fedora Modular 28 - x86_64
Name Stream Version Profiles
reviewboard 2.5 [d] 20180206144254 default, server
Fedora Modular 28 - x86_64 - Updates
Name Stream Version Profiles
afterburn rolling [d] 2820190507144241 default
ant 1.10 2820190507144348 default
askalono-cli rolling [d] 2820190424143105 default
avocado 52lts 2820190312151646 default, minimal
...
[vagrant@localhost ~]$ rpm -qa --queryformat "%{NAME} %{EPOCHNUM} %{VERSION} %{RELEASE} %{ARCH} %{MODULARITYLABEL}\n"
error: incorrect format: unknown tag: "MODULARITYLABEL"
error: incorrect format: unknown tag: "MODULARITYLABEL"
...