Bug 1780100

Summary: Module stream mailman:2.1 does not have correct module.md file
Product: Red Hat Enterprise Linux 8 Reporter: Honza Horak <hhorak>
Component: mailman-2.1-moduleAssignee: Pavel Zhukov <pzhukov>
Status: CLOSED ERRATA QA Contact: Ondrej Mejzlik <omejzlik>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 8.2CC: omejzlik
Target Milestone: rcKeywords: EasyFix, TestCaseNotNeeded, Triaged
Target Release: 8.0Flags: pm-rhel: mirror+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-11-04 02:48:16 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1780081, 1817044, 1825061    

Description Honza Horak 2019-12-05 12:12:00 UTC
Based on the content in https://src.osci.redhat.com/modules/ant/raw/1.10-rhel-8.2.0/f/ant.yaml, the module stream ant:1.10 does not define 'name' and 'stream' properly in the module.md file. Reason for doing it was explained in
http://post-office.corp.redhat.com/archives/rhel-devel/2019-March/msg00612.html

Further documentation in RHEL-8 Developer Guide:
https://docs.google.com/document/d/1IFFvXKvNZpLWAMS9-870bahMMtsWru8QOCIREmkd_58/edit#heading=h.lln13r876joj

Building a module in MBS from production branches (those with rhel-x.y.q suffix) might result in a module ant:1.10-rhel-x.y.q instead of ant:1.10, which is sometimes not that obvious. It is more than recommended to fix the module.md file right away and avoid problems in the future.

Check the tracker https://bugzilla.redhat.com/show_bug.cgi?id=1780081 for more info.

Comment 1 Pavel Zhukov 2020-03-09 12:59:12 UTC
(In reply to Honza Horak from comment #0)
> Based on the content in
> https://src.osci.redhat.com/modules/ant/raw/1.10-rhel-8.2.0/f/ant.yaml, the
> module stream ant:1.10 does not define 'name' and 'stream' properly in the
> module.md file. Reason for doing it was explained in
> http://post-office.corp.redhat.com/archives/rhel-devel/2019-March/msg00612.
> html
> 
> Further documentation in RHEL-8 Developer Guide:
> https://docs.google.com/document/d/1IFFvXKvNZpLWAMS9-
> 870bahMMtsWru8QOCIREmkd_58/edit#heading=h.lln13r876joj
> 
> Building a module in MBS from production branches (those with rhel-x.y.q
> suffix) might result in a module ant:1.10-rhel-x.y.q instead of ant:1.10,
> which is sometimes not that obvious. It is more than recommended to fix the
> module.md file right away and avoid problems in the future.
> 
> Check the tracker https://bugzilla.redhat.com/show_bug.cgi?id=1780081 for
> more info.

Hi Honzo,

Looks like you (script) messed up mailman with ant and I barely understand what should be done here.

Comment 2 Honza Horak 2020-03-19 11:29:41 UTC
(In reply to Pavel Zhukov from comment #1)
> Looks like you (script) messed up mailman with ant and I barely understand
> what should be done here.

Sorry, the module in the description was indeed wrong, but the problem is still there for the mailman:2.1 in latest rhel branches.

This mail is explaining the change:
http://post-office.corp.redhat.com/archives/rhel-devel/2019-March/msg00612.html

In short, it means you should add:

    name: mailman
    stream: 2.1

into your module.md file.

Comment 13 errata-xmlrpc 2020-11-04 02:48:16 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: mailman:2.1 security and bug fix update), 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-2020:4667