Bug 1211344
Summary: | rpmconf plugin doesn't obey dnf -y or ^C | |||
---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Richard W.M. Jones <rjones> | |
Component: | dnf-plugins-extras | Assignee: | rpm-software-management | |
Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | |
Severity: | unspecified | Docs Contact: | ||
Priority: | low | |||
Version: | 25 | CC: | e, jkadlcik, jmracek, jzeleny, mluscon, msuchy, packaging-team-maint, vmukhame | |
Target Milestone: | --- | Keywords: | EasyFix, Triaged | |
Target Release: | --- | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | Doc Type: | Bug Fix | ||
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 1213848 (view as bug list) | Environment: | ||
Last Closed: | 2017-08-04 11:42: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: | 1213848 | |||
Bug Blocks: |
Description
Richard W.M. Jones
2015-04-13 16:49:23 UTC
Actually, from the definition of the '-y' switch, this plugin should always select "Y" if "-y" is used. I just wanted to let you know since I believe that it might not be what you have probably expected. I would proposet the when "dnf -y" is set that this plugin either does nothing or just print name of configs which needs merging (which would need RFE in rpmconf itself). Yes, that would make sense to me but it is not aligned with the description of the "-y" switch: "answer yes for all questions". So, we would have either change the description to something like "plugins may implement this switch in a different way" or the rpmconf would have to document that it works differently if "-y" is used. (In reply to Radek Holy from comment #3) > Yes, that would make sense to me but it is not aligned with the description > of the "-y" switch: "answer yes for all questions". > So, we would have either change the description to something like "plugins > may implement this switch in a different way" or the rpmconf would have to > document that it works differently if "-y" is used. Leaving aside what the -y flag currently is documented as doing, what we as users _need_ is a flag that means "do not ever be interactive under any circumstances". For example at the moment, virt-builder hangs if you do: virt-builder fedora-22 --install dnf,dnf-plugins-extras --update because the --update flag runs 'dnf -y update'. Yes, I see. The documentation probably should explicitly say that the purpose is to switch DNF into an non-interactive mode. And the only thing that can be done wrt to the plugins is to remind plugin developers to respect DNF's global switches. We need to implement this functionality in rpmconf itself first and then add switch in plugin. I've created bug 1213848 with RFE for rpmconf. This bug appears to have been reported against 'rawhide' during the Fedora 23 development cycle. Changing version to '23'. (As we did not run this process for some time, it could affect also pre-Fedora 23 development cycle bugs. We are very sorry. It will help us with cleanup during Fedora 23 End Of Life. Thank you.) More information and reason for this action is here: https://fedoraproject.org/wiki/BugZappers/HouseKeeping/Fedora23 This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component. This bug appears to have been reported against 'rawhide' during the Fedora 25 development cycle. Changing version to '25'. *** This bug has been marked as a duplicate of bug 1213848 *** |