Your message dated Tue, 20 May 2008 07:32:04 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#405870: fixed in sysvinit 2.86.ds1-57
has caused the Debian Bug report #405870,
regarding /sbin/halt .. -i .. in etch breaks WOL, doesn't do SIOCSIFFLAGS ioctl
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [EMAIL PROTECTED]
immediately.)
--
405870: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=405870
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
Package: sysvinit
Version: 2.86.ds1-38
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).
The Debain Etch version of /sbin/halt .. -i ... does not execute the
following, while the version compiled from source does:
...
ioctl(3, SIOCSIFFLAGS, 0xaf9be6c4) = 0
...
As a result, wake on lan (WOL) fails under Debain etch (at least for the
3Com family of network cards) if one uses the supplied /sbin/halt, while it
works perfectly if compiled from source.
The two strace -iv outputs follow, except for the IP, they differ only in
that one added line.
Here is the strace -iv from Debian Etch (that fails to call SIOCSIFFLAGS )
[a7e413ba] execve("/home/library/etchhalt", ["/home/library/etchhalt",
"-w", "-d", "-f", "-i"], ["SHELL=/bin/bash", "TERM=linux",
"HUSHLOGIN=FALSE", "USER=root", "MAIL=/var/mail/root",
"PATH=/usr/local/sbin:/usr/local/"..., "PWD=/home/library",
"LANG=en_US.UTF-8", "PS1=\\h:\\w\\$ ", "SHLVL=1", "HOME=/root",
"LOGNAME=root", "VISUAL=/usr/bin/sensible-nedit", "_=/usr/bin/strace",
"OLDPWD=/"]) = 0
[a7f349ed] uname({sysname="Linux", nodename="mythbackend4",
release="2.6.18mythbackend", version="#7 Thu Mar 8 17:32:18 CST 2007",
machine="i686"}) = 0
[a7f33edb] brk(0) = 0x804c000
[a7f34781] access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or
directory)
[a7f34933] mmap2(NULL, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xa7f22000
[a7f34781] access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or
directory)
[a7f34933] mmap2(NULL, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xa7f21000
[a7f34644] open("/etc/ld.so.cache", O_RDONLY) = 3
[a7f3460e] fstat64(3, {st_dev=makedev(0, 14), st_ino=19795738,
st_mode=S_IFREG|0644, st_nlink=1, st_uid=0, st_gid=0, st_blksize=16384,
st_blocks=64, st_size=29412, st_atime=2007/03/09-11:24:50,
st_mtime=2007/03/08-17:40:34, st_ctime=2007/03/08-17:41:12}) = 0
[a7f34933] mmap2(NULL, 29412, PROT_READ, MAP_PRIVATE, 3, 0) = 0xa7f19000
[a7f3467d] close(3) = 0
[a7f34781] access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or
directory)
[a7f34644] open("/lib/tls/libc.so.6", O_RDONLY) = 3
[a7f346c4] read(3,
"\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\240O\1"..., 512) = 512
[a7f3460e] fstat64(3, {st_dev=makedev(0, 14), st_ino=13076122,
st_mode=S_IFREG|0644, st_nlink=1, st_uid=0, st_gid=0, st_blksize=16384,
st_blocks=2440, st_size=1241392, st_atime=2007/03/09-11:24:50,
st_mtime=2007/02/21-09:13:50, st_ctime=2007/03/06-14:49:36}) = 0
[a7f34933] mmap2(NULL, 1251484, PROT_READ|PROT_EXEC,
MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xa7de7000
[a7f34933] mmap2(0xa7f0f000, 28672, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x127) = 0xa7f0f000
[a7f34933] mmap2(0xa7f16000, 10396, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xa7f16000
[a7f3467d] close(3) = 0
[a7f34933] mmap2(NULL, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xa7de6000
[a7f349b4] mprotect(0xa7f0f000, 20480, PROT_READ) = 0
[a7f26c11] set_thread_area({entry_number:-1 -> 6, base_addr:0xa7de66c0,
limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1,
seg_not_present:0, useable:1}) = 0
[a7f34971] munmap(0xa7f19000, 29412) = 0
[a7e75e1a] geteuid32() = 0
[a7ea44fd] chdir("/") = 0
[a7eab957] sync() = 0
[a7e0fce4] rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
[a7e0fbd8] rt_sigaction(SIGCHLD, NULL, {SIG_DFL}, 8) = 0
[a7e0fce4] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
[a7e7503b] nanosleep({2, 0}, {2, 0}) = 0
[a7eb39d2] socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 3
[a7eaad04] ioctl(3, SIOCGIFCONF, {64, {{"lo", {AF_INET,
inet_addr("127.0.0.1")}}, {"eth0", {AF_INET, inet_addr("192.168.0.14")}}}}) = 0
---- Missing ioctl here to turn on WOL ---
[a7ea3d07] close(3) = 0
[a7e7537f] exit_group(0) = ?
Here is the halt compiled from sysvinit-2.86.ds1 source:
[a7f2f3ba] execve("/sbin/halt", ["halt", "-w", "-d", "-f", "-i"],
["SHELL=/bin/bash", "TERM=linux", "HUSHLOGIN=FALSE", "USER=root",
"MAIL=/var/mail/root", "PATH=/usr/local/sbin:/usr/local/"..., "PWD=/root",
"LANG=en_US.UTF-8", "PS1=\\h:\\w\\$ ", "SHLVL=1", "HOME=/root",
"LOGNAME=root", "VISUAL=/usr/bin/sensible-nedit", "_=/usr/bin/strace"]) = 0
[a7fd29ed] uname({sysname="Linux", nodename="mythbackend4",
release="2.6.18mythbackend", version="#7 Thu Mar 8 17:32:18 CST 2007",
machine="i686"}) = 0
[a7fd1edb] brk(0) = 0x804b000
[a7fd2781] access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or
directory)
[a7fd2933] mmap2(NULL, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xa7fc0000
[a7fd2781] access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or
directory)
[a7fd2933] mmap2(NULL, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xa7fbf000
[a7fd2644] open("/etc/ld.so.cache", O_RDONLY) = 3
[a7fd260e] fstat64(3, {st_dev=makedev(0, 14), st_ino=19795738,
st_mode=S_IFREG|0644, st_nlink=1, st_uid=0, st_gid=0, st_blksize=16384,
st_blocks=64, st_size=29412, st_atime=2007/03/09-11:16:29,
st_mtime=2007/03/08-17:40:34, st_ctime=2007/03/08-17:41:12}) = 0
[a7fd2933] mmap2(NULL, 29412, PROT_READ, MAP_PRIVATE, 3, 0) = 0xa7fb7000
[a7fd267d] close(3) = 0
[a7fd2781] access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or
directory)
[a7fd2644] open("/lib/tls/libc.so.6", O_RDONLY) = 3
[a7fd26c4] read(3,
"\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\240O\1"..., 512) = 512
[a7fd260e] fstat64(3, {st_dev=makedev(0, 14), st_ino=13076122,
st_mode=S_IFREG|0644, st_nlink=1, st_uid=0, st_gid=0, st_blksize=16384,
st_blocks=2440, st_size=1241392, st_atime=2007/03/09-11:16:29,
st_mtime=2007/02/21-09:13:50, st_ctime=2007/03/06-14:49:36}) = 0
[a7fd2933] mmap2(NULL, 1251484, PROT_READ|PROT_EXEC,
MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xa7e85000
[a7fd2933] mmap2(0xa7fad000, 28672, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x127) = 0xa7fad000
[a7fd2933] mmap2(0xa7fb4000, 10396, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xa7fb4000
[a7fd267d] close(3) = 0
[a7fd2933] mmap2(NULL, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xa7e84000
[a7fd29b4] mprotect(0xa7fad000, 20480, PROT_READ) = 0
[a7fc4c11] set_thread_area({entry_number:-1 -> 6, base_addr:0xa7e846c0,
limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1,
seg_not_present:0, useable:1}) = 0
[a7fd2971] munmap(0xa7fb7000, 29412) = 0
[a7f13e1a] geteuid32() = 0
[a7f424fd] chdir("/") = 0
[a7f49957] sync() = 0
[a7eadce4] rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
[a7eadbd8] rt_sigaction(SIGCHLD, NULL, {SIG_DFL}, 8) = 0
[a7eadce4] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
[a7f1303b] nanosleep({2, 0}, {2, 0}) = 0
[a7f519d2] socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 3
[a7f48d04] ioctl(3, SIOCGIFCONF, {64, {{"lo", {AF_INET,
inet_addr("127.0.0.1")}}, {"eth0", {AF_INET, inet_addr("192.168.0.14")}}}}) = 0
[a7f48d04] ioctl(3, SIOCSIFFLAGS, 0xaf9be6c4) = 0 <--- This ioctl is
correct and WOL works using this /sbin/halt
[a7f41d07] close(3) = 0
[a7f1337f] exit_group(0) = ?
Thanks
Harry Coin
--- End Message ---
--- Begin Message ---
Source: sysvinit
Source-Version: 2.86.ds1-57
We believe that the bug you reported is fixed in the latest version of
sysvinit, which is due to be installed in the Debian FTP archive:
initscripts_2.86.ds1-57_i386.deb
to pool/main/s/sysvinit/initscripts_2.86.ds1-57_i386.deb
sysv-rc_2.86.ds1-57_all.deb
to pool/main/s/sysvinit/sysv-rc_2.86.ds1-57_all.deb
sysvinit-utils_2.86.ds1-57_i386.deb
to pool/main/s/sysvinit/sysvinit-utils_2.86.ds1-57_i386.deb
sysvinit_2.86.ds1-57.diff.gz
to pool/main/s/sysvinit/sysvinit_2.86.ds1-57.diff.gz
sysvinit_2.86.ds1-57.dsc
to pool/main/s/sysvinit/sysvinit_2.86.ds1-57.dsc
sysvinit_2.86.ds1-57_i386.deb
to pool/main/s/sysvinit/sysvinit_2.86.ds1-57_i386.deb
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Petter Reinholdtsen <[EMAIL PROTECTED]> (supplier of updated sysvinit package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.8
Date: Tue, 20 May 2008 09:23:13 +0200
Source: sysvinit
Binary: sysvinit sysvinit-utils sysv-rc initscripts
Architecture: source i386 all
Version: 2.86.ds1-57
Distribution: unstable
Urgency: low
Maintainer: Debian sysvinit maintainers
<[email protected]>
Changed-By: Petter Reinholdtsen <[EMAIL PROTECTED]>
Description:
initscripts - Scripts for initializing and shutting down the system
sysv-rc - System-V-like runlevel change mechanism
sysvinit - System-V-like init utilities
sysvinit-utils - System-V-like utilities
Closes: 405870 476695 478657 481770
Changes:
sysvinit (2.86.ds1-57) unstable; urgency=low
.
* Remove another bashism in init.d/rc blocking startpar concurrency
(Closes: #481770).
* Fix wake on lan issue introduced with freebsd patch in version
2.86.ds1-4 (Closes: #405870). Patch from Lucas Nussbaum.
* Convert files debian/patches/12_doc_lastb.dpatch,
debian/sysv-rc/man8/es/update-rc.d.8,
debian/sysv-rc/man8/fr/update-rc.d.8,
debian/sysv-rc/man8/ja/update-rc.d.8 and
debian/sysv-rc/etc/init.d/rc to UTF-8 (Closes: #478657).
Patch from Ben Finney.
* New patch 84_killall_fuse.dpatch to avoid shutdown problems with
user space file systems, by not stat()-ing files when killing
processes during shutdown (Closes: #476695). Patch from Goswin
von Brederlow.
* Remove special case handling of splash screens in sendsigs.
The usplash and splashy packages are expected to use the
omitpid feature from now on.
Checksums-Sha1:
bedbe1f351ec7e25647d07aa16903467e1fad4eb 1433 sysvinit_2.86.ds1-57.dsc
e148b012792bbe32c73865c3d8d3a429f39ad4bb 150623 sysvinit_2.86.ds1-57.diff.gz
2e48aebc1c6530c2d713aece15e9365eba1bbb05 111206 sysvinit_2.86.ds1-57_i386.deb
b692215e40a4bbf6b3751f29af118895c873a0e2 70152
sysvinit-utils_2.86.ds1-57_i386.deb
b9836276d75225576fa13587dc266da8f5be97d6 67102 initscripts_2.86.ds1-57_i386.deb
7891ab46728a4ace0458c885d5c7bb959daa85a1 62790 sysv-rc_2.86.ds1-57_all.deb
Checksums-Sha256:
5c1f9b55fabf03eafce92cb4f4a32322f20f40c3bd64b91411595613ddf669e1 1433
sysvinit_2.86.ds1-57.dsc
bd578599b072ce311b6448fba7ca8c8db1ba173802bbd3cd6af95e44e8250fd2 150623
sysvinit_2.86.ds1-57.diff.gz
acdcf6989cc6aeebfab2aa407492205504fb12cbb08f524989c7f2f35089b70c 111206
sysvinit_2.86.ds1-57_i386.deb
930d288ad1d58789fc2f14c0c22f9cf1775edc7e04550dd3b3625db822a36931 70152
sysvinit-utils_2.86.ds1-57_i386.deb
872116997c1fff6a9cc63fd477add93622925268d591c0d1aa045f5898fccbd9 67102
initscripts_2.86.ds1-57_i386.deb
f77d1462a501b3269743c649e47f4344ebed38b139fc68c602fc54609afcb788 62790
sysv-rc_2.86.ds1-57_all.deb
Files:
6fcfff22c60e90bfce712e3ca1fcae30 1433 admin required sysvinit_2.86.ds1-57.dsc
7b15a6ea18838d4cb1b6653c94a546f6 150623 admin required
sysvinit_2.86.ds1-57.diff.gz
7f855bd963a9fc6e01c39d1eebac1461 111206 admin required
sysvinit_2.86.ds1-57_i386.deb
1a9e5bc135384d05a1411e6d32366719 70152 admin required
sysvinit-utils_2.86.ds1-57_i386.deb
f8a3d567d791355e6de4c05ff83f532e 67102 admin required
initscripts_2.86.ds1-57_i386.deb
c4759ec043fcbf6cb89ae463041fc66a 62790 admin required
sysv-rc_2.86.ds1-57_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFIMn0f20zMSyow1ykRAre3AKDlr+VTBH9YvsX6t6N9TZSR5+k6sQCgkbxF
hUDE6lZSC7bptTX8kpVGh1k=
=bslC
-----END PGP SIGNATURE-----
--- End Message ---
_______________________________________________
Pkg-sysvinit-devel mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/pkg-sysvinit-devel