From owner-freebsd-gnome@FreeBSD.ORG Fri Mar 28 19:46: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 93CAE106564A for ; Fri, 28 Mar 2008 19:46:54 +0000 (UTC) (envelope-from marcus@marcuscom.com) Received: from creme-brulee.marcuscom.com (penna-pt.tunnel.tserv1.fmt.ipv6.he.net [IPv6:2001:470:1f00:ffff::1279]) by mx1.freebsd.org (Postfix) with ESMTP id DFF438FC1F for ; Fri, 28 Mar 2008 19:46: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 m2SJmqXb036976; Fri, 28 Mar 2008 15:48:52 -0400 (EDT) (envelope-from marcus@marcuscom.com) From: Joe Marcus Clarke To: Kevin Downey In-Reply-To: <1d3ed48c0803281238q4b60eb43i37600aa2a7c40543@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> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-Ap1Ia5dFIJNZXrzRMwga" Organization: MarcusCom, Inc. Date: Fri, 28 Mar 2008 15:46:51 -0400 Message-Id: <1206733611.2392.85.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: 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 19:46:54 -0000 --=-Ap1Ia5dFIJNZXrzRMwga Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Fri, 2008-03-28 at 12:38 -0700, Kevin Downey wrote: > On Fri, Mar 28, 2008 at 12:30 PM, Joe Marcus Clarke > wrote: > > On Fri, 2008-03-28 at 12:29 -0700, Kevin Downey wrote: > > > On Fri, Mar 28, 2008 at 11:12 AM, Joe Marcus Clarke > > > wrote: > > > > On Fri, 2008-03-28 at 18:49 +0100, Stefan Hauser wrote: > > > > > > XDG_SESSION_COOKIE should be set by gdm. You can do a ps -au= wwex and > > > > > > grep for gnome-session to see that it's being set in the envi= ronment. > > > > > > > > > > tadaaa.. i did the ps and saw nothing.. there was no procfs mou= ted. > > > > > now with /proc, everything runs as expected... > > > > > > > > Yeah, procfs IS REQUIRED for GNOME. Sucks, I know, but until we = have a > > > > replacement for /proc/PID/file on all supported versions of FreeB= SD, > > > > we're stuck with it. > > > > > > > > Joe > > > > > > > > > > so procfs is required for GNOME, > > > That means you have to choose between java and gnome? > > > > I use both on my workstation with /proc mounted and I don't have a > > problem. Where does it state that the /proc and Java don't mix? > > > > > > > > Joe > > > > -- > > PGP Key : http://www.marcuscom.com/pgp.asc > > >=20 > I forgot where I read it, but I was having trouble getting java to > work and I googled and found a site that said they don't mix. When I > unmounted /proc java started working. >=20 >=20 > kpd@eskarina ~/clojure_20080213% java -version > java version "1.5.0_14-p8" > Java(TM) 2 Runtime Environment, Standard Edition (build > 1.5.0_14-p8-root_28_feb_2008_23_34) > Java HotSpot(TM) Server VM (build 1.5.0_14-p8-root_28_feb_2008_23_34, > mixed mode) > kpd@eskarina ~/clojure_20080213% java -cp > /usr/local/share/java/classes/jline.jar:clojure.jar > jline.ConsoleRunner clojure.lang.Repl > Clojure > user=3D> (+ 1 3) > 4 > user=3D> > kpd@eskarina ~/clojure_20080213% sudo mount -t procfs null /proc > kpd@eskarina ~/clojure_20080213% java -cp > /usr/local/share/java/classes/jline.jar:clojure.jar > jline.ConsoleRunner clojure.lang.Repl > Error: could not find libjava.so > Error: could not find Java 2 Runtime Environment. > zsh: exit 2 java -cp /usr/local/share/java/classes/jline.jar:clojure.= jar > kpd@eskarina ~/clojure_20080213% I've never seen this. I'm running RELENG_7: java version "1.5.0_14-p8" Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_14-p8-marcus_23_feb_2008_12_31) Java HotSpot(TM) Server VM (build 1.5.0_14-p8-marcus_23_feb_2008_12_31, mixed mode) % cat hello.java public class hello { public static void main(String argv[]) { System.out.println("hello"); } } % javac hello.java % java -cp /home/marcus hello hello % mount ... procfs on /proc (procfs, local) ... 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 interested to see what your ktrace -d -i looks like. Joe --=20 PGP Key : http://www.marcuscom.com/pgp.asc --=-Ap1Ia5dFIJNZXrzRMwga 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) iEYEABECAAYFAkftSysACgkQb2iPiv4Uz4eRJACffUEbzTLdgQjMXB0CxrYqVn5j GwgAnAjdRGsq46V3z8RjHrStcYUZ8jDH =aNED -----END PGP SIGNATURE----- --=-Ap1Ia5dFIJNZXrzRMwga--