Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 776 of 806  Not logged in ELOG logo
New entries since:Thu Jan 1 01:00:00 1970
ID Date Icondown Author Author Email Category OS ELOG Version Subject
  678   Fri Aug 27 00:49:27 2004 Angy Heiko Scheith.scheit@mpi-hd.mpg.deBug reportLinux2.5.0Re: elogd does not exit on SIGTERM
> Noee. Here it works immediately.
> 
> Can you try with a fresh server from the distribution, with the example 
> elogd.cfg, to see if there is any difference?
> 
> The killing is handled in the funciton ctrlc_handler(), which sets _abort = 
> TRUE. This  is checked in line 16195, just after the select(), and the main 
> loop is exited. The select finishes after one second, although I believe 
> that the kill signal also terminates the select prematurely. The kill 
> command and a Ctrl-C keystroke should work the same way, they both generate 
> a SIGTERM or SIGINT signal.

elogd does not exit if there is an 'unprocessed' HUP.  So when you do 

kill -HUP <pid>
kill <pid> 

elogd will only exit after it was accessed.
  821   Fri Dec 3 08:43:49 2004 Angy Ulrich Trüsselulrich.truessel@familienhund.chBug reportWindows2.5.5-1ELOG-Server crashes after date entry
God really STRANGE and problematic effect on 2.5.5-1 (can't remember it this
was with 2.5.5 or 2.5.4-X but i'm nearly sure it worked well):

Entering a date (Formate Bithday = date) may crash down the server:
Value is 22.2.2004: Everything is well
Value is 22.2.1962: Server crashes emmediatly (menas restarzing several
times, always the same problem)

I do not have time to check true all the years for finding out where the
problem may beginn, sorry. Also I was not able to check on other systems
right now. My system: Win XP Pro SP 1, IE 6 as well as Mozilla Calssic 1.7.3. 

Didn't check it under Linux right know in case of a lot work.

Clould you this fix please Stefan???  THANK'X!!!
  949   Wed Feb 16 08:58:47 2005 Angy Emiliano GabrielliAlberT@SuperAlberT.itRequestLinux2.5.6Re: images attached shown as inline
> > the following should do the job: 
> >  
> > <div style="width: 200px"> 
> > <img src="IMG_3133.jpg" style="width: 100%" /> 
> > </div> 
> >  
> > the configurable parameter should be with obviously :-) 
>  
> Unfortunately not. Please find attached the screen dump from such a try, together with the HTML code. 
> As you can see, the little elog icon is stretched to the same width as the upper (large) picture. 
 
you are right ;-( I used a different code in my test and sent you and old test code, *but* also the last 
one does not works on every browser ... the following code would do the job, but it seems to work only 
in gecko-based browsers such as mozilla, firefox and safari ... 
 
<div style="width: 200px"> 
 <img src="IMG_3133.jpg" style="max-width: 200" /> 
</div> 
 
other browsers do not scale the vertical dimention :-( 
  1008   Thu Mar 24 10:31:01 2005 Angy Stephen A. Woodsaw@jlab.orgBug reportLinux Crash with Protect Selection page = 1
Using 2.5.8, if I set "Protect Selection page" to 1, then elogd seg faults
as soon as it is accessed.

Under 2.5.7, a login page will come up, and the logbook will work, but only
if a valid username/password is given.  If an invalid login is given, then
elogd crashes.  We have a cron job that periodically restarts elogd if it is
has crashed.

Steve

[global]
logbook tabs = 0
port = 8080
Protect Selection page = 1
Password file = user.info
Admin user = saw
 
  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 ...
  1027   Fri Mar 25 16:00:55 2005 Angy Alex Halex@synergie-inf.comBug reportWindowsV2.5.8-1Preset text Dont work more!
Hi,
I'am using Elog V2.5.8-1 and the "Preset Text" option don't work more since 
I've updated Elog. could you fix it?
Thanks.

Alex
  1379   Fri Aug 5 02:27:15 2005 Angy Chris Greengreenc@fnal.govBug reportLinux2.6.0-CVSTop Groups, Show Top Groups, password file and Protect Selection page have nasty interaction
Hi,

Just as our ELOG went into production, I tripped over a couple of related (I think) bugs.

First, the easy one: line 21368 of src/elogd.c has a compile warning which looks non-benign. I fixed it in my local copy with:

Index: elogd.c
===================================================================
RCS file: /usr/local/cvsroot/elog/src/elogd.c,v
retrieving revision 1.739
diff -r1.739 elogd.c
21368,21369c21368
< sprintf(str, "?fail=1", user);
< redirect(lbs, str);
---
> redirect(lbs, "?fail=1");

Regardless (ie if I use the original CVS code or the patched version), a hard-to trace problem occurs with my configuration whereby users are denied access after password entry at the logbook selection page (even when details are verifiably correct), and users are dropped through to the next (non-protected) Top Group page. This problem goes away if "Protect Selection Page" is turned off.

A kind of "shadow" of this problem occurs if you create a new logbook from the Change Config File page, whereby after creating the new logbook one is dropped through to the next Top Group's selection page after saving the configuration (and the url has ?fail=1 added to it, althoguh line 21368 above is hardly the only place where this could have occurred).

I think all these things are linked. I'd be grateful if you could review this section of this code for possible causes of these problems. While we can operate for now with non-logged-in users able to see our list of logbooks, that is not something we want for the long term.

Thanks for your help,
Chris.
  1421   Fri Sep 23 19:23:26 2005 Angy Dan Chitwooddchitwoo@uiuc.eduBug reportLinux | Windows2.6.0-b4Post appearing twice
We are having trouble on our logbook with posts appearing twice. Both posts contain the same ID number, time, etc. This most often occurs when the e-log entry is being written for an extended period of time (ie. more than 30 minutes), but I don't know if that is the root cause of the problem. It may also be related to posts that are edited after an initial posting. Could this be due to an improper setting in our config file?
ELOG V3.1.5-3fb85fa6