ID |
Date |
Icon |
Author |
Author Email |
Category |
OS |
ELOG Version |
Subject |
66872
|
Mon Aug 2 13:40:02 2010 |
| Stefan Ritt | stefan.ritt@psi.ch | Info | All | 2.8.0 | Important security update of ELOG | Dear ELOG users,
this is to announce an important security update. As proposed by Lukasz Olejnik (CERN/PSNC), ELOG has now switched to strong encryption of password. So everybody concerned in security is advised to update to the new version 2.8.0. Existing password files for Windows users and Linux users not using HAVE_CRYPT are automatically converted. Those installations which used HAVE_CRYPT in the past under Linux have to ask their users to re-enter their password (via the link "Forgot password") after the upgrade to version 2.8.0.
Best regards,
Stefan Ritt |
66875
|
Thu Aug 5 12:26:12 2010 |
| Stefan Ritt | stefan.ritt@psi.ch | Info | All | 2.8.0 | Re: Important security update of ELOG |
Stefan Ritt wrote: |
Dear ELOG users,
this is to announce an important security update. As proposed by Lukasz Olejnik (CERN/PSNC), ELOG has now switched to strong encryption of password. So everybody concerned in security is advised to update to the new version 2.8.0. Existing password files for Windows users and Linux users not using HAVE_CRYPT are automatically converted. Those installations which used HAVE_CRYPT in the past under Linux have to ask their users to re-enter their password (via the link "Forgot password") after the upgrade to version 2.8.0.
Best regards,
Stefan Ritt
|
I just realized that the command line elog utility did not yet use the new encryption. So automatic elog submissions using passwords are broken in version 2.8.0. I made an intermediate version 2.8.0-2 which fixes that. However you only need to update it if you use the elog utility and have problems with the 2.8.0 version. |
66876
|
Fri Aug 6 12:55:08 2010 |
| Stefan Ritt | stefan.ritt@psi.ch | Question | Linux | 2.8.0 | Re: elog keeps recreating preview .png files? |
Kontantin Olchanski wrote: |
Hi, I rsync an elog database from CERN to TRIUMF every few months and I notice that rsync keeps copying preview files (xxx.png.png, xxx.gif.png, etc) from very old entries. I guess that elogd creates these files from scratch each time they are needed, overwriting any previously existing preview files. This creates extra rsync network traffic and rsync takes longer to complete. Is there any way to avoid this? K.O.
|
Actually the thumbnail files are only created if they are not there. This is done in the function crate_thumbnail():
i = get_thumb_name(file_name, str, sizeof(str), 0);
if (i)
return i;
So if these files are recreated always, something must be wrong there. Or you sysadmin runs a cron job which deletes them every evening  |
66877
|
Fri Aug 6 13:01:24 2010 |
| Stefan Ritt | stefan.ritt@psi.ch | Bug report | Linux | unknown | Re: elog editor loses all text |
Kontantin Olchanski wrote: |
I just typed a long text into this elog, clicked "submit" and it bombed with "you must select an Icon", returned me to the editor with all my text gone gone gone. I do not want to select icons, I just want to report a problem with elog. Well, 2 problems, now.
K.O.
|
Well, first RTFM: "Fields marked with a * are required" on top of the elog entry page. Then, use a reasonable browser on a reasonable OS
On Google Chrome the text is still there (actually I just tried it with this entry). No idea what Safari under OSX does. Under Windows, Safari keeps the text. Actually this is controlled by the FCKEditor inside elog which is written by someone else. So complain there! Funny: We have about 1000+ entries in this forum, and you are the first one complaining about this. |
66897
|
Mon Sep 13 09:23:29 2010 |
| Stefan Ritt | stefan.ritt@psi.ch | Question | Windows | 2.8.-2312 | Re: How to setup elogd as windows service with shell execution? |
Robert Heine wrote: |
Dear colleagues,
I am trying to use the elogd as a service with activated shell-execution. Invoking 'elogd -x' on the command line works fine, as well as 'elogd -install'. The option 'elogd -x -install' does not seem to be implemented, so I followed two ways to get this to work:
1) creating my own service with instsrv/srvany and registry editing: starting 'elogd -x' does not work (error 1053), the -D option has to be added, to start the service without time out. But then shell execution seems to be not working, because no input to the elog is generated, but also no message saying shell execution was not enabled!
2) using 'elogd -install' and modifying the registry entry by adding the -x option to the command line in the 'HKLM\System\CurrentControlSet\Services\elogd\ImagePath': This enables shell execution, but instead of piping the output to the logbook, some DOS boxes pop up executing the shell command and terminate. No entries are generated.
Has anyone an idea?
|
I could never get shell execution work when elogd is started as a service. This has probably to do with system permissions or so under Windows. If anybody has a clue, please let me know. Under Linux this works nicely, but this is probably not an option for you... |
66900
|
Tue Sep 14 23:29:15 2010 |
| Stefan Ritt | stefan.ritt@psi.ch | Question | Linux | ELOG V2.8. | Re: Password problem after elogd restart |
Jack Dapid wrote: |
Hi.
I have ELOG V2.8.0-2313 installed on a SLC 5.5 release and all works fine, Users can register them-self and I see for each of them in the passwd file:
<name>test</name>
<password>***something***</password>
....
after a '/etc/rc.d/init.d/elogd restart' the logins don't work anymore (they did before the restart)
and the passwd file changed:
<name>test</name>
<password encoding="SHA256">***something else***</password>
....
Any idea what goes wrong?
Cheers, Jack
|
Please have a look at https://midas.psi.ch/elogs/Forum/66872 |
66901
|
Wed Sep 15 00:21:10 2010 |
| Stefan Ritt | stefan.ritt@psi.ch | Question | Windows | 2.7.6-2230 | Re: SQL Database |
lance wrote: |
We have been running elog for a few years now and its solid. The only thing is we are getting to 140k entries over a few books and its starting to slow down whist searching. My questions is can we go to an SQL type database rather than a flat file? Is it worth it? Is anyone running this type of configuration?
|
Running through a SQL database requires a major rework of the software. I'm planning this in the long run, but not for this year. I'm also not sure how much this would buy you. If you do a full-text search on 140k entries in a SQL database (not index search), this might also take some time.
But what you can do is to "archive" part of your logbooks. Since the files are named YYMMDDa.log, you can move all 09XXXXXa.log files into a separate "archive" which you then do not include in your search. |
66902
|
Wed Sep 15 00:32:48 2010 |
| Stefan Ritt | stefan.ritt@psi.ch | Question | Linux | All | 2.8.0-2313 | Re: Searching Logbooks | > Hi Stefan,
>
> I'm starting to get a similar problem to Lance's ("SQL Database"). Searching is beginning to take time.
>
> In searching, I either can search one logbook (still relatively quick), or all of them.
>
> I have my logbooks in groups, and often I know which group I want to search, and it would make the searching
> much quicker were the search confined to just that group. I don't think I've missed anything in the
> documentation on this matter.
>
> If not a change to the elog program, is there another way of (say) arranging the logbooks that will achieve this?
You can't do that right now. I would have to extend the functionality to allow searching in groups. Also have a look
at https://midas.psi.ch/elogs/Forum/66901. Maybe that helps a bit in meantime. |
|