crosser at rol
Feb 14, 2004, 3:15 AM
Post #3 of 3
On Fri, 2004-02-13 at 23:02, Tomasz Kojm wrote:
> On Fri, 13 Feb 2004 14:47:26 +0000 (GMT)
> Andy Fiddaman <clam [at] fiddaman> wrote:
> > Is there any specific reason that clamd does a chdir("/") when
> > daemonising? It makes it a bit tricky for me to collect any core files
> Without that you will be unable to umount a filesystem you have started
> clamd on.
> > it creates(unless I move to a global core file area).
> > I did want to do a "cd /var/run/clamav && /opt/clamav/bin/clamd"
> > because I've had a couple of crashes since upgrading to 0.66 that I
> > wanted to look at.
> There will be a --debug option that will disable the chdir().
Maybe it would be better to have a configuration option
"working-directory", with default value of "/"?