Hi Javier,

On Donnerstag, 29. Mai 2014, Javier Fernández-Sanguino Peña wrote:
> >          samhain -t init >/var/log/samhain/samhain-init.log 2>&1
> This is probably the culprit.

it is. 

For piuparts.d.o I'm successfully working around this bug by running mkdir -p 
/var/state/samhain/ && touch /var/state/samhain/samhain_file before installing 
samhain, thus preventing the above line to be executed, thus preventing mails 
to root.

What I also find bothering is that this chroot doesnt have a mail server 
setup, instead samhain just talks smtp directly to port 25.
 
> I guess I could defer the initialisation database to the first time samhain
> is started (through init) or I could add a debconf prompt to ask the admin
> user if he wants the integrity database to be initialised.

I think the first solution would be appropriate: defer the initialisation 
database to the first time samhain is started.


cheers,
        Holger

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to