#109 closed defect (fixed)
configuration reload fails with stealth on
Reported by: | Owned by: | rainer | |
---|---|---|---|
Priority: | major | Milestone: | 2.5.1 |
Component: | main | Version: | |
Keywords: | Cc: |
Description
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 by , 16 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
comment:2 by , 16 years ago
Resolution: | invalid |
---|---|
Status: | closed → reopened |
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 by , 16 years ago
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 by , 16 years ago
NEWNAME=samhain
./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 by , 16 years ago
Milestone: | → 2.5.1 |
---|---|
Resolution: | → fixed |
Status: | reopened → closed |
Fixed in changeset [109].
Can't reproduce this. Not enough details given, also. I'd guess the config file has been corrupted (stego not properly embedded?)