On Mon, Aug 24, 2009 at 10:28:27AM +0100, Darren J Moffat wrote: > The concept is very much needed. I like the environment variable > override and particularly the per command override. > > So now we potentially have three wrapper scripts around a given program: > > 1) Select the version > 2) Select the "best optimised version" (not just 32 vs 64) > 3) Run with different creds (pfexec) > > So how do we start /usr/bin/foo if all three are needed ? > > pfexec verexec isaexec /usr/bin/foo > pfexec isaexec verexec /usr/bin/foo > ...
Whichever one isn't expected to be last would have to be aware of the others. > Note the order really does matter, particularly for pfexec since it > needs to lookup the exec_attr(4) database. Currently that is done by > pfexec itself but in the near future (PSARC 2009/377) the lookup will be > done by the kernel but /usr/bin/pfexec will still exist. Yeah, but you'll be able to avoid using pfexec, so you could say we're down to just two: verexec and isaexec. Either way, why not combine them into one "special" program? Nico -- _______________________________________________ pkg-discuss mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/pkg-discuss
