I fixed this yesterday, but my git/svn merging was messed up. It there now.
Aaron Stone wrote:
> Please file a bug; there are a couple problems in the new daemonizing
> code, and some planned changes to keep track of.
>
> Aaron
>
> On Thu, 2006-03-16 at 03:54 +0300, Oleg Lapshin wrote:
>
>>Hello
>>
>>There is such lines in (for example) imapd.c:
>> SetMainSigHandler();
>>
>> if (no_daemonize) {
>> get_config(&config);
>> StartCliServer(&config);
>> config_free();
>> g_mime_shutdown();
>> return 0;
>> }
>>
>> server_daemonize(&config);
>>
>> /* We write the pidFile after daemonize because
>> * we may actually be a child of the original process. */
>> pidfile_create(pidFile, getpid());
>>
>> get_config(&config);
>> do {
>>
>>and when no_daemonize is not set,
>>server_daemonize is called with empty config variable
>>
>>As result I have file with name '$' in / (root of FS)
>>
>>Moving get_config(&config); before server_daemonize(&config);
>>solve this problem.
>>
>>The same in lmtpd.c and timsieved.c
>>
>
>
> _______________________________________________
> Dbmail-dev mailing list
> [email protected]
> http://twister.fastxs.net/mailman/listinfo/dbmail-dev
>
--
________________________________________________________________
Paul Stevens paul at nfg.nl
NET FACILITIES GROUP GPG/PGP: 1024D/11F8CD31
The Netherlands________________________________http://www.nfg.nl