Bug#414176: [Pkg-sysvinit-devel] Bug#414176: /sbin/halt .. -i .. in etch breaks WOL, doesn't do SIOCSIFFLAGS ioctl

Harry Coin hcoin at n4comm.com
Sun Mar 11 15:28:59 CET 2007


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







More information about the Pkg-sysvinit-devel mailing list