Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG  Not logged in ELOG logo
icon4.gif   New Debian package (2.5.8+r1592) -- needs testing, posted by Recai Oktas on Wed Mar 23 05:56:35 2005 NEWS.Debian
    icon14.gif   Re: New Debian package (2.5.8+r1592) -- needs testing, posted by Emiliano Gabrielli on Wed Mar 23 11:19:51 2005 
       icon14.gif   Re: New Debian package (2.5.8+r1592) -- needs testing, posted by Recai Oktas on Wed Mar 23 16:44:32 2005 
          icon14.gif   Re: New Debian package (2.5.8+r1592) -- needs testing, posted by Emiliano Gabrielli on Thu Mar 24 12:26:46 2005 
    icon4.gif   Re: New Debian package (2.5.8+r1592) -- needs testing, posted by Emiliano Gabrielli on Thu Mar 24 12:30:07 2005 
Message ID: 1016     Entry time: Thu Mar 24 12:26:46 2005     In reply to: 1006
Icon: Agree  Author: Emiliano Gabrielli  Author Email: AlberT@SuperAlberT.it 
Category: Info  OS: Linux  ELOG Version:  
Subject: 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)
ELOG V3.1.5-fe60aaf