Bug 1415711
| Summary: | DNF should not automatically download repodata over metered connections | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Patrick Uiterwijk <puiterwijk> |
| Component: | dnf | Assignee: | rpm-software-management |
| Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | medium | ||
| Version: | rawhide | CC: | packaging-team-maint, rpm-software-management, vmukhame |
| Target Milestone: | --- | Keywords: | FutureFeature, Triaged |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | dnf-2.1.0-1.fc26 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2017-02-16 11:32:50 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: | |||
|
Description
Patrick Uiterwijk
2017-01-23 13:56:10 UTC
from some discussion on fedora devel list: On Tue, Nov 1, 2016 at 9:59 AM, Miroslav Suchý <msuchy> wrote: > Dne 31.10.2016 v 12:55 Tom Hughes napsal(a): >> The problem, as I believe has been repeatedly explained, is that you don't really have any idea whether the connection >> is metered. Yes you may be trying to guess by considering things like 3G connections as metered but that is an extremely >> poor proxy for whether a connection is metered. > > https://bugzilla.redhat.com/show_bug.cgi?id=1112230 Then new DNF config option ~sync_metadata_unmetred_conn_only, set to True by default could be a solution. I am just skeptical about DNF depending on NetworkManager. Seems like bug 1112230 is fixed now so it may be possible. (In reply to Honza Silhan from comment #1) > from some discussion on fedora devel list: > > On Tue, Nov 1, 2016 at 9:59 AM, Miroslav Suchý <msuchy> wrote: > > Dne 31.10.2016 v 12:55 Tom Hughes napsal(a): > >> The problem, as I believe has been repeatedly explained, is that you don't really have any idea whether the connection > >> is metered. Yes you may be trying to guess by considering things like 3G connections as metered but that is an extremely > >> poor proxy for whether a connection is metered. > > > > https://bugzilla.redhat.com/show_bug.cgi?id=1112230 > > Then new DNF config option ~sync_metadata_unmetred_conn_only, set to > True by default could be a solution. I am just skeptical about DNF > depending on NetworkManager. Recommends: pythonX-networkmanager ? I was thinking about implementation and only tricky part would be "which connection librepo is going to use?". |