From: Joshua Nichols <nichoj@gentoo.org>
To: Caster <cast3r@seznam.cz>
Cc: gentoo-java <gentoo-java@lists.gentoo.org>
Subject: Re: [gentoo-java] eselect java broken?
Date: Tue, 09 May 2006 13:51:23 -0400 [thread overview]
Message-ID: <4460D69B.4050903@gentoo.org> (raw)
In-Reply-To: <4460D212.402@seznam.cz>
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
next prev parent reply other threads:[~2006-05-09 17:52 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-05-06 11:31 [gentoo-java] Feedback on migration and experimental overlay Uwe Klosa
2006-05-07 13:01 ` Joshua Nichols
2006-05-08 10:45 ` Uwe Klosa
2006-05-08 22:32 ` Caster
2006-05-09 0:24 ` Joshua Nichols
2006-05-09 11:00 ` Caster
2006-05-09 12:44 ` Joshua Nichols
2006-05-09 13:08 ` Caster
2006-05-09 16:49 ` [gentoo-java] eselect java broken? Caster
2006-05-09 17:30 ` Joshua Nichols
2006-05-09 17:32 ` Caster
2006-05-09 17:51 ` Joshua Nichols [this message]
2006-05-09 18:03 ` Caster
2006-05-10 13:05 ` Caster
2006-05-10 13:14 ` Joshua Nichols
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4460D69B.4050903@gentoo.org \
--to=nichoj@gentoo.org \
--cc=cast3r@seznam.cz \
--cc=gentoo-java@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox