Daniel Gubser wrote: > Hello Franck Hi Daniel,
[] > This is really funny, it says shutting down psad but nothing happens. > > If I shut the psad daemon down I am not getting any log messages (via > syslog), do you know any way to get some messages when shutting down psad? Use of the "-v" option with the start-stop-daemon command, give us a clue. It takes me a while before looking at the man page but at the end I found the problem :p! [code] Shutting down the psad daemon: No process in pidfile `/var/run/psad/psad.pid' found running; none killed. [/code] And one or two lines above we can see [code] Suppression de psad ... [/code] The mistake is in the pre-removal script psad.prerm that removes the pid files from /var/run/psad/ before the daemon is stopped. That should be done in the post-removal script. I noticed another thing: The pid files are never removed by the initscript. Then, even if psad is not running we can find them in /var/run/psad. Would you like me to open a new post to explain this more thoroughly ? I have struggled with my initscript for fwknop. So if it can help: http://www.dthconnex.com/data/fwknop-server Regards, -- Franck Joncourt http://debian.org - http://smhteam.info/wiki/ Fingerprint : C10E D1D0 EF70 0A2A CACF 9A3C C490 534E 75C0 89FE
signature.asc
Description: OpenPGP digital signature