Bug 1581316

Summary: [modularity] Disabling a module does not remove its installed packages
Product: [Fedora] Fedora Reporter: Rafael Fonseca <rdossant>
Component: dnfAssignee: rpm-software-management
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: dmach, mhatina, packaging-team-maint, rpm-software-management, vmukhame
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1581317 (view as bug list) Environment:
Last Closed: 2018-05-28 11:27:27 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:    
Bug Blocks: 1478068, 1581317    

Description Rafael Fonseca 2018-05-22 13:43:20 UTC
Description of problem: If you enable and install a profile of a certain module, then disable it, none of its packages are removed.


Version-Release number of selected component (if applicable): 2.7.5-13


How reproducible: always


Steps to Reproduce:
1. dnf module enable ModuleA:f26
2. dnf module install ModuleA:f26/default
3. dnf module disable ModuleA:f26

Actual results: no rpmdb changes.


Expected results: The packages installed by ModuleA:f26/default are removed


Additional info:

Comment 1 Martin Hatina 2018-05-28 11:27:27 UTC
Expected behaviour.