[pkg-wpa-devel] Bug#642993: "Failed to read classid file: Object not found"

sacrificial-spam-address at horizon.com sacrificial-spam-address at horizon.com
Mon Sep 26 11:07:43 UTC 2011


Package: iw
Version: 3.1-1
Severity: minor

It appears to *work*, but the message is annoying.
Here's an strace around the error message:

set_thread_area({entry_number:-1 -> 6, base_addr:0xb75816c0, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}) = 0
mprotect(0xb7584000, 4096, PROT_READ)   = 0
mprotect(0xb75ab000, 4096, PROT_READ)   = 0
mprotect(0xb7701000, 8192, PROT_READ)   = 0
mprotect(0xb77b6000, 4096, PROT_READ)   = 0
munmap(0xb777f000, 101937)              = 0
brk(0)                                  = 0x9de9000
brk(0x9e0a000)                          = 0x9e0a000
open("/proc/net/psched", O_RDONLY)      = -1 ENOENT (No such file or directory)
stat64("/etc/libnl/classid", 0xbf89466c) = -1 ENOENT (No such file or directory)
open("/etc/libnl/classid", O_RDONLY)    = -1 ENOENT (No such file or directory)
write(2, "Failed to read classid file: Object not found\n", 46) = 46
time(NULL)                              = 1317029699
getpid()                                = 4965
socket(PF_NETLINK, SOCK_RAW, 16)        = 3
setsockopt(3, SOL_SOCKET, SO_SNDBUF, [32768], 4) = 0
setsockopt(3, SOL_SOCKET, SO_RCVBUF, [32768], 4) = 0
bind(3, {sa_family=AF_NETLINK, pid=4965, groups=00000000}, 12) = 0
getsockname(3, {sa_family=AF_NETLINK, pid=4965, groups=00000000}, [12]) = 0

I have no idea where /etc/libnl is supposed to come from; no package I
have installed creates that directory.

And isn't it nornal to *not* do an open(2) if the preceding stat()
failed?





More information about the Pkg-wpa-devel mailing list