NetBSD Problem Report #45698

From root@hosting.dragas.org  Thu Dec  8 18:11:58 2011
Return-Path: <root@hosting.dragas.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by www.NetBSD.org (Postfix) with ESMTP id 6F92063D735
	for <gnats-bugs@gnats.NetBSD.org>; Thu,  8 Dec 2011 18:11:58 +0000 (UTC)
Message-Id: <20111208170402.187161F3A3A@hosting.dragas.org>
Date: Thu,  8 Dec 2011 18:04:01 +0100 (CET)
From: stefano@dragas.it
Reply-To: stefano@dragas.it
To: gnats-bugs@gnats.NetBSD.org
Subject: lang/openjdk7 and lang/openjdk7-bin do not correctly set a variable in config files
X-Send-Pr-Version: 3.95

>Number:         45698
>Category:       pkg
>Synopsis:       lang/openjdk7 and lang/openjdk7-bin do not correctly set a variable in config files, leading to a "parked" state of the java process if /dev/urandom is needed
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Dec 08 18:15:01 +0000 2011
>Last-Modified:  Sun Mar 30 20:05:00 +0000 2014
>Originator:     Stefano Marinelli
>Release:        NetBSD 5.1_STABLE
>Organization:
>Environment:
System: NetBSD hosting.dragas.org 5.1_STABLE NetBSD 5.1_STABLE (XEN3PAE_DOMU) #0: Wed Dec 7 18:11:34 CET 2011 root@hosting.dragas.org:/usr/obj/sys/arch/i386/compile/XEN3PAE_DOMU i386
Architecture: i386
Machine: i386
>Description:
	Some java apps (OpenFire, in this specific situation) seem to get stuck in rndread state. It seems there's a configuration problem of openjdk7 and this leads to a wrong call to /dev/urandom.
	It has already been reported (and fix has been suggested) here: http://mail-index.netbsd.org/netbsd-java/2009/09/30/msg000191.html
>How-To-Repeat:
	Just launch a java application that needs to access a random data generator
>Fix:
	The fix has been suggested in the above link. I confirm it works (at least when trying to launch OpenFire)

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->tnn
Responsible-Changed-By: wiz@NetBSD.org
Responsible-Changed-When: Thu, 08 Dec 2011 22:52:26 +0000
Responsible-Changed-Why:
Over to openjdk7 maintainer.


Responsible-Changed-From-To: tnn->pkg-manager
Responsible-Changed-By: wiz@NetBSD.org
Responsible-Changed-When: Fri, 01 Feb 2013 22:54:08 +0000
Responsible-Changed-Why:
Back to role account.


From: Ryo ONODERA <ryo_on@yk.rim.or.jp>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/45698: lang/openjdk7 and lang/openjdk7-bin do not
 correctly set a variable in config files
Date: Mon, 31 Mar 2014 03:45:57 +0900 (JST)

 From: Ryo ONODERA <ryo_on@yk.rim.or.jp>, Date: Mon, 31 Mar 2014 02:50:07 +0900 (JST)

 > Hi,
 > 
 > According to OpenJDK 7 code,
 > http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/file/0c2d8466bc29/src/share/classes/sun/security/provider/SunEntries.java#l255
 > "file:/dev/random" or "file:/dev/urandom" is correct.
 > They are not start with file:///.

 Sorry I have wrong subject and my comment is not sent to you.

 --
 Ryo ONODERA // ryo_on@yk.rim.or.jp
 PGP fingerprint = 82A2 DC91 76E0 A10A 8ABB  FD1B F404 27FA C7D1 15F3

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.