Your message dated Sun, 16 Dec 2007 14:52:03 -0500 with message-id <[EMAIL PROTECTED]> has caused the Debian Bug report #456585, regarding procmeter3: datetime.so skipped over when finding modules to be marked as having been forwarded to the upstream software author(s) [EMAIL PROTECTED]
(NB: If you are a system administrator and have no idea what I am talking about this indicates a serious mail system misconfiguration somewhere. Please contact me immediately.) Debian bug tracking system administrator (administrator, Debian Bugs database)
--- Begin Message ---Tim Connors wrote: > I've got a box that seems to just not like loading datetime.so -- the > strace listing shows it is never opened, and the Date_Time entries are > just ignored in my .procmeterrc file: > > 2185 stat("/usr/lib/ProcMeter3/modules", {st_mode=S_IFDIR|0755, > st_size=4096, ...}) = 0 > 2185 open("/usr/lib/ProcMeter3/modules", > O_RDONLY|O_NONBLOCK|O_DIRECTORY|0x80000) = 5 > 2185 fstat(5, {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 > 2185 fcntl(5, F_GETFD) = 0 > 2185 fcntl(5, F_SETFD, FD_CLOEXEC) = 0 > 2185 getdents(5, /* 22 entries */, 4096) = 688 > 2185 open("/usr/lib/ProcMeter3/modules/cpuinfo.so", O_RDONLY) = 6 > ... > followed in total by 18 file opens in /usr/lib/ProcMeter3/modules/, > when really, there are 20 files, plus "." and ".." (hence the 22 > results in getdents). > > I notice it also neglects apm.so. > > ls -f (unsorted) shows that datetime.so and apm.so are the first > entries in the directory. Perhaps procmeter is assuming that the > first two entries of a directory are always . and ..? Very nice bit of debugging. :-) Yes, it does use readdir and skips the first two items. ent=readdir(dir); /* skip . */ if(ent) { ent=readdir(dir); /* skip .. */ > datetime.so > apm.so > cpuinfo.so > procmeter.so > stat-cpu.so > stat-disk.so > longrun.so > wireless.so > . > stat.so > meminfo.so > loadavg.so > logfile.so > sensors.so > df.so > acpi.so > vmstat.so > stat-intr.so > .. > netdev.so > biff.so > uname.so -- see shy jo
signature.asc
Description: Digital signature
--- End Message ---

