On Sun, Mar 17, 2013 at 10:29 PM, alex m. <[email protected]> wrote:

> Brandon, reboot/relogin is not needed according to
> http://stackoverflow.com/questions/135688/setting-environment-variables-in-os-x
> reboot does not keep changes made by 'aunchctl setenv' command.
>

You misunderstood.

(1) launchd.conf is only read during login.
(2) changes made via the launchctl shell command, as opposed to those made
via .launchd.conf, do not persist across a reboot, yes.
(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't reload all of them except by logging out and back in.)


> $launchctl getenv PATH
> /usr/bin:/bin:/usr/sbin:/sbin:/opt/local/lib:/opt/local/bin:/opt/local/sbin
> and Krusader still crashes.
>

At this point I think I'd like to see dtruss output, if you can get it, to
see what it is doing when it crashes.

-- 
brandon s allbery kf8nh                               sine nomine associates
[email protected]                                  [email protected]
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net
_______________________________________________
macports-users mailing list
[email protected]
https://lists.macosforge.org/mailman/listinfo/macports-users

Reply via email to