Bug 1149502
Summary: | ether-wake falsely reports "sendto: Network is down" after successfully triggering WOL event | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | bob <redzilla.coralnut> | ||||
Component: | net-tools | Assignee: | Jiri Popelka <jpopelka> | ||||
Status: | CLOSED NEXTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | low | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 22 | CC: | jpopelka, odehnal.tomas136, samuel.rakitnican, taylor | ||||
Target Milestone: | --- | Keywords: | Reopened | ||||
Target Release: | --- | ||||||
Hardware: | x86_64 | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | 2.0-0.35.20150915git.fc23 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2015-09-21 10:48:33 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: | |||||||
Attachments: |
|
Description
bob
2014-10-05 14:44:53 UTC
You can use the -i option to send the wake-up packet on just the one interface that is connected to the correct network. ether-wake -i eth0 $macstring But I agree that the error message should be better. Maybe something like: Wake-up message on interface eth1 failed: Network is down I'm not sure that you understand the nature of the bug report, maybe I wasn't clear. My complaint is that the software succeeds in performing a WOL event over the network, and then issues a false "network is down" report after it succeeds. The way I look at this, the issuance of a"network is down" message and a successful WOL event are two mutually exclusive events. You should never get one if you receive the other. Those two events are not mutually exclusive because you can successfully send a WOL packet on one interface (e.g. eth0) but fail to send the WOL packet on another interface (e.g. eth1). Thanks for clarifying that for me. I'm not quite sure that it's the right answer, though. In the event that a machine has multiple network interfaces, your suggestion would make sense that the user should have to specify which network interface should be used. In the event that the user failed to specify which interface should be used, then the software would scan for available interfaces and use them. IMO if the program scans for available interfaces, finds one, issues the WOL event and succeeds, then it's a bug to report that the network is down. In the event that a machine has a single network interface (my case in submitting this report), and when the ether-wake command is issued without specifying the interface to use (ie: using the "-i" option), ether-wake looks for an appropriate interface, finds it, uses it successfully, and then falsely reports that the network is down. Following your suggestion, implementation of the "-i" option does force ether-wake to use the specified interface, and in that case, the "network is down" fail message is not generated. But in the case that the "-i" option is not used on a machine that has eth0 and no eth1, ether-wake finds an appropriate interface to use (eth0), uses it successfully, and then issues a false report that the network is down. This seems to be an error in the logic that is implemented in the program. If the program scans for available interfaces, finds one, uses it successfully, then it should not report that the network is down. Doing that would be a software bug. This message is a reminder that Fedora 20 is nearing its end of life. Approximately 4 (four) weeks from now Fedora will stop maintaining and issuing updates for Fedora 20. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a Fedora 'version' of '20'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora 20 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior this bug is closed as described in the policy above. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. Fedora 20 changed to end-of-life (EOL) status on 2015-06-23. Fedora 20 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. If you are unable to reopen this bug, please file a new report against the current release. If you experience problems, please add a comment to this bug. Thank you for reporting this bug and we are sorry it could not be fixed. Still an issue in F22 $ rpm -q net-tools net-tools-2.0-0.31.20141124git.fc22.x86_64 Created attachment 1073608 [details]
ether-wake: add interface into message
If you don't use the '-i' parameter, then ether-wake sends packets to all interfaces (even those, that are down).
So I added interfaces into message.
For example:
'eth0', Sendto worked ! 116
'eth1', sendto: network is down
net-tools-2.0-0.35.20150915git.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2015-15922 net-tools-2.0-0.35.20150915git.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report.\nIf you want to test the update, you can install it with \n su -c 'yum --enablerepo=updates-testing update net-tools'. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-15922 net-tools-2.0-0.35.20150915git.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report. |