From owner-freebsd-bluetooth@FreeBSD.ORG Tue Dec 8 16:40:11 2009 Return-Path: Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 692DE106566B for ; Tue, 8 Dec 2009 16:40:11 +0000 (UTC) (envelope-from plunky@rya-online.net) Received: from smtp6.freeserve.com (smtp5.freeserve.com [193.252.22.151]) by mx1.freebsd.org (Postfix) with ESMTP id 2A2DD8FC17 for ; Tue, 8 Dec 2009 16:40:10 +0000 (UTC) Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf3502.me.freeserve.com (SMTP Server) with ESMTP id 3065F700014C; Tue, 8 Dec 2009 17:40:09 +0100 (CET) Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf3502.me.freeserve.com (SMTP Server) with ESMTP id 23DD97000142; Tue, 8 Dec 2009 17:40:09 +0100 (CET) Received: from rya-online.net (unknown [89.194.134.140]) by mwinf3502.me.freeserve.com (SMTP Server) with SMTP id A33BE700014C; Tue, 8 Dec 2009 17:40:07 +0100 (CET) X-ME-UUID: 20091208164007668.A33BE700014C@mwinf3502.me.freeserve.com Received: (nullmailer pid 255 invoked by uid 1000); Tue, 08 Dec 2009 15:21:12 -0000 Date: Tue, 8 Dec 2009 15:21:12 +0000 (GMT) To: Maksim Yevmenkin In-Reply-To: References: <20091201125054.44a00147@zelz27> <1259694948.961003.27487.nullmailer@galant.ukfsn.org> <1259695873.086896.28523.nullmailer@galant.ukfsn.org> User-Agent: Alpine 2.00 (NEB 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Message-Id: <1260285672.503038.542.nullmailer@galant.ukfsn.org> From: Iain Hibbert Cc: freebsd-bluetooth@freebsd.org Subject: obexapp access to pwd.db X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Dec 2009 16:40:11 -0000 Hi Max, one more thing with obexapp - I have it running in server mode here, command line: /usr/pkg/bin/obexapp -s -S -C 10 -r /home/plunky/obex -u plunky which works well - I can copy files to and from my obex directory as I like locally and remotely. A thing I recently noticed is that when my phone connects, I get obexapp[134]: /etc/pwd.db: No such file or directory in the system log. Naturally, this is because obexapp is running in a chroot and there is no password database inside.. I'm not sure if this is new behaviour but I don't recall seeing it previously. I guess this relates to getpwnam or getpwuid in server.c, is it a problem? iain PS there is also a fork()/daemon() cascade in transport.c I think you removed the unnecessary fork() from main previously? PPS sorry no time to investigate this stuff here just now but I thought I'd let you know :)