Bug 1505575
| Summary: | [modularity] I can unlock the module using the different module profile version than the locked one | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Karel Srot <ksrot> |
| Component: | dnf | Assignee: | Martin Hatina <mhatina> |
| Status: | CLOSED WONTFIX | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | low | Docs Contact: | |
| Priority: | low | ||
| Version: | 27 | CC: | dmach, extras-qa, jmracek, mhatina, packaging-team-maint, rpm-software-management, vmukhame |
| Target Milestone: | --- | Keywords: | NeedsTestCase, Reopened, Triaged |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2018-07-25 06:30:31 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 | ||
|
Description
Karel Srot
2017-10-23 21:49:55 UTC
It is correct behaviour. You only need stream to unlock version, because there can be only one version locked. Same for disabling module. I disagree. While the information is not necessary it shouldn't be blindly ignored when it is incorrect. That applies both for version and stream. Even if dnf decide to accept that it should at least notify the user that the information provided is not correct and dnf is going to use just a module name. At this particular situation is says: 'ModuleA:f26:1' is unlocked which is bogus as a different version was previously locked. It should rather say "ModuleA:f26:2" is unlocked @QE: There is a test scenario related to this bug in module-lock-unlock-4.feature marked as @xfail. Scenario: Unlocking a module:stream:version not matching a locked module:stream:version should fail Once this bug is fixed the test scenario should be updated and enabled. Locking of modules was dropped. |