[OmniOS-discuss] [discuss] pkgsrc-2013Q2 binary packages for illumos now available

Alan Coopersmith alan.coopersmith at oracle.com
Sat Aug 3 07:29:55 UTC 2013


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-              alan.coopersmith at oracle.com
	 Oracle Solaris Engineering - http://blogs.oracle.com/alanc


More information about the OmniOS-discuss mailing list