[launchd-dev] Install and load a launch daemon without a reboot

Quinn "The Eskimo!" eskimo1 at apple.com
Fri Jan 28 02:22:13 PST 2011


On 27 Jan 2011, at 20:47, Jeremy Reichman wrote:

> Quinn, did you mean the chroot idea in the "bootstrap" thread?

Yes.

> If so, I'll
> either need a little more time to digest it, or just request a reboot with
> the installer. It sounds as if running the above Python in the context of
> an Installer postflight script would result in a no-op because of the RUID.

If you have an EUID of 0 then the chroot trick lets your sync your RUID to that.  Honestly, I'm /so/ not an expert in installers, either Apple's on third party, that your best bet is to test this for yourself.

S+E
--
Quinn "The Eskimo!"                    <http://www.apple.com/developer/>
Apple Developer Relations, Developer Technical Support, Core OS/Hardware




More information about the launchd-dev mailing list