Hi Gregor,

Le 23/10/2012 08:16, gregor herrmann a écrit :
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 ...

The solution I can find is to leave this entry as _CHANGEME_ in psad.conf and maybe add a note in the README.debian file. It does not prevent the daemon to start. I think that would be better than overwriting any existing value set by the admin.

Regards,

Franck


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

Reply via email to