[Pkg-sysvinit-devel] Bug#405870: sysvinit: halt binary missing
ifdown, breaks wake on lan, src...
HarryCoin at aol.com
HarryCoin at aol.com
Sat Jan 13 17:39:26 CET 2007
In a message dated 1/13/2007 5:16:40 A.M. Central Standard Time,
pere at hungry.com writes:
So, that leave me with only your observation that the Wake-On-LAN
feature do not work with the current sysvinit package, and no idea how
to debug it. Could this be related to bug #361935, a problem with
interfaces without a IP address?
No, I do not think so. I am sorry that my notice of the 'remove ifdown' in
freebsd didn't turn out to be the problem.
The basic fact that anyone can reproduce is this: The below script will
fail with the 'halt' distributed with etch, but compiling the sysvinit source
version of halt works perfectly. You do not need to be doing wol to validate
this, it shows the problem in any context.
edit /etc/init.d/halt
just before the line with " halt -f -d .... "
put
ifconfig
halt -f -i -w
ifconfig
sleep 20
...
Then do a 'poweroff'.
With the etch version of 'halt', the interface will not be brought down,
both ifconfigs will report the interface works normally. Just replace the
'halt' with the new one compiled version from the sysvinit source and on the same
system with the same kernel (2.6.18) it will properly down the interface.
When I get back to the office I will do the test you sent me to try.
Actually, I can send you both the working and non-working halt binaries. Maybe
somebody good with a debugger can figure out the difference.
Harry
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.alioth.debian.org/pipermail/pkg-sysvinit-devel/attachments/20070113/cc0c9db8/attachment.htm
More information about the Pkg-sysvinit-devel
mailing list