Bug#317513: kaffe: ELOOP because of multiple alternatives when /usr is a symlink

Arnaud Vandyck Arnaud Vandyck <avdyk@debian.org>, 317513@bugs.debian.org
Tue Jul 12 11:39:16 UTC 2005


Yann Dirson wrote:
> On Sat, Jul 09, 2005 at 02:31:12PM +0200, Wolfgang Baer wrote:
> 
>>This is just an idea and I don't know if this is allowed:
>>
>>/usr/bin/jar -> /etc/alternatives/jar
>>/etc/alternatives/jar -> /etc/alternatives/kaffe-system/bin/jar
>>/etc/alternatives/kaffe-system -> /usr/lib/kaffe/{jthreads,pthreads}
>>
>>This would only need 3 dereferences. Is it allowed to link an
>>alternative to another alternative ?

Good idea Wolfgang.

> That looks like a good idea.  I feared the /etc/alternatives/
> directory would be considered internal to the alternatives system (in
> which case we would have to rely on update-alternative itself to
> handle the cascading), but since it is in /etc and not in /var, it may
> be allowed to reference it directly.
> 
> OTOH it could have made sense to have update-alternative detect it will be
> pointing to another alternative, and short-circuit one link by itself.
> 
> Best regards,


-- 
   .''`.
  : :' :rnaud
  `. `'
    `-
Java Trap: http://www.gnu.org/philosophy/java-trap.html





More information about the pkg-java-maintainers mailing list