Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG  Not logged in ELOG logo
icon1.gif   elconv deletes everything, posted by Konstantin Olchanski on Wed May 20 01:49:37 2015 
    icon2.gif   Re: elconv deletes everything, posted by Stefan Ritt on Wed Jun 10 11:39:23 2015 
Message ID: 67916     Entry time: Wed May 20 01:49:37 2015     Reply to this: 67996
Icon: Entry  Author: Konstantin Olchanski  Author Email: olchansk@triumf.ca 
Category: Bug report  OS: Linux  ELOG Version: 3.1.0 
Subject: elconv deletes everything 
Converting from elog 2.9.something to new elog 3.1.0 elogd refuses to start, instructs running elconv in one logbook.

When I do so, elconv converts a existing mhttpd-style elog entries to the new format (the corresponding new-format entries already exist)
and deletes everything else - this is very bad.

So there are 2 bugs:
- elogd should not tell us to run elconv when both old-style and corresponding new-style elog entries exist
- elconv should not delete all existing new-style elog entries.

I confirm that elconv *does* delete all new-style elog entries - with strace, I see it issue "unlink" on every elog entry.

What a disaster!

K.O.
ELOG V3.1.5-fe60aaf