On 08/ 2/13 11:55 PM, Jim Klimov wrote:
Hello Jonathan,

   I was reading through your release notes (blog entry) here:
http://www.perkin.org.uk/posts/whats-new-in-pkgsrc-2013Q2.html
and stumbled upon this bit of information:

   : Also on OmniOS 'od' is located in a different location
   $ sed -i -e 's,/usr/bin/od,/usr/gnu/bin/od,' /opt/local/bin/startx

   I believe (didn't try yet) that /opt/local/bin/startx is a script;

It is.

wouldn't it be more correct to have it handle setting the proper
environment - either as force-prepending its PATH defaults (and
not using full paths to commands), or perhaps defining variables
for the full paths to binaries?

No, it would be more correct to have a real /usr/bin/od command on the
system, even if it's just a symlink to /usr/gnu/bin/od - not having one
is just asking to break scripts.  I'm not going to take a long convoluted
hack upstream at X.Org to work around such incompatible behavior for one
distro.

On the other hand, just before seeing this mail I'd sent a patch off
for code review upstream at X.Org that will prefer the openssl command
over /bin/od /dev/urandom... on Solarish platforms anyway:

http://patchwork.freedesktop.org/patch/14235/

so the problem may get solved as a side effect of that.

--
        -Alan Coopersmith-              [email protected]
         Oracle Solaris Engineering - http://blogs.oracle.com/alanc


-------------------------------------------
illumos-discuss
Archives: https://www.listbox.com/member/archive/182180/=now
RSS Feed: https://www.listbox.com/member/archive/rss/182180/21175430-2e6923be
Modify Your Subscription: 
https://www.listbox.com/member/?member_id=21175430&id_secret=21175430-6a77cda4
Powered by Listbox: http://www.listbox.com

Reply via email to