From owner-freebsd-hackers@FreeBSD.ORG Tue May 20 04:06:06 2003 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8288A37B401 for ; Tue, 20 May 2003 04:06:06 -0700 (PDT) Received: from mail.icomag.de (ns.icomag.de [195.227.115.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6FE5B43F85 for ; Tue, 20 May 2003 04:06:05 -0700 (PDT) (envelope-from bgd@icomag.de) Received: by mail.icomag.de (Postfix, from userid 1019) id 6B85823043; Tue, 20 May 2003 13:06:04 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by mail.icomag.de (Postfix) with ESMTP id 6A8AB23042; Tue, 20 May 2003 13:06:04 +0200 (CEST) Date: Tue, 20 May 2003 13:06:04 +0200 (CEST) From: Bogdan TARU X-X-Sender: To: Dag-Erling Smorgrav In-Reply-To: Message-ID: <20030520130318.T78526-100000@fw.office.icom> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-hackers@FreeBSD.ORG Subject: Re: linux binary blues X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 May 2003 11:06:06 -0000 Hi, The /var/run directory has the same permissions (engine.pid file is created, after all). Not the opening of the file, but rather the call to 'semget' (when trying to lock the pid file). bogdan ---------------------------- iCom Media AG Kirchweg 36 Koln, 50858 Germany Phone: +49-(0)221-485-689-16 Fax : +49-(0)221-485-689-20 Mobile:+49-(0)173-269-76-62 On Tue, 20 May 2003, Dag-Erling Smorgrav wrote: > Bogdan TARU writes: > > So, again, any ideas why this linux binary can get a lock on the > > '/var/run/engine.pid' file under a freebsd 4.8 jail, and cannot on a 4.7 > > jail? > > Check that the /var/run permissions are the same on both; delete the > pid file before starting the process. > > DES > -- > Dag-Erling Smorgrav - des@ofug.org >