Bug 1561303
Summary: | Random profiles shouldn't get enabled | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | sumantro <sumukher> |
Component: | dnf | Assignee: | rpm-software-management |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | low | ||
Version: | 28 | CC: | dmach, herrold, jmracek, packaging-team-maint, rpm-software-management, sgallagh, vmukhame |
Target Milestone: | --- | Keywords: | Triaged |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | dnf-4.0.4 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2018-11-22 18:22:34 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
sumantro
2018-03-28 04:35:45 UTC
When doing `dnf module enable`, we should probably do one of the following: 1) Disallow the `/profile` suffix to the module. It's meaningless during the enable step anyway. So we could throw an error if it's provided here. 2) Warn that the `/profile` was superfluous and then indicate the the base module was enabled. 3) Assume this to mean that the user wanted this profile to become the default for the stream and automatically write out a modulemd-defaults file for it in /etc. I'm going to strongly recommend *against* 3, as I think we shouldn't be making implicit decisions about local default overrides. As far as the first two, I think 2) is probably the most user-friendly; it's informative but doesn't require them to retype anything. Best will be to go with option #2 from comment #1. It is more user friendly than option #1. |