pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: java on current?



In article <20061218135116.161a6a45%garlique.algebras.org@localhost>,
George Michaelson  <ggm%apnic.net@localhost> 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




Home | Main Index | Thread Index | Old Index