Bug 110019 - java/jdk15 - WITH_JAIL issues
Summary: java/jdk15 - WITH_JAIL issues
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Greg Lewis
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-06 23:40 UTC by edwin
Modified: 2007-03-07 18:40 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description edwin 2007-03-06 23:40:06 UTC
The ports Makefile has this:

.if defined(WITH_JAIL)#{
	@if [ "`/sbin/mount | grep ^linprocfs`" = "" ]; \
	then \
		${ECHO_MSG} "ERROR: You must have LINPROCFS mounted before" ; \
		${ECHO_MSG} "starting to build the native JDK 1.5.0." ; \
		${ECHO_MSG} "" ; \
		${ECHO_MSG} "You may do it with the following commands:" ; \
		${ECHO_MSG} "" ; \
		${ECHO_MSG} "# kldload linprocfs" ; \
		${ECHO_MSG} "" ; \
		${ECHO_MSG} "and" ; \
		${ECHO_MSG} "" ; \
		${ECHO_MSG} "# mount -t linprocfs linprocfs /compat/linux/proc" ; \
		${ECHO_MSG} "" ; \
		exit 1 ; \
	fi
.endif#}

which as far as I can see, should be tested when the build is done
*outside* a jail. Inside a jail the port should check if the file
/compat/linux/proc/self exists (as a symlink).
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2007-03-06 23:40:21 UTC
Responsible Changed
From-To: freebsd-ports-bugs->glewis

Over to maintainer
Comment 2 dfilter service freebsd_committer freebsd_triage 2007-03-07 18:34:07 UTC
glewis      2007-03-07 18:34:00 UTC

  FreeBSD ports repository

  Modified files:
    java/jdk15           Makefile 
  Log:
  . Fix the sense of a WITH_JAIL check to match that in the jdk14 port -
    we _don't_ want to check for linprocfs in a jail.
  
  PR:             110019
  
  Revision  Changes    Path
  1.124     +1 -1      ports/java/jdk15/Makefile
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 3 Greg Lewis freebsd_committer freebsd_triage 2007-03-07 18:34:37 UTC
State Changed
From-To: open->closed

Reversed the logic to match the jdk14 port.  Thanks!