[Pkg-dspam-misc] Bug#394443: running dspam as unpriveleged user:
strace output
Martin Steigerwald
Martin at lichtvoll.de
Sat Oct 21 10:52:04 UTC 2006
Hello,
I now compiled dspam myself as in the KMail HOWTO I mentioned. It seems to
work:
deepdance:dspam/data/martin> dspam_stats -H martin
martin:
TP True Positives: 8
TN True Negatives: 2532
FP False Positives: 0
FN False Negatives: 16
SC Spam Corpusfed: 0
NC Nonspam Corpusfed: 0
TL Training Left: 0
SHR Spam Hit Rate 33.33%
HSR Ham Strike Rate: 0.00%
OCA Overall Accuracy: 99.37%
(with the hash driver)
Lets see how it works. If it yields good results I keep it, otherwise I
try crm114.
Here is the strace output of the dspam call I mentioned (I just used the
same dspam call as the one that the HOWTO tells me to put into a mark as
spam filter in KMail):
artin at deepdance:~/Mail/.trash.directory/Spam/cur ->
strace /usr/bin/dspam --stdout --deliver=innocent,spam --mode=teft --class=spam --source=error
< 1161418412.32329.UkBkH:2,S
execve("/usr/bin/dspam",
["/usr/bin/dspam", "--stdout", "--deliver=innocent,spam", "--mode=teft", "--class=spam", "--source=error"],
[/* 40 vars */]) = 0
uname({sys="Linux", node="deepdance", ...}) = 0
brk(0) = 0x805f000
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or
directory)
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0)
= 0xb7f7c000
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or
directory)
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0)
= 0xb7f7b000
open("/etc/ld.so.cache", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=123856, ...}) = 0
mmap2(NULL, 123856, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7f5c000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or
directory)
open("/usr/lib/libdspam.so.7", 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\0P:\0\000"..., 512)
= 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=80020, ...}) = 0
mmap2(NULL, 81536, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) =
0xb7f48000
mmap2(0xb7f5b000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|
MAP_DENYWRITE, 3, 0x13) = 0xb7f5b000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or
directory)
open("/lib/tls/i686/cmov/libm.so.6", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0
Regards,
--
Martin 'Helios' Steigerwald - http://www.Lichtvoll.de
GPG: 03B0 0D6C 0040 0710 4AFA B82F 991B EAAC A599 84C7
More information about the Pkg-dspam-misc
mailing list