From owner-freebsd-gnome@FreeBSD.ORG Fri Mar 28 21:20:54 2008 Return-Path: Delivered-To: freebsd-gnome@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5FA5B106566B for ; Fri, 28 Mar 2008 21:20:54 +0000 (UTC) (envelope-from marcus@marcuscom.com) Received: from creme-brulee.marcuscom.com (marcuscom-pt.tunnel.tserv1.fmt.ipv6.he.net [IPv6:2001:470:1f00:ffff::1279]) by mx1.freebsd.org (Postfix) with ESMTP id D77D48FC17 for ; Fri, 28 Mar 2008 21:20:53 +0000 (UTC) (envelope-from marcus@marcuscom.com) Received: from [IPv6:2001:470:1f00:2464::4] (shumai.marcuscom.com [IPv6:2001:470:1f00:2464::4]) by creme-brulee.marcuscom.com (8.14.2/8.14.2) with ESMTP id m2SLMqWE037678; Fri, 28 Mar 2008 17:22:52 -0400 (EDT) (envelope-from marcus@marcuscom.com) From: Joe Marcus Clarke To: Kevin Downey In-Reply-To: <1d3ed48c0803281338t64b5619aha094324bcc4c089c@mail.gmail.com> References: <200803281749.m2SHnuDh030298@multi.usr.ch> <1206727968.2392.39.camel@shumai.marcuscom.com> <1d3ed48c0803281229h3bee1c4emae5188107f67de7d@mail.gmail.com> <1206732644.2392.79.camel@shumai.marcuscom.com> <1d3ed48c0803281238q4b60eb43i37600aa2a7c40543@mail.gmail.com> <1206733611.2392.85.camel@shumai.marcuscom.com> <1d3ed48c0803281338t64b5619aha094324bcc4c089c@mail.gmail.com> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-x6Llc69MGCazT1GFs2Z6" Organization: MarcusCom, Inc. Date: Fri, 28 Mar 2008 17:20:51 -0400 Message-Id: <1206739251.2392.97.camel@shumai.marcuscom.com> Mime-Version: 1.0 X-Mailer: Evolution 2.22.0 FreeBSD GNOME Team Port X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,NO_RELAYS autolearn=ham version=3.2.4 X-Spam-Checker-Version: SpamAssassin 3.2.4 (2008-01-01) on creme-brulee.marcuscom.com Cc: freebsd-gnome@freebsd.org Subject: Re: java vs. procfs (was: consolekit/polkit problem) X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Mar 2008 21:20:54 -0000 --=-x6Llc69MGCazT1GFs2Z6 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Fri, 2008-03-28 at 13:38 -0700, Kevin Downey wrote: > > That said, I do see the JVM access /proc/curproc/file. Right after > > this, it tries to access /usr/local/jdk1.5.0/lib/i386/libjava.so which > > fails. But then right after that, it successfully > > accesses /usr/local/jdk1.5.0/jre/lib/i386/libjava.so. I'd be interest= ed > > to see what your ktrace -d -i looks like. > > > > > > > > Joe > > > > -- > > PGP Key : http://www.marcuscom.com/pgp.asc > > > http://www.thelastcitadel.com/lab/java-ktrace.txt > here is the last bit: >=20 >=20 > 7578 java CALL readlink(0x80515e5,0xbfbfdd68,0x400) > 7578 java NAMI "/proc/curproc/file" > 7578 java RET readlink 7 That's weird. readlink() returns a 28-byte path for me (/usr/local/jdk1.5.0/bin/java). When you run "java" what command is that actually running? My "java" points to /usr/local/bin/java which is actually javawrapper.sh. I suspect your "java" is either a link or an alias to something else which is causing the file symlink not to point to the fully-qualified path to the VM. Joe --=20 PGP Key : http://www.marcuscom.com/pgp.asc --=-x6Llc69MGCazT1GFs2Z6 Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.8 (FreeBSD) iEYEABECAAYFAkftYTMACgkQb2iPiv4Uz4cjyQCeOGxoV6CFqXE9K6gKLpppTfPe b5YAn0Md75X6PI6t/EBGOirfoSMnemag =2KbX -----END PGP SIGNATURE----- --=-x6Llc69MGCazT1GFs2Z6--