<div dir="ltr">On Sun, Mar 17, 2013 at 10:29 PM, alex m. <span dir="ltr">&lt;<a href="mailto:mymacports@gmail.com" target="_blank">mymacports@gmail.com</a>&gt;</span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Brandon, reboot/relogin is not needed according to <a href="http://stackoverflow.com/questions/135688/setting-environment-variables-in-os-x" target="_blank">http://stackoverflow.com/questions/135688/setting-environment-variables-in-os-x</a><br>


<div>reboot does not keep changes made by &#39;aunchctl setenv&#39; command.</div></div></blockquote><div><br></div><div>You misunderstood.</div><div><br></div><div>(1) launchd.conf is only read during login.</div><div>(2) changes made via the launchctl shell command, as opposed to those made via .launchd.conf, do not persist across a reboot, yes.</div>
<div>(3) Environment changes made in a parent, such as launchd via launchctl, do NOT propagate to already running programs, such as the Finder and much of the rest of your UI. You must have the env setting in force during login so these programs are launched with the environment setting. (*New* programs launched by launchctl would see changes made during the session; but while you could force some programs to be reloaded in a running session, you can&#39;t reload all of them except by logging out and back in.)</div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><font face="arial, sans-serif">$launchctl getenv PATH</font></div><div><font face="arial, sans-serif">/usr/bin:/bin:/usr/sbin:/sbin:/opt/local/lib:/opt/local/bin:/opt/local/sbin</font><br>
</div><div>
<font face="arial, sans-serif">and Krusader still crashes.</font></div></div></blockquote><div><br></div><div>At this point I think I&#39;d like to see dtruss output, if you can get it, to see what it is doing when it crashes.</div>
<div><br></div></div>-- <br><div dir="ltr"><div>brandon s allbery kf8nh                               sine nomine associates</div><div><a href="mailto:allbery.b@gmail.com" target="_blank">allbery.b@gmail.com</a>                                  <a href="mailto:ballbery@sinenomine.net" target="_blank">ballbery@sinenomine.net</a></div>
<div>unix, openafs, kerberos, infrastructure, xmonad        <a href="http://sinenomine.net" target="_blank">http://sinenomine.net</a></div></div>
</div>