Macports tasks not launching at boot. policy?

Eric Gallager egall at gwmail.gwu.edu
Mon May 5 17:08:45 PDT 2014


If you want to try modifying the launchd sources, you might want to
have a look at the openlaunchd fork of it, as it seems to be more
up-to-date than the version on opensource.apple.com at least:
https://github.com/rtyler/openlaunchd


On 5/5/14, Brandon Allbery <allbery.b at gmail.com> wrote:
> On Mon, May 5, 2014 at 9:03 AM, "René J.V. Bertin"
> <rjvbertin at gmail.com>wrote:
>
>> Maybe it'd be possible to trigger the mounting of local partitions
>> through
>> launchd ... assuming one can control the order in which launchd scripts
>> are
>> executed?
>
>
> Well, there's this bit where launchd does stuff via the plists, so this
> only works if you can arrange for it to load one set, execute stuff from
> it, then load the rest. If it loads them all in one pass, then you have the
> problem that you need to force stuff to be mounted before launchd does the
> scan --- but launchd determines what to do by scanning and loading plists,
> and *nothing else* is running before launchd starts.
>
> In short, given that it's not working as is, you're looking at modifying
> launchd itself. (Remember, launchd is "init".) There is not likely to be
> any kind of clever workaround.
>
> --
> brandon s allbery kf8nh                               sine nomine
> associates
> allbery.b at gmail.com
> ballbery at sinenomine.net
> unix, openafs, kerberos, infrastructure, xmonad
> http://sinenomine.net
>


More information about the macports-users mailing list