Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Dec 2009 15:21:12 +0000 (GMT)
From:      Iain Hibbert <plunky@rya-online.net>
To:        Maksim Yevmenkin <maksim.yevmenkin@gmail.com>
Cc:        freebsd-bluetooth@freebsd.org
Subject:   obexapp access to pwd.db
Message-ID:  <1260285672.503038.542.nullmailer@galant.ukfsn.org>
In-Reply-To: <bb4a86c70912011525n56cf9187wfecd230daa3c9d1e@mail.gmail.com>
References:  <20091201125054.44a00147@zelz27> <1259694948.961003.27487.nullmailer@galant.ukfsn.org> <1259695873.086896.28523.nullmailer@galant.ukfsn.org> <bb4a86c70912011525n56cf9187wfecd230daa3c9d1e@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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 :)





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