Package: micro-inetd
Version: 20050629-1
Severity: important
I tried testing micro_inetd with something simple:
[EMAIL PROTECTED]:/home/michael# micro_inetd 4242 cat
socket: Address family not supported by protocol
Slightly disappointing for such a simple program. :P
strace told a more complete story:
[EMAIL PROTECTED]:/home/michael# strace micro_inetd 4242 cat
execve("/usr/bin/micro_inetd", ["micro_inetd", "4242", "cat"], [/* 33 vars
*/]) = 0
uname({sys="Linux", node="zaphod", ...}) = 0
brk(0) = 0x804a000
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or
directory)
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or
directory)
open("/etc/ld.so.cache", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=42645, ...}) = 0
old_mmap(NULL, 42645, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7fcc000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or
directory)
open("/lib/tls/libc.so.6", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\320O\1"..., 512) =
512
fstat64(3, {st_mode=S_IFREG|0755, st_size=1266800, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0)
= 0xb7fcb000
old_mmap(NULL, 1272764, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3,
0) = 0xb7e94000
old_mmap(0xb7fc1000, 32768, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x12d000) = 0xb7fc1000
old_mmap(0xb7fc9000, 7100, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7fc9000
close(3) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0)
= 0xb7e93000
mprotect(0xb7fc1000, 20480, PROT_READ) = 0
set_thread_area({entry_number:-1 -> 6, base_addr:0xb7e936c0, limit:1048575,
seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0,
useable:1}) = 0
munmap(0xb7fcc000, 42645) = 0
socket(PF_INET6, SOCK_STREAM, IPPROTO_IP) = -1 EAFNOSUPPORT (Address family
not supported by protocol)
dup(2) = 3
fcntl64(3, F_GETFL) = 0x2 (flags O_RDWR)
brk(0) = 0x804a000
brk(0x806b000) = 0x806b000
fstat64(3, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 56), ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0xb7fd6000
_llseek(3, 0, 0xbf8ea878, SEEK_CUR) = -1 ESPIPE (Illegal seek)
write(3, "socket: Address family not suppo"..., 49socket: Address family not
supported by protocol
) = 49
close(3) = 0
munmap(0xb7fd6000, 4096) = 0
exit_group(1) = ?
I think it would be better that in the absence of IPv6 it should fall back
to IPv4. Unless IPv6-only is actually a -feature-, in which case I guess
this is really just a documentation bug. :P
-- System Information:
Debian Release: testing/unstable
APT prefers testing
APT policy: (500, 'testing'), (500, 'stable'), (495, 'unstable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.14.4
Locale: LANG=en_AU, LC_CTYPE=en_AU (charmap=ISO-8859-1)
Versions of packages micro-inetd depends on:
ii libc6 2.3.5-13 GNU C Library: Shared libraries an
micro-inetd recommends no packages.
-- no debconf information
--
______________________________________________________________________________
Michael Deegan, Unix Server Administrator, Murdoch University. Ph +61893606967
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]