Bug 1678593

Summary: do not mention switching streams with module enable
Product: Red Hat Enterprise Linux 8 Reporter: Karel Srot <ksrot>
Component: dnfAssignee: Jaroslav Mracek <jmracek>
Status: CLOSED ERRATA QA Contact: Jan Blazek <jblazek>
Severity: medium Docs Contact:
Priority: medium    
Version: 8.0CC: dmach, james.antill, jmracek, mblaha, qe-baseos-security
Target Milestone: rcKeywords: Triaged
Target Release: 8.0Flags: pm-rhel: mirror+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: dnf-4.2.6-1.el8 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-11-05 22:21:13 UTC Type: Bug
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: 1681084    
Bug Blocks:    

Description Karel Srot 2019-02-19 07:33:29 UTC
Description of problem:

Previously, when it was possible to switch streams, we have warned a user that switching streams does not alter installed package content (see below). This was introduced via bug 1622585.
However since switching streams is prevented (bug 1669491) this warning doesn't make sense any more and is rather confusing.

Please remove the working when the module is being enabled.

# dnf module enable squid -y
Updating Subscription Management repositories.
Unable to read consumer identity
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
Repository beaker-client-testing is listed more than once in the configuration
Last metadata expiration check: 0:25:01 ago on Tue 19 Feb 2019 02:02:57 AM EST.
Dependencies resolved.
==============================================================================================================
 Package                   Arch                     Version                   Repository                 Size
==============================================================================================================
Enabling module streams:
 squid                                              4                                                        

Transaction Summary
==============================================================================================================

Complete!

Switching module streams does not alter installed packages (see 'module enable' in dnf(8) for details)

dnf-4.0.9.2-5.el8.noarch

Comment 1 Jaroslav Mracek 2019-02-19 15:28:12 UTC
The issue was already fixed in upstream (https://github.com/rpm-software-management/dnf/pull/1325). Please could you provide information about requirements for testing?

Comment 8 errata-xmlrpc 2019-11-05 22:21:13 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, 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-2019:3583