On Mon, 22 Oct 2012 22:22:06 +0200, Franck Joncourt wrote:

> >I'm attaching a diff that implements my ideas from the last mail;
> Thank you very much.

You're welcome :)
 
> >still, I'm not sure about the unconditional replacing in the postinst
> >...
> In the postinst script the psad.conf file is left in place if one is
> found, and if none, the embedded copie is placed in /etc/psad. So I
> am not sure what you mean by unconditional.

Sorry for being unclear; I didn't mean replacing the file, but
udpating the values within the file, i.e. lines 44/45 (in git):

  44     NAME=`hostname`
  45     update_conf "$NAME" "HOSTNAME" "/etc/psad/psad.conf"

This will overwrite the HOSTNAME variable in the file (also on
updates), which could have been been changed by the admin. - And
that's where I'm not sure ...

Cheers,
gregor

-- 
 .''`.  Homepage: http://info.comodo.priv.at/ - OpenPGP key 0xBB3A68018649AA06
 : :' : Debian GNU/Linux user, admin, and developer  -  http://www.debian.org/
 `. `'  Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe
   `-   BOFH excuse #294:  PCMCIA slave driver 


-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to