Because of the chdir in server_daemonize, pidfiles and statefiles that
aren't absolute are written relative to /. But configfiles are read
relative to the starting directory. I don't think consistent or to be
expected by Joe Sysadmin...

On Fri, 2006-09-08 at 01:57 -0700, Aaron Stone wrote:
> On Fri, 2006-09-08 at 09:20 +0200, Paul J Stevens wrote:
> > Aaron Stone wrote:
> > > I've zapped the duplicated code in the four daemon mains and created a
> > > new file called serverparent.c that handles the getopt code, the usage
> > > help, and starting up the dropped privilege server.
> > 
> > Aaron, it looks like at least the -f switch is being ignored atm. When I
> > do ./dbmail-imapd -n -f /etc/dbmail/dbmail-test.conf it still wants to
> > open /etc/dbmail/dbmail.conf
> 
> Fixed. Moved some code only used by the serverparent functions into
> serverparent.c, made it static, put it in the right order.
> 
> > I'm not quite sure the scoreboard is very functional yet. It's mostly a
> > static stub, and *only* used for the pool code. If we want to store more
> > stuff it'll need some serious refactoring.
> 
> It's at least enough right now to know if people have gotten off the
> service, which is something I've really needed to avoid people yelling
> from down the hall :-P
> 
> I would like to see a lot more connection information kept someplace
> accessible, so that dbmail-top could show who is connected, from where,
> since when, last operation, etc. No rush on that right now though.
> 
> Aaron
> 
> _______________________________________________
> Dbmail-dev mailing list
> [email protected]
> http://twister.fastxs.net/mailman/listinfo/dbmail-dev

Reply via email to