Subject: Re: java on current?
To: None <pkgsrc-users@netbsd.org>
From: Christos Zoulas <christos@astron.com>
List: pkgsrc-users
Date: 12/18/2006 04:00:19
In article <20061218135116.161a6a45@garlique.algebras.org>,
George Michaelson  <ggm@apnic.net> wrote:

>sure. Here is the kdump output over the ktrace of java -jar
> 25114      1 java     CALL  readlink(0x80555e1,0xbfbfb710,0xfff)
> 25114      1 java     NAMI  "/emul/linux/proc/self/exe"
> 25114      1 java     NAMI  "/emul/linux"
> 25114      1 java     NAMI  "/emul/linux/proc/self/exe"
> 25114      1 java     RET   readlink 1

This is the problem. readlink returns only 1 which means it returns /
I recall that there was a problem with procfs permissions recently,
has that been fixed? Also if you can ^Z the java process before it exits,
you can cd to /emul/linux/proc/<java-pid> and ls -l exe and see what
it says.

christos