<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments for Alasdair on Everything</title>
	<atom:link href="http://blogs.everycity.co.uk/alasdair/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://blogs.everycity.co.uk/alasdair</link>
	<description></description>
	<pubDate>Tue, 07 Feb 2012 04:42:37 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.3</generator>
		<item>
		<title>Comment on vasprintf and asprintf on Solaris 10 by Alasdair</title>
		<link>http://blogs.everycity.co.uk/alasdair/2011/07/vasprintf-and-asprintf-on-solaris-10/#comment-717</link>
		<dc:creator>Alasdair</dc:creator>
		<pubDate>Wed, 01 Feb 2012 13:46:00 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.everycity.co.uk/alasdair/?p=446#comment-717</guid>
		<description>Thanks Martin.

In case that link stops working, there's a mirror here:

http://hg.openindiana.org/upstream/oracle/onnv-gate/file/b23a4dab3d50/usr/src/lib/libc/port/print/asprintf.c</description>
		<content:encoded><![CDATA[<p>Thanks Martin.</p>
<p>In case that link stops working, there&#8217;s a mirror here:</p>
<p><a href="http://hg.openindiana.org/upstream/oracle/onnv-gate/file/b23a4dab3d50/usr/src/lib/libc/port/print/asprintf.c" rel="nofollow">http://hg.openindiana.org/upstream/oracle/onnv-gate/file/b23a4dab3d50/usr/src/lib/libc/port/print/asprintf.c</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Making Solaris SMF ignore core dumps in child processes by sriram</title>
		<link>http://blogs.everycity.co.uk/alasdair/2010/01/making-solaris-smf-ignore-core-dumps-in-child-processes/#comment-716</link>
		<dc:creator>sriram</dc:creator>
		<pubDate>Wed, 01 Feb 2012 12:34:26 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.everycity.co.uk/alasdair/?p=241#comment-716</guid>
		<description>Thanks for this tip. It help me troubleshoot a problem. It is probably worth adding for others that we also need a do a svcadm refresh after this to force reload the config. Just restart doesn't cut it.</description>
		<content:encoded><![CDATA[<p>Thanks for this tip. It help me troubleshoot a problem. It is probably worth adding for others that we also need a do a svcadm refresh after this to force reload the config. Just restart doesn&#8217;t cut it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on vasprintf and asprintf on Solaris 10 by Martin</title>
		<link>http://blogs.everycity.co.uk/alasdair/2011/07/vasprintf-and-asprintf-on-solaris-10/#comment-715</link>
		<dc:creator>Martin</dc:creator>
		<pubDate>Sat, 28 Jan 2012 09:45:44 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.everycity.co.uk/alasdair/?p=446#comment-715</guid>
		<description>There is also a version in OpenSolaris which might be (a) more battle-tested and (b) closer to what we find in Solaris 11 (which has both asprintf(3C) and vasprintf(3C).

&lt;a href="http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/lib/libc/port/print/asprintf.c" rel="nofollow"&gt;http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/lib/libc/port/print/asprintf.c&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p>There is also a version in OpenSolaris which might be (a) more battle-tested and (b) closer to what we find in Solaris 11 (which has both asprintf(3C) and vasprintf(3C).</p>
<p><a href="http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/lib/libc/port/print/asprintf.c" rel="nofollow">http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/lib/libc/port/print/asprintf.c</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Adjusting drive timeouts with mdb on Solaris or OpenIndiana by Aaron Knodel</title>
		<link>http://blogs.everycity.co.uk/alasdair/2011/05/adjusting-drive-timeouts-with-mdb-on-solaris-or-openindiana/#comment-677</link>
		<dc:creator>Aaron Knodel</dc:creator>
		<pubDate>Mon, 12 Dec 2011 15:50:19 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.everycity.co.uk/alasdair/?p=429#comment-677</guid>
		<description>Hi Alasdair,

Can you please comment further on the failure of this setting using mpt_sas? It sounds like what you're saying is, this setting should in theory work, but the driver is causing issues and it never gets to the ZFS level to use this setting. Is that right? Did you test using the known bad drive from the beginning of the article? Any other details would be appreciated if you have them.

Thanks</description>
		<content:encoded><![CDATA[<p>Hi Alasdair,</p>
<p>Can you please comment further on the failure of this setting using mpt_sas? It sounds like what you&#8217;re saying is, this setting should in theory work, but the driver is causing issues and it never gets to the ZFS level to use this setting. Is that right? Did you test using the known bad drive from the beginning of the article? Any other details would be appreciated if you have them.</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Adjusting drive timeouts with mdb on Solaris or OpenIndiana by Matt Connolly</title>
		<link>http://blogs.everycity.co.uk/alasdair/2011/05/adjusting-drive-timeouts-with-mdb-on-solaris-or-openindiana/#comment-649</link>
		<dc:creator>Matt Connolly</dc:creator>
		<pubDate>Tue, 29 Nov 2011 11:09:02 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.everycity.co.uk/alasdair/?p=429#comment-649</guid>
		<description>Interesting that this can affect small setups as well as large:  I've seen this problem on my home NAS running OpenIndiana with two mirrored drives. In my case, one of them was a Western Digital green drive which slowed the whole machine to a near-halt by being busy.

I solved the problem by yanking that drive out and throwing it in the bin... Didn't know about this then! :)</description>
		<content:encoded><![CDATA[<p>Interesting that this can affect small setups as well as large:  I&#8217;ve seen this problem on my home NAS running OpenIndiana with two mirrored drives. In my case, one of them was a Western Digital green drive which slowed the whole machine to a near-halt by being busy.</p>
<p>I solved the problem by yanking that drive out and throwing it in the bin&#8230; Didn&#8217;t know about this then! :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Using mbuffer to speed up slow zfs send &#124; zfs receive by Jim Sloey</title>
		<link>http://blogs.everycity.co.uk/alasdair/2010/07/using-mbuffer-to-speed-up-slow-zfs-send-zfs-receive/#comment-633</link>
		<dc:creator>Jim Sloey</dc:creator>
		<pubDate>Fri, 11 Nov 2011 17:31:18 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.everycity.co.uk/alasdair/?p=344#comment-633</guid>
		<description>Is anyone using this in an automated script?</description>
		<content:encoded><![CDATA[<p>Is anyone using this in an automated script?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Fixing &#8220;No active dataset&#8221; on zone attach by Jens</title>
		<link>http://blogs.everycity.co.uk/alasdair/2011/10/fixing-no-active-dataset-on-zone-attach/#comment-629</link>
		<dc:creator>Jens</dc:creator>
		<pubDate>Mon, 07 Nov 2011 15:48:21 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.everycity.co.uk/alasdair/?p=450#comment-629</guid>
		<description>Thank you very much! This saved my day</description>
		<content:encoded><![CDATA[<p>Thank you very much! This saved my day</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Adjusting drive timeouts with mdb on Solaris or OpenIndiana by Alasdair</title>
		<link>http://blogs.everycity.co.uk/alasdair/2011/05/adjusting-drive-timeouts-with-mdb-on-solaris-or-openindiana/#comment-622</link>
		<dc:creator>Alasdair</dc:creator>
		<pubDate>Mon, 31 Oct 2011 23:33:40 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.everycity.co.uk/alasdair/?p=429#comment-622</guid>
		<description>Hi Richard,

Thanks for the comment about the timeout, it's a good suggestion.

However in testing with failing harddrives (on mpt_sas anyway), we see that the sd timeouts are completely ignored so my entire post above is moot!</description>
		<content:encoded><![CDATA[<p>Hi Richard,</p>
<p>Thanks for the comment about the timeout, it&#8217;s a good suggestion.</p>
<p>However in testing with failing harddrives (on mpt_sas anyway), we see that the sd timeouts are completely ignored so my entire post above is moot!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Adding mcrypt Support to Sun&#8217;s CoolStack by Marc Lobelle</title>
		<link>http://blogs.everycity.co.uk/alasdair/2008/10/adding-mcrypt-support-to-suns-coolstack/#comment-621</link>
		<dc:creator>Marc Lobelle</dc:creator>
		<pubDate>Fri, 21 Oct 2011 16:50:06 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.everycity.co.uk/alasdair/?p=3#comment-621</guid>
		<description>Thinking about it, if I am just wanting to compile libmcript, it means I do not have it and thus not mcript.h either, so why does configure complain ?</description>
		<content:encoded><![CDATA[<p>Thinking about it, if I am just wanting to compile libmcript, it means I do not have it and thus not mcript.h either, so why does configure complain ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Adding mcrypt Support to Sun&#8217;s CoolStack by Marc Lobelle</title>
		<link>http://blogs.everycity.co.uk/alasdair/2008/10/adding-mcrypt-support-to-suns-coolstack/#comment-620</link>
		<dc:creator>Marc Lobelle</dc:creator>
		<pubDate>Fri, 21 Oct 2011 13:49:32 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.everycity.co.uk/alasdair/?p=3#comment-620</guid>
		<description>Hello, 
I need mcrypt because it is used by phpldapadmin. I need in particular md5crypt that is used in LINUX and I need to import a set of users from a ldap running on a LINUX system to one running on solaris.
As you noticed mcrypt is missing from solaris distros.
I tried to compile libmcrypt according to your indications (by the way, I added md5 at the end of the list of algorithms, was that right) and got this result

tempest-[2]-mcrypt-2.6.8# ./configure --prefix=/opt/libs/libmcrypt --enable-dynamic-loading --with-included-algos=cast-128,gost,rijndael-128,twofish,arcfour,cast-256,loki97,rijndael-192,saferplus,wake,blowfish-compat,des,rijndael-256,serpent,xtea,blowfish,enigma,rc2,tripledes
checking build system type... i386-pc-solaris2.10
checking host system type... i386-pc-solaris2.10
checking target system type... i386-pc-solaris2.10
checking for a BSD-compatible install... /opt/sfw/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /opt/sfw/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking for gcc... cc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... no
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking dependency style of cc... none
checking for a sed that does not truncate output... /opt/csw/bin/sed
checking for grep that handles long lines and -e... /opt/csw/bin/ggrep
checking for egrep... /opt/csw/bin/ggrep -E
checking for fgrep... /opt/csw/bin/ggrep -F
checking for non-GNU ld... /usr/ccs/bin/ld
checking if the linker (/usr/ccs/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/ccs/bin/nm -p
checking the name lister (/usr/ccs/bin/nm -p) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 786240
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... no
checking for /usr/ccs/bin/ld option to reload object files... -r
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/ccs/bin/nm -p output from cc object... ok
checking how to run the C preprocessor... cc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking for cc option to produce PIC... -KPIC -DPIC
checking if cc PIC flag -KPIC -DPIC works... yes
checking if cc static flag -Bstatic works... no
checking if cc supports -c -o file.o... yes
checking if cc supports -c -o file.o... (cached) yes
checking whether the cc linker (/usr/ccs/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... solaris2.10 ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... no
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for gcc... (cached) cc
checking whether we are using the GNU C compiler... (cached) no
checking whether cc accepts -g... (cached) yes
checking for cc option to accept ISO C89... (cached) none needed
checking dependency style of cc... (cached) none
checking for libmcrypt-config... no
checking for libmcrypt - version &#62;= 2.5.0... no
*** Could not run libmcrypt test program, checking why...
*** The test program failed to compile or link. See the file config.log for the
*** exact error that occured. This usually means LIBMCRYPT was incorrectly installed
*** or that you have moved LIBMCRYPT since it was installed. In the latter case, you
*** may want to edit the libmcrypt-config script: no
configure: error: *** libmcrypt was not found
tempest-[3]-mcrypt-2.6.8# glocate libmcrypt
tempest-[4]-mcrypt-2.6.8# ls /opt/libs/
./   ../
tempest-[5]-mcrypt-2.6.8#


actually, if I check config.log, it appears that /usr/include/ mcrypt.h is missing

and I do not have it anywhere

Do you have it and where did you get it ?

Thanks

Marc</description>
		<content:encoded><![CDATA[<p>Hello,<br />
I need mcrypt because it is used by phpldapadmin. I need in particular md5crypt that is used in LINUX and I need to import a set of users from a ldap running on a LINUX system to one running on solaris.<br />
As you noticed mcrypt is missing from solaris distros.<br />
I tried to compile libmcrypt according to your indications (by the way, I added md5 at the end of the list of algorithms, was that right) and got this result</p>
<p>tempest-[2]-mcrypt-2.6.8# ./configure &#8211;prefix=/opt/libs/libmcrypt &#8211;enable-dynamic-loading &#8211;with-included-algos=cast-128,gost,rijndael-128,twofish,arcfour,cast-256,loki97,rijndael-192,saferplus,wake,blowfish-compat,des,rijndael-256,serpent,xtea,blowfish,enigma,rc2,tripledes<br />
checking build system type&#8230; i386-pc-solaris2.10<br />
checking host system type&#8230; i386-pc-solaris2.10<br />
checking target system type&#8230; i386-pc-solaris2.10<br />
checking for a BSD-compatible install&#8230; /opt/sfw/bin/install -c<br />
checking whether build environment is sane&#8230; yes<br />
checking for a thread-safe mkdir -p&#8230; /opt/sfw/bin/mkdir -p<br />
checking for gawk&#8230; gawk<br />
checking whether make sets $(MAKE)&#8230; yes<br />
checking for style of include used by make&#8230; GNU<br />
checking for gcc&#8230; cc<br />
checking for C compiler default output file name&#8230; a.out<br />
checking whether the C compiler works&#8230; yes<br />
checking whether we are cross compiling&#8230; no<br />
checking for suffix of executables&#8230;<br />
checking for suffix of object files&#8230; o<br />
checking whether we are using the GNU C compiler&#8230; no<br />
checking whether cc accepts -g&#8230; yes<br />
checking for cc option to accept ISO C89&#8230; none needed<br />
checking dependency style of cc&#8230; none<br />
checking for a sed that does not truncate output&#8230; /opt/csw/bin/sed<br />
checking for grep that handles long lines and -e&#8230; /opt/csw/bin/ggrep<br />
checking for egrep&#8230; /opt/csw/bin/ggrep -E<br />
checking for fgrep&#8230; /opt/csw/bin/ggrep -F<br />
checking for non-GNU ld&#8230; /usr/ccs/bin/ld<br />
checking if the linker (/usr/ccs/bin/ld) is GNU ld&#8230; yes<br />
checking for BSD- or MS-compatible name lister (nm)&#8230; /usr/ccs/bin/nm -p<br />
checking the name lister (/usr/ccs/bin/nm -p) interface&#8230; BSD nm<br />
checking whether ln -s works&#8230; yes<br />
checking the maximum length of command line arguments&#8230; 786240<br />
checking whether the shell understands some XSI constructs&#8230; yes<br />
checking whether the shell understands &#8220;+=&#8221;&#8230; no<br />
checking for /usr/ccs/bin/ld option to reload object files&#8230; -r<br />
checking how to recognize dependent libraries&#8230; pass_all<br />
checking for ar&#8230; ar<br />
checking for strip&#8230; strip<br />
checking for ranlib&#8230; ranlib<br />
checking command to parse /usr/ccs/bin/nm -p output from cc object&#8230; ok<br />
checking how to run the C preprocessor&#8230; cc -E<br />
checking for ANSI C header files&#8230; yes<br />
checking for sys/types.h&#8230; yes<br />
checking for sys/stat.h&#8230; yes<br />
checking for stdlib.h&#8230; yes<br />
checking for string.h&#8230; yes<br />
checking for memory.h&#8230; yes<br />
checking for strings.h&#8230; yes<br />
checking for inttypes.h&#8230; yes<br />
checking for stdint.h&#8230; yes<br />
checking for unistd.h&#8230; yes<br />
checking for dlfcn.h&#8230; yes<br />
checking for objdir&#8230; .libs<br />
checking for cc option to produce PIC&#8230; -KPIC -DPIC<br />
checking if cc PIC flag -KPIC -DPIC works&#8230; yes<br />
checking if cc static flag -Bstatic works&#8230; no<br />
checking if cc supports -c -o file.o&#8230; yes<br />
checking if cc supports -c -o file.o&#8230; (cached) yes<br />
checking whether the cc linker (/usr/ccs/bin/ld) supports shared libraries&#8230; yes<br />
checking dynamic linker characteristics&#8230; solaris2.10 ld.so<br />
checking how to hardcode library paths into programs&#8230; immediate<br />
checking whether stripping libraries is possible&#8230; no<br />
checking if libtool supports shared libraries&#8230; yes<br />
checking whether to build shared libraries&#8230; yes<br />
checking whether to build static libraries&#8230; yes<br />
checking for gcc&#8230; (cached) cc<br />
checking whether we are using the GNU C compiler&#8230; (cached) no<br />
checking whether cc accepts -g&#8230; (cached) yes<br />
checking for cc option to accept ISO C89&#8230; (cached) none needed<br />
checking dependency style of cc&#8230; (cached) none<br />
checking for libmcrypt-config&#8230; no<br />
checking for libmcrypt - version &gt;= 2.5.0&#8230; no<br />
*** Could not run libmcrypt test program, checking why&#8230;<br />
*** The test program failed to compile or link. See the file config.log for the<br />
*** exact error that occured. This usually means LIBMCRYPT was incorrectly installed<br />
*** or that you have moved LIBMCRYPT since it was installed. In the latter case, you<br />
*** may want to edit the libmcrypt-config script: no<br />
configure: error: *** libmcrypt was not found<br />
tempest-[3]-mcrypt-2.6.8# glocate libmcrypt<br />
tempest-[4]-mcrypt-2.6.8# ls /opt/libs/<br />
./   ../<br />
tempest-[5]-mcrypt-2.6.8#</p>
<p>actually, if I check config.log, it appears that /usr/include/ mcrypt.h is missing</p>
<p>and I do not have it anywhere</p>
<p>Do you have it and where did you get it ?</p>
<p>Thanks</p>
<p>Marc</p>
]]></content:encoded>
	</item>
</channel>
</rss>

