Bug#317513: kaffe: ELOOP because of multiple alternatives when /usr is a symlink
Yann Dirson
Yann Dirson <ydirson@altern.org>, 317513@bugs.debian.org
Sat Jul 9 15:55:05 UTC 2005
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 ?
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,
--
Yann Dirson <ydirson@altern.org> |
Debian-related: <dirson@debian.org> | Support Debian GNU/Linux:
| Freedom, Power, Stability, Gratis
http://ydirson.free.fr/ | Check <http://www.debian.org/>
More information about the pkg-java-maintainers
mailing list