Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 688 of 806  Not logged in ELOG logo
ID Date Icon Author Author Email Category OS ELOG Version Subject
  1021   Thu Mar 24 20:36:50 2005 Question David Egolfdegolf@fujicolor.comQuestionWindows Database type logbook entry creation
I would like to create a paper waste logbook. I need to have a column that 
shows a weight in pounds and another column with a calculation from those 
pounds to dollars.  pounds x $4.00 = cost  I was wondering if this was 
possible? 

All other fields would be just Date, Batch#, Operator, Reason, Process 
Operator, Manager, Lbs, and Cost,  I would also like to total this cost if 
possible, on a search selected basis. Similar to Excel.

Thanks for any input

David Egolf
  1020   Thu Mar 24 13:59:06 2005 Reply Stefan Rittstefan.ritt@psi.chBug reportAll2.5.8Re: HTML 4.1 transitional validation fails
> Stefan, the validation still fails on the ampersand ...
> here is an example of your online Demo elog:
> http://validator.w3.org/check?verbose=1&uri=http%3A//midas.psi.ch/elogs/Forum/920

Ok, I fixed that, the validation link above show a valid page.
  1019   Thu Mar 24 13:40:27 2005 Angy Emiliano GabrielliAlberT@SuperAlberT.itBug reportLinuxr1592Re: wrong handling of attachment names
> When an attached image name contains a space in its filename and attachment
> display is enabled elog builds a wrong url to the image:
> 
> http://arcolog.roma2.infn.it:8080/ARCO/050309_170709/peeling+002.jpg
> 
> instead of the correct one:
> 
> http://arcolog.roma2.infn.it:8080/ARCO/050309_170709_peeling+002.jpg
> 
> The more annoing thing is that elogs hangs on this. a strace shows a select
> on fd n°3 and 5 that loops forever (returning a timeout error):
> 
> send(4, "<141>Mar 23 11:36:25 elogd[22189"..., 35, 0) = 35
> rt_sigaction(SIGPIPE, {SIG_IGN}, NULL, 8) = 0
> select(1024, [3 5], NULL, NULL, {1, 0}) = 0 (Timeout)
> select(1024, [3 5], NULL, NULL, {1, 0}) = 0 (Timeout)
> 
> 
> May be the better solution is, after fixing the bug for backward
> compatibility with already uploaded images, to implement a forced characters
> substitution at upload time, replacing spaces and every character not in a
> "allowed chars" list with an underscore

donno if the following is correlated, otherwise there is another problem I
guess :-)
I attached a strace of elog, hope you'll find it useful.

- Irestarted the daemon
- attached strace to it
- requested the list for a testin logbook, few entries some quite big images 
  (two thumbnails, the other are old images get resized my the browser)
- repeted previous point a couple of times
- press F5 (mozilla-firefox)  the browser hangs 4ever
- stop the load
- repeat point 3, all right
- F5 => hangs
- F5 => hangs

there should be some problem, may be in the socket ?
Attachment 1: elog_trace.txt
Process 26302 attached - interrupt to quit
select(1024, [3], NULL, NULL, {0, 318000}) = 0 (Timeout)
select(1024, [3], NULL, NULL, {1, 0})   = 0 (Timeout)
select(1024, [3], NULL, NULL, {1, 0})   = 0 (Timeout)
select(1024, [3], NULL, NULL, {1, 0})   = 0 (Timeout)
select(1024, [3], NULL, NULL, {1, 0})   = 0 (Timeout)
select(1024, [3], NULL, NULL, {1, 0})   = 1 (in [3], left {0, 358000})
accept(3, {sa_family=AF_INET, sin_port=htons(34793), sin_addr=inet_addr("141.108.255.111")}, [16]) = 5
time(NULL)                              = 1111667888
socket(PF_FILE, SOCK_STREAM, 0)         = 6
connect(6, {sa_family=AF_FILE, path="/var/run/.nscd_socket"}, 110) = -1 ENOENT (No such file or directory)
close(6)                                = 0
open("/etc/hosts", O_RDONLY)            = 6
fcntl64(6, F_GETFD)                     = 0
fcntl64(6, F_SETFD, FD_CLOEXEC)         = 0
fstat64(6, {st_mode=S_IFREG|0644, st_size=9153, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40018000
read(6, "127.0.0.1\tlocalhost\t\tsparcserv\n1"..., 4096) = 4096
read(6, "sp\tws106\n192.168.0.107  \t\tws107."..., 4096) = 4096
read(6, ".0.227  \t\tws227.ltsp\tws227\n192.1"..., 4096) = 961
read(6, "", 4096)                       = 0
close(6)                                = 0
munmap(0x40018000, 4096)                = 0
socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 6
connect(6, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("141.108.255.3")}, 28) = 0
send(6, "\2D\1\0\0\1\0\0\0\0\0\0\003111\003255\003108\003141\7i"..., 46, 0) = 46
gettimeofday({1111667888, 460326}, NULL) = 0
poll([{fd=6, events=POLLIN, revents=POLLIN}], 1, 5000) = 1
ioctl(6, FIONREAD, [216])               = 0
recvfrom(6, "\2D\205\200\0\1\0\1\0\4\0\3\003111\003255\003108\00314"..., 1024, 0, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("141.108.255.3")}, [16]) = 216
close(6)                                = 0
select(1024, [5], NULL, NULL, {6, 0})   = 1 (in [5], left {6, 0})
recv(5, "GET /test/?mode=full&attach=1 HT"..., 100000, 0) = 622
time([1111667888])                      = 1111667888
getpid()                                = 26302
rt_sigaction(SIGPIPE, {0x40123530, [], 0}, {SIG_IGN}, 8) = 0
send(4, "<141>Mar 24 13:38:08 elogd[26302"..., 35, 0) = 35
rt_sigaction(SIGPIPE, {SIG_IGN}, NULL, 8) = 0
time([1111667888])                      = 1111667888
getpid()                                = 26302
rt_sigaction(SIGPIPE, {0x40123530, [], 0}, {SIG_IGN}, 8) = 0
send(4, "<141>Mar 24 13:38:08 elogd[26302"..., 653, 0) = 653
rt_sigaction(SIGPIPE, {SIG_IGN}, NULL, 8) = 0
mmap2(NULL, 167936, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40246000
mmap2(NULL, 167936, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x4026f000
mmap2(NULL, 151552, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40298000
time([1111667888])                      = 1111667888
time([1111667888])                      = 1111667888
time([1111667888])                      = 1111667888
mmap2(NULL, 253952, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x402bd000
mmap2(NULL, 253952, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x402fb000
open("/var/lib/elog/test/050324a.log", O_RDWR) = 6
mmap2(NULL, 253952, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40339000
lseek(6, 0, SEEK_SET)                   = 0
read(6, "$@MID@$: 7\nDate: Thu Mar 24 10:5"..., 250999) = 241
close(6)                                = 0
munmap(0x40339000, 253952)              = 0
mmap2(NULL, 167936, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40339000
mmap2(NULL, 167936, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40362000
time([1111667888])                      = 1111667888
time([1111667888])                      = 1111667888
open("/var/lib/elog/test/050324_105313_back 42.jpg.thumb", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/var/lib/elog/test/050324_110101_back 42.JPG.thumb", O_RDONLY) = -1 ENOENT (No such file or directory)
munmap(0x40339000, 167936)              = 0
munmap(0x40362000, 167936)              = 0
open("/var/lib/elog/test/050323a.log", O_RDWR) = 6
mmap2(NULL, 253952, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40339000
lseek(6, 765, SEEK_SET)                 = 765
read(6, "$@MID@$: 6\nDate: Wed Mar 23 12:2"..., 250999) = 271
close(6)                                = 0
munmap(0x40339000, 253952)              = 0
mmap2(NULL, 167936, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40339000
mmap2(NULL, 167936, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40362000
time([1111667888])                      = 1111667888
time([1111667888])                      = 1111667888
open("/var/lib/elog/test/050323_122120_Poster1_PCaPAC05.pdf.thumb", O_RDONLY) = 6
close(6)                                = 0
munmap(0x40339000, 167936)              = 0
munmap(0x40362000, 167936)              = 0
open("/var/lib/elog/test/050323a.log", O_RDWR) = 6
mmap2(NULL, 253952, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40339000
lseek(6, 0, SEEK_SET)                   = 0
read(6, "$@MID@$: 5\nDate: Wed Mar 23 12:0"..., 250999) = 1036
close(6)                                = 0
munmap(0x40339000, 253952)              = 0
mmap2(NULL, 167936, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40339000
mmap2(NULL, 167936, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40362000
time([1111667888])                      = 1111667888
time([1111667888])                      = 1111667888
munmap(0x40339000, 167936)              = 0
munmap(0x40362000, 167936)              = 0
open("/var/lib/elog/test/050311a.log", O_RDWR) = 6
mmap2(NULL, 253952, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40339000
lseek(6, 0, SEEK_SET)                   = 0
read(6, "$@MID@$: 4\nDate: Fri Mar 11 18:0"..., 250999) = 2546
close(6)                                = 0
munmap(0x40339000, 253952)              = 0
mmap2(NULL, 167936, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40339000
mmap2(NULL, 167936, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40362000
time([1111667888])                      = 1111667888
time([1111667888])                      = 1111667888
open("/var/lib/elog/test/050311_175308_Non-reversed_field.jpg.thumb", O_RDONLY) = 6
close(6)                                = 0
open("/var/lib/elog/test/050311_180201_reversed_field.jpg.thumb", O_RDONLY) = 6
close(6)                                = 0
open("/var/lib/elog/test/050311_180244_reversed_and_non-reversed_field.jpg.thumb", O_RDONLY) = 6
close(6)                                = 0
munmap(0x40339000, 167936)              = 0
munmap(0x40362000, 167936)              = 0
open("/var/lib/elog/test/050310a.log", O_RDWR) = 6
mmap2(NULL, 253952, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40339000
lseek(6, 0, SEEK_SET)                   = 0
read(6, "$@MID@$: 3\nDate: Thu Mar 10 09:0"..., 250999) = 1068
close(6)                                = 0
munmap(0x40339000, 253952)              = 0
mmap2(NULL, 167936, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40339000
mmap2(NULL, 167936, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40362000
time([1111667888])                      = 1111667888
time([1111667888])                      = 1111667888
munmap(0x40339000, 167936)              = 0
munmap(0x40362000, 167936)              = 0
open("/var/lib/elog/test/050307a.log", O_RDWR) = 6
mmap2(NULL, 253952, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40339000
lseek(6, 202, SEEK_SET)                 = 202
read(6, "$@MID@$: 2\nDate: Mon Mar 07 16:0"..., 250999) = 180
close(6)                                = 0
munmap(0x40339000, 253952)              = 0
mmap2(NULL, 167936, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40339000
mmap2(NULL, 167936, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40362000
time([1111667888])                      = 1111667888
time([1111667888])                      = 1111667888
munmap(0x40339000, 167936)              = 0
munmap(0x40362000, 167936)              = 0
open("/var/lib/elog/test/050307a.log", O_RDWR) = 6
mmap2(NULL, 253952, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40339000
lseek(6, 0, SEEK_SET)                   = 0
read(6, "$@MID@$: 1\nDate: Mon Mar 07 15:1"..., 250999) = 382
close(6)                                = 0
munmap(0x40339000, 253952)              = 0
mmap2(NULL, 167936, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40339000
mmap2(NULL, 167936, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40362000
time([1111667888])                      = 1111667888
time([1111667888])                      = 1111667888
munmap(0x40339000, 167936)              = 0
munmap(0x40362000, 167936)              = 0
munmap(0x40246000, 167936)              = 0
munmap(0x4026f000, 167936)              = 0
munmap(0x40298000, 151552)              = 0
munmap(0x402bd000, 253952)              = 0
munmap(0x402fb000, 253952)              = 0
send(5, "HTTP/1.1 200 Document follows\r\nS"..., 241, 0) = 241
send(5, "<!DOCTYPE HTML PUBLIC \"-//W3C//D"..., 11022, 0) = 11022
time([1111667888])                      = 1111667888
getpid()                                = 26302
rt_sigaction(SIGPIPE, {0x40123530, [], 0}, {SIG_IGN}, 8) = 0
send(4, "<141>Mar 24 13:38:08 elogd[26302"..., 79, 0) = 79
rt_sigaction(SIGPIPE, {SIG_IGN}, NULL, 8) = 0
time([1111667888])                      = 1111667888
getpid()                                = 26302
rt_sigaction(SIGPIPE, {0x40123530, [], 0}, {SIG_IGN}, 8) = 0
send(4, "<141>Mar 24 13:38:08 elogd[26302"..., 272, 0) = 272
rt_sigaction(SIGPIPE, {SIG_IGN}, NULL, 8) = 0
time([1111667888])                      = 1111667888
getpid()                                = 26302
rt_sigaction(SIGPIPE, {0x40123530, [], 0}, {SIG_IGN}, 8) = 0
send(4, "<141>Mar 24 13:38:08 elogd[26302"..., 11057, 0) = 11057
rt_sigaction(SIGPIPE, {SIG_IGN}, NULL, 8) = 0
time([1111667888])                      = 1111667888
getpid()                                = 26302
rt_sigaction(SIGPIPE, {0x40123530, [], 0}, {SIG_IGN}, 8) = 0
send(4, "<141>Mar 24 13:38:08 elogd[26302"..., 35, 0) = 35
rt_sigaction(SIGPIPE, {SIG_IGN}, NULL, 8) = 0
select(1024, [3 5], NULL, NULL, {1, 0}) = 1 (in [5], left {0, 718000})
time(NULL)                              = 1111667888
select(1024, [5], NULL, NULL, {6, 0})   = 1 (in [5], left {6, 0})
recv(5, "GET /test/favicon.ico HTTP/1.1\r\n"..., 100000, 0) = 534
time([1111667888])                      = 1111667888
getpid()                                = 26302
rt_sigaction(SIGPIPE, {0x40123530, [], 0}, {SIG_IGN}, 8) = 0
send(4, "<141>Mar 24 13:38:08 elogd[26302"..., 35, 0) = 35
rt_sigaction(SIGPIPE, {SIG_IGN}, NULL, 8) = 0
time([1111667888])                      = 1111667888
getpid()                                = 26302
rt_sigaction(SIGPIPE, {0x40123530, [], 0}, {SIG_IGN}, 8) = 0
send(4, "<141>Mar 24 13:38:08 elogd[26302"..., 565, 0) = 565
rt_sigaction(SIGPIPE, {SIG_IGN}, NULL, 8) = 0
open("/usr/share/elog/themes/arco/favicon.ico", O_RDONLY) = 6
lseek(6, 0, SEEK_END)                   = 318
lseek(6, 0, SEEK_CUR)                   = 318
lseek(6, 0, SEEK_SET)                   = 0
time([1111667888])                      = 1111667888
read(6, "\0\0\1\0\1\0\20\20\20\0\1\0\4\0(\1\0\0\26\0\0\0(\0\0\0"..., 318) = 318
close(6)                                = 0
send(5, "HTTP/1.1 200 Document follows\r\nS"..., 546, 0) = 546
time([1111667888])                      = 1111667888
getpid()                                = 26302
rt_sigaction(SIGPIPE, {0x40123530, [], 0}, {SIG_IGN}, 8) = 0
send(4, "<141>Mar 24 13:38:08 elogd[26302"..., 79, 0) = 79
rt_sigaction(SIGPIPE, {SIG_IGN}, NULL, 8) = 0
time([1111667888])                      = 1111667888
getpid()                                = 26302
rt_sigaction(SIGPIPE, {0x40123530, [], 0}, {SIG_IGN}, 8) = 0
send(4, "<141>Mar 24 13:38:08 elogd[26302"..., 259, 0) = 259
rt_sigaction(SIGPIPE, {SIG_IGN}, NULL, 8) = 0
time([1111667888])                      = 1111667888
getpid()                                = 26302
rt_sigaction(SIGPIPE, {0x40123530, [], 0}, {SIG_IGN}, 8) = 0
send(4, "<141>Mar 24 13:38:08 elogd[26302"..., 35, 0) = 35
rt_sigaction(SIGPIPE, {SIG_IGN}, NULL, 8) = 0
select(1024, [3 5], NULL, NULL, {1, 0}) = 0 (Timeout)
select(1024, [3 5], NULL, NULL, {1, 0}) = 0 (Timeout)
select(1024, [3 5], NULL, NULL, {1, 0}) = 0 (Timeout)
select(1024, [3 5], NULL, NULL, {1, 0}) = 0 (Timeout)
select(1024, [3 5], NULL, NULL, {1, 0}) = 0 (Timeout)
select(1024, [3 5], NULL, NULL, {1, 0}) = 1 (in [5], left {0, 322000})
time(NULL)                              = 1111667894
select(1024, [5], NULL, NULL, {6, 0})   = 1 (in [5], left {6, 0})
recv(5, "GET /test/?mode=full&attach=1 HT"..., 100000, 0) = 622
time([1111667894])                      = 1111667894
getpid()                                = 26302
rt_sigaction(SIGPIPE, {0x40123530, [], 0}, {SIG_IGN}, 8) = 0
send(4, "<141>Mar 24 13:38:14 elogd[26302"..., 35, 0) = 35
rt_sigaction(SIGPIPE, {SIG_IGN}, NULL, 8) = 0
time([1111667894])                      = 1111667894
getpid()                                = 26302
rt_sigaction(SIGPIPE, {0x40123530, [], 0}, {SIG_IGN}, 8) = 0
send(4, "<141>Mar 24 13:38:14 elogd[26302"..., 653, 0) = 653
rt_sigaction(SIGPIPE, {SIG_IGN}, NULL, 8) = 0
mmap2(NULL, 167936, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40246000
mmap2(NULL, 167936, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x4026f000
mmap2(NULL, 151552, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40298000
time([1111667894])                      = 1111667894
time([1111667894])                      = 1111667894
time([1111667894])                      = 1111667894
mmap2(NULL, 253952, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x402bd000
mmap2(NULL, 253952, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x402fb000
open("/var/lib/elog/test/050324a.log", O_RDWR) = 6
mmap2(NULL, 253952, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40339000
lseek(6, 0, SEEK_SET)                   = 0
read(6, "$@MID@$: 7\nDate: Thu Mar 24 10:5"..., 250999) = 241
close(6)                                = 0
munmap(0x40339000, 253952)              = 0
mmap2(NULL, 167936, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40339000
mmap2(NULL, 167936, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40362000
time([1111667894])                      = 1111667894
time([1111667894])                      = 1111667894
open("/var/lib/elog/test/050324_105313_back 42.jpg.thumb", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/var/lib/elog/test/050324_110101_back 42.JPG.thumb", O_RDONLY) = -1 ENOENT (No such file or directory)
munmap(0x40339000, 167936)              = 0
munmap(0x40362000, 167936)              = 0
open("/var/lib/elog/test/050323a.log", O_RDWR) = 6
mmap2(NULL, 253952, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40339000
lseek(6, 765, SEEK_SET)                 = 765
read(6, "$@MID@$: 6\nDate: Wed Mar 23 12:2"..., 250999) = 271
close(6)                                = 0
munmap(0x40339000, 253952)              = 0
mmap2(NULL, 167936, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40339000
mmap2(NULL, 167936, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40362000
time([1111667894])                      = 1111667894
time([1111667894])                      = 1111667894
open("/var/lib/elog/test/050323_122120_Poster1_PCaPAC05.pdf.thumb", O_RDONLY) = 6
close(6)                                = 0
munmap(0x40339000, 167936)              = 0
munmap(0x40362000, 167936)              = 0
open("/var/lib/elog/test/050323a.log", O_RDWR) = 6
mmap2(NULL, 253952, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40339000
lseek(6, 0, SEEK_SET)                   = 0
read(6, "$@MID@$: 5\nDate: Wed Mar 23 12:0"..., 250999) = 1036
close(6)                                = 0
munmap(0x40339000, 253952)              = 0
mmap2(NULL, 167936, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40339000
mmap2(NULL, 167936, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40362000
time([1111667894])                      = 1111667894
time([1111667894])                      = 1111667894
munmap(0x40339000, 167936)              = 0
munmap(0x40362000, 167936)              = 0
open("/var/lib/elog/test/050311a.log", O_RDWR) = 6
mmap2(NULL, 253952, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40339000
lseek(6, 0, SEEK_SET)                   = 0
read(6, "$@MID@$: 4\nDate: Fri Mar 11 18:0"..., 250999) = 2546
close(6)                                = 0
munmap(0x40339000, 253952)              = 0
mmap2(NULL, 167936, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40339000
mmap2(NULL, 167936, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40362000
time([1111667894])                      = 1111667894
time([1111667894])                      = 1111667894
open("/var/lib/elog/test/050311_175308_Non-reversed_field.jpg.thumb", O_RDONLY) = 6
close(6)                                = 0
open("/var/lib/elog/test/050311_180201_reversed_field.jpg.thumb", O_RDONLY) = 6
close(6)                                = 0
open("/var/lib/elog/test/050311_180244_reversed_and_non-reversed_field.jpg.thumb", O_RDONLY) = 6
close(6)                                = 0
munmap(0x40339000, 167936)              = 0
munmap(0x40362000, 167936)              = 0
open("/var/lib/elog/test/050310a.log", O_RDWR) = 6
mmap2(NULL, 253952, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40339000
lseek(6, 0, SEEK_SET)                   = 0
read(6, "$@MID@$: 3\nDate: Thu Mar 10 09:0"..., 250999) = 1068
close(6)                                = 0
munmap(0x40339000, 253952)              = 0
... 1508 more lines ...
  1018   Thu Mar 24 13:21:28 2005 Warning Emiliano GabrielliAlberT@SuperAlberT.itBug reportAll2.5.8Re: HTML 4.1 transitional validation fails
> as this url shows http://www.htmlhelp.com/tools/validator/problems.html#amp
> it should be used an HTML entity instead of the ampersand sign.

Stefan, the validation still fails on the ampersand ... here is an example of your online Demo elog: http://validator.w3.org/check?verbose=1&uri=http%3A//midas.psi.ch/elogs/Forum/920

  1017   Thu Mar 24 12:30:07 2005 Warning Emiliano GabrielliAlberT@SuperAlberT.itInfoLinux Re: New Debian package (2.5.8+r1592) -- needs testing
> Hi to all,
> 
> I've prepared a new Debian package.  This version will probably be the one
> which you'll find in Sarge/stable.
> 
> There are some invasive changes in this version which call for a serious
> test.  In accordance with a suggestion, I've changed the configuration
> mechanism.  For details, please read the NEWS.Debian file attached.
> 
> Could the Debian users who follow this forum test it and give some feedback?
> You can download the package from the following link:
> 
>   http://l10n-turkish.alioth.debian.org/debian/elog_2.5.8+r1592-1_i386.deb
> 
> Thanks in advance for your participation,

btw, what about in including in default/elog also a voice for the "-x" switch ??

It is a security related thing and may be passed only on the command line to the
daemon, so it should be governed by the system elog admin.
  1016   Thu Mar 24 12:26:46 2005 Agree Emiliano GabrielliAlberT@SuperAlberT.itInfoLinux Re: New Debian package (2.5.8+r1592) -- needs testing
> > It seems to work nice to me.
> > Just another suggestion: I think it would be better to insert a commented out
> > example for all allowed parameters in the distributed  /etc/default/elog
> 
> Thanks for the test.  Please note that, /etc/default/elog is partially auto
> created during the installation.  All options except PIDFILE and CONFFILE are
> currently listed (as configured or commented out).  If you didn't see these
> options (after the update), there must be a problem.   Did you mean the lack of
> PIDFILE and CONFFILE in the default file?

no, my bad (it seems :-P) .. I re-installed the package now on my laptop and seems
to work fine... maybe I have swapped the diff result when installed yesterday.

Making tests I found another problem, her is the report:

####
root@emc2:/home/albert# apt-get remove elog
Lettura della lista dei pacchetti in corso... Fatto
Generazione dell'albero delle dipendenze in corso... Fatto
I seguenti pacchetti saranno RIMOSSI:
  elog
0 aggiornati, 0 installati, 1 da rimuovere e 0 non aggiornati.
È necessario prendere 0B di archivi.
Dopo l'estrazione, verranno liberati 2444kB di spazio su disco.
Continuare? [S/n]
(Lettura del database ... 152033 file e directory attualmente installati.)
Rimuovo elog ...
Stopping ELOG daemon: elogd.
root@emc2:/home/albert# rm /etc/default/elog
rm: rimuovere regular file `/etc/default/elog'? y
root@emc2:/home/albert# apt-get install elog
Lettura della lista dei pacchetti in corso... Fatto
Generazione dell'albero delle dipendenze in corso... Fatto
I seguenti pacchetti NUOVI (NEW) saranno installati:
  elog
0 aggiornati, 1 installati, 0 da rimuovere e 0 non aggiornati.
È necessario prendere 0B/530kB di archivi.
Dopo l'estrazione, verranno occupati 2444kB di spazio su disco.
Selezionato il pacchetto elog, che non lo era.
(Lettura del database ... 151926 file e directory attualmente installati.)
Spacchetto elog (da .../elog_2.5.8+r1592-1_i386.deb) ...
Configuro elog (2.5.8+r1592-1) ...
cat: /etc/default/elog: No such file or directory
Starting ELOG daemon: elogd.
####


So, removing an existing elog (not purging) and installing again raise the error.
Why installation creates the default/elog file only the first time ?  I think it
shoud do the job everytime (and everytime ask the user is there is a diff to be
checked)
  1015   Thu Mar 24 12:09:55 2005 Smile Stephen A. Woodsaw@jlab.orgBug reportLinux Re: Crash with Protect Selection page = 1
> > Logins work OK if the username/password is valid.  However, if I try to login
> > with invalid authentication, the server crashes.  If I turn off the protect
> > selection page, then invalid authentication does not crash elogd.
> 
> Ok, it's me, Speedy Gonzales again (as Emiliano says... (;-))
> 
> I fixed that as well and committed the changes.

That seems to do the trick!  Thanks, Steve
  1014   Thu Mar 24 11:47:58 2005 Smile Stefan Rittstefan.ritt@psi.chBug reportLinux Re: Crash with Protect Selection page = 1
> Logins work OK if the username/password is valid.  However, if I try to login
> with invalid authentication, the server crashes.  If I turn off the protect
> selection page, then invalid authentication does not crash elogd.

Ok, it's me, Speedy Gonzales again (as Emiliano says... (;-))

I fixed that as well and committed the changes.

Greetings to JLab (I once worked at UVa in Charlottesville...). Is David Abbott
still there?

- Stefan
ELOG V3.1.5-3fb85fa6