Opened 13 years ago

Closed 13 years ago

Last modified 6 years ago

#109 closed defect (fixed)

configuration reload fails with stealth on

Reported by: siim@… Owned by: rainer
Priority: major Milestone: 2.5.1
Component: main Version:
Keywords: Cc:


i was running samhain with stealth (stegano config file, renamed binaries, hidden strings) and after doing a /etc/init.d/samhain reload the daemon started reporting it has no files to check. I have since stopped using stegano config file, and it (no files to check upon reload) does not occur any more.

Change History (5)

comment:1 Changed 13 years ago by rainer

Resolution: invalid
Status: newclosed

Can't reproduce this. Not enough details given, also. I'd guess the config file has been corrupted (stego not properly embedded?)

comment:2 Changed 13 years ago by windo

Resolution: invalid
Status: closedreopened

what details do you need? the configuration files were definitely not corrupted (it was happening consistently and samhain was able to load the file upon restart)

comment:3 Changed 13 years ago by rainer

A bug report needs to include the steps to reproduce the issue, possibly starting from a freshly unpacked source. You did not even provide your configure options.

comment:4 Changed 13 years ago by siim@…


./configure --prefix=/usr --mandir=\$${prefix}/share/man \

--with-config-file=/usr/share/doc/$(NEWNAME)/$(NEWNAME).ps.gz \ --with-state-dir=/var/lib/$(NEWNAME) \ --enable-network=no --enable-static --enable-install-name=$(NEWNAME) \ --enable-stealth=x --enable-suidcheck --disable-mail \ --enable-base=y,z \ --with-pid-file=/var/run/$(NEWNAME)/$(NEWNAME).pid \ --with-log-file=/var/log/$(NEWNAME)/$(NEWNAME).log

these were the configure options. i tried some versions up to the time i reported the bug, i guess 2.4.4 was the last one. i took out the stealth and base values (x, y, z).

then, hide a configuration to stegano file, start samhain in daemon mode, wait for a while to see that the stegano conf was read and file checks take place, reload the configuration with SIGHUP, and see that this appears in the log (over and over again) and nothing is checked:

Sep 17 00:12:45 testbox Samhain [authpriv.warning] Samhain[32744]: WARN : [2008-09-17T00:12:45+0000] msg=<No files or directories defined for checking>

restart samhain to make sure that the stegano file had not been corrupted and will load fine.

comment:5 Changed 13 years ago by rainer

Milestone: 2.5.1
Resolution: fixed
Status: reopenedclosed

Fixed in changeset [109].

Note: See TracTickets for help on using tickets.