Lion and Startup Items Folder

jhbush
Valued Contributor II

I just wanted to let any Lion testers know that /System/Library/StartupItems has been removed and that if you send packages there to be processed by a first run script you will need to create the folder prior to imaging. Casper Imaging kept quitting on me until I noticed the error about a folder not being present.

Jason Bush | End User Technology
Expedia Inc. - Bellevue Office | 333 108th Ave NE, Bellevue, WA 98004
![external image link](attachments/941a9a6378ee4034826ca75c920c165a)
![external image link](attachments/f756c36207864b489288a59234b5f644)
P Please consider the environment before printing.

6 REPLIES 6

donmontalvo
Esteemed Contributor III

http://developer.apple.com/library/mac/#documentation/MacOSX/Conceptual/BPSystemStartup/Chapters/Sta...

Deprecation Note: Startup items are a deprecated technology. Launching of daemons through this process may be removed or eliminated in a future release of Mac OS X. Unless your software requires compatibility with Mac OS X v10.3 or earlier, use the launchd facility instead. For more information, see “Creating Launch Daemons and Agents.”

We're dealing with one software developer who's engineers don't seem to know the difference between StartupItems and launchd.

Don

--
https://donmontalvo.com

stevewood
Honored Contributor II
Honored Contributor II

I just wanted to let any Lion testers know that /System/Library/StartupItems
On Sep 12, 2011, at 10:29 PM, Jason Bush <jbush at expedia.com> wrote:
has been removed and that if you send packages there to be processed by a
first run script you will need to create the folder prior to imaging. Casper
Imaging kept quitting on me until I noticed the error about a folder not
being present.

*Jason Bush *| End User Technology

Expedia Inc. - Bellevue Office | 333 108th Ave NE, Bellevue, WA 98004
( +1 425 679 3072 | <47729B39-6282-47C5-9982-552EC41D116A.png> +1 727 517
5712**

<6EEC30D9-15CD-458A-89E2-1447FFD35D4D.png>

P Please consider the environment before printing.

ImAMacGuy
Valued Contributor II

I just built a 10.7.1 + 10.7.2 seed image and
/System/Library/StartupItems was there..

John Wojda

Lead System Engineer, DEI & Mobility

3333 Beverly Rd. B2-338B

Hoffman Estates, IL 60179

Phone: (847)286-7855

Page: (224)532.3447

Team Lead DEI: Matt Beiriger
<mailto:mbeirig at searshc.com;jwojda at searshc.com?subject=John%20Wojda%20Fe
edback&body=I%20am%20contacting%20you%20regarding%20John%20Wojda.>

Team Lead Mobility: Chris
<mailto:cstaana at searshc.com;jwojda at searshc.com?subject=John%20Wojda%20Fe
edback&body=I%20am%20contacting%20you%20regarding%20John%20Wojda.> Sta
Ana

Mac Tip/Tricks/Self Service & Support
<http://bit.ly/gMa7TB>

"Any time you choose to be inflexible in your approach to an
unpredictable project you are already building failure into your plan"

jhbush
Valued Contributor II

Does anyone have an idea as to why the imaging doesn't fail on 10.6, but does on 10.7 if the folder is not there or throws and error?

Jason Bush | End User Technology
Expedia Inc. - Bellevue Office | 333 108th Ave NE, Bellevue, WA 98004
![external image link](attachments/8b3ba4dcf03d4d4f9cd3e0e14461836e)
![external image link](attachments/f8a4c3e9e04a4159a104b27e3ceaa696)

gachowski
Valued Contributor II

It is my understanding that Apple has made changes to this whole area. My
launchds daemons that worked in X.6 stopped working in X.7... They were
calling a GUI app. Something that the directions said not to do. I did try
and make them agents however I am still not smart enough to get them
working...

![external image link](attachments/0eb07c47c0544a6cbbf173163c3497e4)
![external image link](attachments/17fb57981a324611a550a62297f51239)

talkingmoose
Moderator
Moderator

LaunchAgents can call GUI apps but not LaunchDaemons. Agents run under and
On 9/13/11 11:44 AM, "Chris Gachowski" <gachowski at juniper.net> wrote:
have the privileges of the user who logs in but Daemons run under the root
account.

Use Lingon to create your launchd items. It makes the process very simple.
If you can get a hold of Lingon 2 (not 3) I would suggest doing that
because the latest version seems very limited.

--

William Smith
Technical Analyst
Merrill Communications LLC
(651) 632-1492