From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1FdWNo-0001ME-1w for garchives@archives.gentoo.org; Tue, 09 May 2006 17:52:28 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.6/8.13.6) with SMTP id k49HpQfC027430; Tue, 9 May 2006 17:51:26 GMT Received: from banta-im.com (roy-rogers.nfic.com [208.231.230.100]) by robin.gentoo.org (8.13.6/8.13.6) with ESMTP id k49HpOvO020976 for ; Tue, 9 May 2006 17:51:25 GMT Received: from by banta-im.com (8.9.3/8.9.3) with ESMTP id NAA11745; Tue, 9 May 2006 13:51:23 -0400 (EDT) Message-ID: <4460D69B.4050903@gentoo.org> Date: Tue, 09 May 2006 13:51:23 -0400 From: Joshua Nichols User-Agent: Mail/News 1.5 (X11/20060414) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-java@gentoo.org MIME-Version: 1.0 To: Caster CC: gentoo-java Subject: Re: [gentoo-java] eselect java broken? References: <445C891A.5030008@ub.uu.se> <445DEFA1.30307@gentoo.org> <445F213A.4010503@ub.uu.se> <445FC6EB.3080705@seznam.cz> <445FE148.5060502@gentoo.org> <44607634.90607@seznam.cz> <44608ECB.1070904@gentoo.org> <44609437.50703@seznam.cz> <4460C81C.1060702@seznam.cz> <4460D212.402@seznam.cz> In-Reply-To: <4460D212.402@seznam.cz> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Archives-Salt: 56af64af-26cc-4e21-a426-0ad274186874 X-Archives-Hash: 99924bd9965a33d4ec3d942bba5cf790 Caster wrote: > OK tried to look at it myself, and the problems mentioned were caused > just by improper paths in the beginning of > /usr/share/eselect/modules/java.eselect > Fixed them, also fixed the "eselect java list" (didn't mark user-vm > properly) - see the attached patch. Listing and changing is now in sync > with java-config-2. > > You forgot to attach the patch :) But it's moot, since I just barely fixed it before seeing your message. > But then I've run into another problem. It allows root to set user-vm as > well as system-vm, while java-config-2 doesn't. java-config-2 then lists > it as active with java-config -L (probably causes other problems too). > There's no way to unset it but removing /root/.gentoo/java-config-2 > So, eselect java shouldn't list or allow changing of user-vm for root. > Haven't tried to fix that. > > Right you are. It should die now if you try to set a user vm as root. On a related note, it seems that the eselect module sets stuff by hand, ie by creating symlinks and whatnot. I'm not sure if this was intentional, or if it should be using java-config to do this instead. In any event, thanks for the report. This is exactly the stuff I want to be found and fixed before we merge the migration-overlay into the main tree. - Josh -- gentoo-java@gentoo.org mailing list