From owner-freebsd-questions@FreeBSD.ORG Fri May 29 16:15:12 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D94B7106564A for ; Fri, 29 May 2009 16:15:12 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [IPv6:2001:4070:101:2::1]) by mx1.freebsd.org (Postfix) with ESMTP id EF7E28FC20 for ; Fri, 29 May 2009 16:15:11 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (localhost [IPv6:::1]) by wojtek.tensor.gdynia.pl (8.14.3/8.14.3) with ESMTP id n4TGF6wf012512; Fri, 29 May 2009 18:15:06 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.3/8.14.3/Submit) with ESMTP id n4TGF6St012509; Fri, 29 May 2009 18:15:06 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Fri, 29 May 2009 18:15:06 +0200 (CEST) From: Wojciech Puchar To: Oskar Eyb In-Reply-To: <20090529143239.60630@gmx.net> Message-ID: References: <20090529074443.167820@gmx.net> <20090529140626.60670@gmx.net> <20090529143239.60630@gmx.net> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-questions@freebsd.org Subject: Re: locking attempts fails in FreeBSD (jail) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 May 2009 16:15:13 -0000 >> 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