On Sun, 28 Oct 2012 14:58:49 +0100, Franck Joncourt wrote: > >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.
Thanks, that was the missing piece for me :) (That the daemon also works with _CHANGEME_.) In this case /etc/psad/psad.conf could be installed as before, and the postinst (and removal in postrm) can just be dropped ... Nice. Yes, this sounds easier. 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 `- NP: Nick Drake: Which Will
signature.asc
Description: Digital signature