Date: Wed, 10 Jul 2002 17:05:46 -0400 From: Don Bowman <don@sandvine.com> To: "'freebsd-stable@freebsd.org'" <freebsd-stable@freebsd.org> Subject: RE: linux JRE 1.4 under linux compatibility only runs as root, 's tatf s' is culprit Message-ID: <FE045D4D9F7AED4CBFF1B3B813C85337676719@mail.sandvine.com>
next in thread | raw e-mail | index | archive | help
Don Bowman wrote: > 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 OK, after having found out that 'ktrace' isn't appropriate for linux executables (use truss or linux_kdump), I found that the culprit is actually: linux_sched_getscheduler(0xcb18) ERR#1 'Operation not permitted' when root, this is permitted. When non-root, this is not-permitted. Suggestions? Is this a problem with the linux emulation? Or is there a permissions difference between linux & freebsd here? --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?FE045D4D9F7AED4CBFF1B3B813C85337676719>