Home
Reading
Searching
Subscribe
Sponsors
Statistics
Posting
Contact
Spam
Lists
Links
About
Hosting
Filtering
Features Download
Marketing
Archives
FAQ
Blog
 
Gmane
From: Harry Coin <hcoin <at> n4comm.com>
Subject: Bug#414176: [Pkg-sysvinit-devel] Bug#414176: /sbin/halt .. -i .. in etch breaks WOL, doesn't do SIOCSIFFLAGS ioctl
Newsgroups: gmane.linux.debian.devel.bugs.general
Date: Sunday 11th March 2007 14:28:59 UTC (over 9 years ago)
At 09:13 AM 3/11/2007 +0100, Petter Reinholdtsen wrote:
>severity 414176 important
>merge 414176 405870
>thanks
>
>
>[Harry Coin]
> > Below please find two strace -iv outputs showing the binary version of 
> halt
> > shipped in the latest (as of march 9, 07) Debian Etch ignores
/sbin/halt's
> > -i  (net down / breaking the wake on lan WOL function for 3com related
> > cards ) switch, and possibly others, while the compiled version from 
> source
> > does the right thing (and is a larger binary, to boot).
>
>I've heard this story before (Bug #405870), and still have no idea why
>manuall build work while the automatically built version do not.
>Could the 21_ifdown_kfreebsd.dpatch change be related?
>
>How are you building it?  Are you building using 'debuild'?
>
>Friendly,
>--
>Petter Reinholdtsen

Thank you Petter.

I put the files into a directory called 'sysvinit.2.86.ds1,  cd 'cd 
src'  then 'make halt'.

You can see exactly the object and executable files, I've uploaded the 
whole tree directory to

http://www.n4comm.com/sysvinit-2.86.ds1

Just look in 'src' from there, and you can get everything.

I'm still new to Linux, really.  So I don't understand the references to 
dpatch and so on, and I really don't know very much about sysvinit 
tools.  I'm sorry I can't answer your second question.

But one thing I do know for certain:   The version of halt shipped with 
Etch breaks the wake-on-lan function because it doesn't actually make the 
system call to do what the command flag directs.  I don't know if it also 
fails to sync or make other OS calls.  Also, I do know for sure that the 
version I've uploaded there works perfectly with exactly the same commands 
on the command line that fails to work in the version shipped in Etch.

Thanks for helping!

Harry
 
CD: 3ms