General solution for name space pollution issues
tags 661519 pending
thanks
Hi,
I commited in SVN for PAML a solution which moves all binaries to
/usr/lib/debian-med/bin
and symlinked all but the evolver binary to /usr/bin. Evolver is in
/usr/bin symlinked to paml-evolver. I'm quite uncertain about the
choice of the prefix and whether it might make sense to prefix all
binaries rather than one or finally using a wrapper called paml. But
these details can (and should) be dicsussed here on the Debian Med
mailing list. For the moment I would like to draw your attention to the
other part of the solution I would like to suggest:
Tweaking the PATH for Debian Med users:
1. Make paml Depends: med-config
2. Let med-config drop a script in /etc/profile.d which
sets PATH="/usr/lib/debian-med/bin:$PATH"
if debconf question "Do you want to prefer Debian Med
executables prefered over other ones <bla bla - give
reasons + warning>"
So if the local admin answers this question with yes all original
executable names will be restored fully transparently for the user. I
would like to implement this before the Freeze and we should try to
update as much relevant packages as possible following this scheme.
Perhaps it makes sense to find a common way what symlinks / wrapper
to use in /usr/bin but this is a separate decision which is somehow
orthogonal to the solution to move all name space pollution affected
executables to /usr/lib/debian-med/bin.
What do you think?
Kind regards
Andreas.
--
http://fam-tille.de
Reply to: