Bug 487680
| Summary: | DNS can hang on slow internet connections, making Control-C less usable | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | lexual <lex.lists> |
| Component: | yum | Assignee: | Seth Vidal <skvidal> |
| Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | low | ||
| Version: | rawhide | CC: | ffesti, james.antill, pmatilai, tim.lauridsen |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2009-02-27 22:24:24 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
lexual
2009-02-27 13:12:13 UTC
There isn't much we can do about this, eventually you should hit a mirror where the DNS resolves within a normal amount of time. Running a local caching DNS server will also help. I must say that I come up against this bug constantly, including when on a wireless connection on my laptop. The following has almost become muscle memory as a workaround for this buggy behaviour. Ctrl-Z sudo ps sudo kill -9 <pid> Is a fix, to have a tiny sleep before the next mirror is contacted, so that control-c actually does works. I think it is really bad behaviour to have information given to the user "Current download cancelled, interrupt (ctrl-c) again within two seconds to exit." that isn't correct. Either one lookup gets stuck, or holding ctrl-c down goes through every mirror, instead of cancelling the yum command. |