Skip to content
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

feat(rocky): support Rocky Linux Modular Package #130

Open
wants to merge 9 commits into
base: main
Choose a base branch
from

Conversation

MaineK00n
Copy link
Contributor

@MaineK00n MaineK00n commented Jan 18, 2022

Background

Rocky Linux's errata is not able to accurately detect the modular package.
Therefore, it is necessary to either wait for Rocky Linux to fix the errata or to extend the errata.
ref: https://forums.rockylinux.org/t/some-errata-missing-in-comparison-with-rhel-and-almalinux/3843

How to extend errata

Look for the affected package in the updateinfo.xml in the modules.yaml and find the matching module.
It is successful only if it can be completely broken down into modules according to modules.yaml.
http://download.rockylinux.org/pub/rocky/8/AppStream/x86_64/os/repodata/16b876cb72b185e45e498bc7d98f82341585f5a6cea6fd1059da08bc25f263e8-modules.yaml.xz

How it changes

https://github.com/aquasecurity/vuln-list/blob/main/rocky/8/AppStream/x86_64/2021/RLSA-2021:1979.json

12c12
<   "packages": [
---
>   "pkglists": [
14,29c14,40
<       "name": "libecap",
<       "epoch": "0",
<       "version": "1.0.1",
<       "release": "2.module+el8.4.0+404+316a0dc5",
<       "arch": "x86_64",
<       "src": "libecap-1.0.1-2.module+el8.4.0+404+316a0dc5.src.rpm",
<       "filename": "libecap-1.0.1-2.module+el8.4.0+404+316a0dc5.x86_64.rpm"
<     },
<     {
<       "name": "libecap-devel",
<       "epoch": "0",
<       "version": "1.0.1",
<       "release": "2.module+el8.4.0+404+316a0dc5",
<       "arch": "x86_64",
<       "src": "libecap-1.0.1-2.module+el8.4.0+404+316a0dc5.src.rpm",
<       "filename": "libecap-devel-1.0.1-2.module+el8.4.0+404+316a0dc5.x86_64.rpm"
---
>       "packages": [
>         {
>           "name": "libecap",
>           "epoch": "0",
>           "version": "1.0.1",
>           "release": "2.module+el8.4.0+404+316a0dc5",
>           "arch": "x86_64",
>           "src": "libecap-1.0.1-2.module+el8.4.0+404+316a0dc5.src.rpm",
>           "filename": "libecap-1.0.1-2.module+el8.4.0+404+316a0dc5.x86_64.rpm"
>         },
>         {
>           "name": "libecap-devel",
>           "epoch": "0",
>           "version": "1.0.1",
>           "release": "2.module+el8.4.0+404+316a0dc5",
>           "arch": "x86_64",
>           "src": "libecap-1.0.1-2.module+el8.4.0+404+316a0dc5.src.rpm",
>           "filename": "libecap-devel-1.0.1-2.module+el8.4.0+404+316a0dc5.x86_64.rpm"
>         }
>       ],
>       "module": {
>         "stream": "4",
>         "name": "squid",
>         "version": 8050020211109223548,
>         "arch": "x86_64",
>         "context": "b4937e53"
>       }

@MaineK00n MaineK00n force-pushed the support-rocky-linux-module branch from 41a3ce7 to f890917 Compare January 18, 2022 13:49
@MaineK00n MaineK00n force-pushed the support-rocky-linux-module branch from f890917 to 86ad53f Compare January 25, 2022 14:22
@MaineK00n MaineK00n marked this pull request as ready for review January 25, 2022 17:47
@MaineK00n MaineK00n force-pushed the support-rocky-linux-module branch from d8f9c77 to 40af10b Compare January 26, 2022 23:59
@MaineK00n MaineK00n force-pushed the support-rocky-linux-module branch from faefe9c to a929d95 Compare March 3, 2022 02:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant