Date: Wed, 10 Jul 2002 13:38:04 -0400 From: Don Bowman <don@sandvine.com> To: "'freebsd-stable@freebsd.org'" <freebsd-stable@freebsd.org> Subject: linux JRE 1.4 under linux compatibility only runs as root, 'statf s' is culprit Message-ID: <FE045D4D9F7AED4CBFF1B3B813C8533767670E@mail.sandvine.com>
next in thread | raw e-mail | index | archive | help
I know several other people have run into the problem where the (Linux) JDK or JRE 1.4 will only run as root. Tracing this with 'ktrace', the issue is a statfs call, which returns 'RESTART'. I don't see that errno listed on the man page for statfs, I guess it must come from the linux_statfs in compat/linux. 48927 java CALL statfs(0xbf1f) 48927 java RET statfs RESTART I don't see a NAMEI call before it, I was kind of expecting to given the code. I can't figure out what filesystem it might be doing this on. $ ldd /tmp/jre/j2re1.4.0_01/bin/java /tmp/jre/j2re1.4.0_01/bin/java: libpthread.so.0 => /lib/libpthread.so.0 (0x28066000) libdl.so.2 => /lib/libdl.so.2 (0x2807d000) libc.so.6 => /lib/libc.so.6 (0x28081000) /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x2804d000) I'm running linux_base-7.1. Does anyone have a suggestion for how to debug this? This is on 4.6-STABLE. Is anyone aware of a workaround for this issue? I'd like to be able to run the jre as non-root. --don To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?FE045D4D9F7AED4CBFF1B3B813C8533767670E>