Joshua Nichols wrote: > You forgot to attach the patch :) > Damn :) Here it is. > 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. > Using java-config to set stuff would be easy. To list stuff, it would need to parse its output. I'm not even sure if an user can determine system-vm with java-config. Maybe use the python functions that java-config uses? > 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. > Glad to help :) Caster