[Pkg-sysvinit-devel] Bug#405870: sysvinit: halt binary missing ifdown, breaks wake on lan, src compile works

Harry Coin harrycoin at aol.com
Sun Jan 7 00:08:06 CET 2007


Package: sysvinit
Version: 2.86.ds1-36
Severity: critical
Justification: breaks the whole system

Using the default binary version of halt shipped with etch prevents diskless systems from booting in response to the wake-on-lan
packet.  Can't get more critical than a cluster of systems that can't be booted.

The 3c59x driver, among others,  depends on ifdown to set its wake-on-lan (wol) functions. The binary version
of halt shipped with etch (including deboostrap) does not call ifdown.

In a diskless setting (clusters) the net driver isn't deconfigured (and WOl enabled)  until the ifdown in halt.

Compiling 'halt' from the sysvinit sources results in a binary larger than the one in etch, and it works properly.

I've proven this by putting debug messages in the kernel, the ioctl cancelling the IFUP flag is never made
in the default 'halt' code on etch, but is in the version compiled from the sources.

I noted a sysvinit 'fix' some time ago that claims it turns off 'ifdown' on non-linux systems in halt.  I think this
version got compiled and wrongly sent out in linux, thus breaking linux WOL depending on the network chip.


-- System Information:
Debian Release: 4.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18development
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages sysvinit depends on:
ii  initscripts                  2.86.ds1-36 Scripts for initializing and shutt
ii  libc6                        2.3.6.ds1-8 GNU C Library: Shared libraries
ii  libselinux1                  1.32-3      SELinux shared libraries
ii  libsepol1                    1.14-1      Security Enhanced Linux policy lib
ii  sysv-rc                      2.86.ds1-36 System-V-like runlevel change mech
ii  sysvinit-utils               2.86.ds1-36 System-V-like utilities

sysvinit recommends no packages.

-- no debconf information




More information about the Pkg-sysvinit-devel mailing list