[launchd-dev] Starting Apache: delay to when users/groups are fully loaded?

Quinn "The Eskimo!" eskimo1 at apple.com
Mon Dec 3 03:33:32 PST 2012


On 1 Dec 2012, at 08:02, Илья Кулаков <kulakov.ilya at gmail.com> wrote:

> launchd does not allow you to configure dependencies.

Right, because in a launchd world the system is supposed to infer dependencies from API calls.  What's interesting here is that Apache has managed to detect the absence of a group without call any of the APIs that would block it until the directory services infrastructure has come up enough to see that group.

> Nov 30 17:26:54 posh com.panic.httpd[120]: httpd: bad group name web

Is "web" the group name?  If so, that's not a built-in one.  Which directory node is it coming from?  Have you look at how Apache is testing for the presence of this group?  Do you know why this is cause problems for your instance of Apache and not for the system one?

Share and Enjoy
--
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