Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 May 2009 18:15:06 +0200 (CEST)
From:      Wojciech Puchar <wojtek@wojtek.tensor.gdynia.pl>
To:        Oskar Eyb <fotoo@gmx.de>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: locking attempts fails in FreeBSD (jail)
Message-ID:  <alpine.BSF.2.00.0905291811250.12347@wojtek.tensor.gdynia.pl>
In-Reply-To: <20090529143239.60630@gmx.net>
References:  <20090529074443.167820@gmx.net> <20090529140626.60670@gmx.net> <alpine.BSF.2.00.0905291615270.11866@wojtek.tensor.gdynia.pl> <20090529143239.60630@gmx.net>

next in thread | previous in thread | raw e-mail | index | archive | help
>> other question - what filesystem do you use for directory when locks are
>> placed?
>
>
> in-jail# mount
> /dev/mirror/gm0s1d on / (ufs, local, soft-updates)

me too UFS. no other questions, and no other ideas. sorry.

> procfs on /var/jails/mail/proc (procfs, local)
> devfs on /var/jails/mail/dev (devfs, local)
> /usr on /var/jails/mail/usr (nullfs, local, read-only)

looks like you administer jails the same way as me (/usr shared). 
Probably your /usr/local/etc is a symlink to have different configs both 
places. But i will ask - is it?

AND - make sure dovocot-deliver does not try writing anything into /usr.
Most programs don't but some do, if so you have to move that directory out 
of /usr and make symlink. squid proxy do this.

> I tested dovecot/ssl-build-param on another server: in host ok, in all jails the same error.  ?!?!?

The only idea left is that it writes to /usr someplace.

BTW do you need /proc in jails. i never used it, maybe it doesn't work 
properly in jail, and ssl-build-param make use it when it's available.
But for sure it do run without /proc mounted.
what version of dovecot you use?

mine is
dovecot-1.1.11



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.0905291811250.12347>