[launchd-dev] Install and load a launch daemon without a reboot
Jeremy Reichman
jaharmi at jaharmi.com
Fri Jan 28 05:05:20 PST 2011
On 1/28/2011 5:22 AM, "Quinn "The Eskimo!"" <eskimo1 at apple.com> 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.
Fair enough. I think I had such an expert weigh in on this thread already.
If I might make a suggestion for the future of TN2083, sample code of an
appropriate way to do this in an installer would be helpful. Especially
for an installer that can be installed to any system disk, not just the
current startup disk, so that such an installer could be used in the build
process for deployment images (in System Image Utility or other similar
workflows).
--
Jeremy
More information about the launchd-dev
mailing list