OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: /usr/lib/sasl2 failed to open directory

From: Victor Duchovni (Victor.DuchovniMorganStanley.com)
Date: Sat May 26 2007 - 21:44:00 CDT


On Sat, May 26, 2007 at 07:39:19PM -0700, Mark Edwards wrote:

> Updating from postfix 2.3.3 to postfix 2.3.8 on Ubuntu (that's the
> Edgy to Feisty update) I suddenly started getting warnings in the logs:
>
> May 25 15:37:41 mini postfix/smtpd[4735]: looking for plugins in '/
> usr/lib/sasl2', failed to open directory, error: No such file or
> directory
>
> Its clear that this is because certain processes are chrooted and
> the /var/spool/postfix directory doesn't contain any link to /usr/lib/
> sasl2. If I remove the chroots from master.cf the problem goes away,
> however I don't particularly like that solution. If I `ln -s /usr/
> lib/sasl2 /var/spool/postfix/usr/lib/` I get an error about too many
> levels of symbolic links.
>

Neither symbolic links, nor hard links (which work, but create security
issues) are the right answer. You must *copy* any required files into
the chroot jail.

--
        Viktor.

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the "Reply-To" header.

To unsubscribe from the postfix-users list, visit
http://www.postfix.org/lists.html or click the link below:
<mailto:majordomopostfix.org?body=unsubscribe%20postfix-users>

If my response solves your problem, the best way to thank me is to not
send an "it worked, thanks" follow-up. If you must respond, please put
"It worked, thanks" in the "Subject" so I can delete these quickly.