OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: mysql support won't work--but no errors

From: lmh (lhdex.com)
Date: Thu Oct 02 2003 - 10:34:54 CDT


Victor.Duchovnimorganstanley.com wrote:

>On Thu, 2 Oct 2003, lmh wrote:
>
>
>
>>Oct 1 20:08:12 paris postfix/cleanup[28793]: warning: connect to mysql server localhost: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock'
>>
>>
>
>"cleanup" cannot connect to mysql.
>
>
>
>>Here are the lines from master.cf - I am pretty sure that I am not chrooted:
>>
>># ==========================================================================
>># service type private unpriv chroot wakeup maxproc command + args
>># (yes) (yes) (yes) (never) (100)
>># ==========================================================================
>>smtp inet n - n - - smtpd
>>
>>
>
>"smtpd" is not chrooted.
>
>
>
>>cleanup unix n - y - 0 cleanup
>>
>>
>>
>
>"cleanup" is chrooted. Pay attention to details in the logs!
>
>
>
My bad (or whatever the mea culpa phrase is these days). I've set the
"chroot" column to "n" for all of the entries, and now Postfix starts
correctly.

Newbie question: do I care if any of these processes are not chrooted?
Why does the default master.cf file chroot some but not all of the
processes?

Thanks for all the help here.
/Larry Honig