?? how to get SystemStarter/diskarbitrationd to wait for drives to mount ??
hi, i've moved some of the dirs in my /etc hierarchy (e.g. /etc/postfix) off my startup partition (mac7_OSX) to a second drive (mac7_LOCAL/etc/postfix). i've then symlinked the dirs from the mac7_LOCAL back to the startup drive, i.e.: ln -s /Volumes/mac7_LOCAL/etc/postfix /etc/postfix unfortunately, SystemStarter doesn't seem to wait for the /etc/mach_init.d/diskarbitrationd to have mounted all the drives ... and, hence, StartupItems that depend on the files on the as-yet-unmounted-drive fail to properly start. THEN, the drive eventually mounts. here are the relevant snips from system.log for an example with postfix (the same happens for any/all other services that i've moved the startup files for ...): Jun 10 12:26:27 localhost SystemStarter: Starting Apple Multicast DNS Responder Jun 10 12:26:28 localhost SystemStarter: Starting timed execution services Jun 10 12:26:28 localhost ConsoleMessage: Checking disks Jun 10 12:26:28 localhost SystemStarter: Checking disks Jun 10 12:26:28 localhost diskarbitrationd[90]: disk1s6 hfs 4BD26F67-3ECC-36BD-B368-EC49C60E256C mac7_OSX / Jun 10 12:26:29 localhost mDNSResponder[192]: mDNSResponder-58.8 (Apr 24 2004 20:38:40) starting Jun 10 12:26:29 localhost diskarbitrationd[90]: disk2s9 hfs 4ACCCB5F-C7AE-31AB-B28C-75499DB23FCD mac7_LOCAL [not mounted] ... Jun 10 12:26:47 localhost postfix[320]: fatal: open /etc/postfix/main.cf: No such file or directory ... Jun 10 12:26:55 localhost SystemStarter: The following StartupItems failed to properly start: Jun 10 12:26:55 localhost SystemStarter: /Library/StartupItems/Postfix Jun 10 12:26:55 localhost SystemStarter: - execution of Startup script failed Jun 10 12:26:55 localhost SystemStarter: Jun 10 12:26:55 localhost SystemStarter: Login Window starting ... Jun 10 12:27:08 localhost diskarbitrationd[90]: disk2s9 hfs 4ACCCB5F-C7AE-31AB-B28C-75499DB23FCD mac7_LOCAL /Volumes/mac7_LOCAL once the Mac has completely booted up, I can start postfix (e.g., or, for that matter, any other service) with no problem. how do i get the system -- i presume SystemStarter? -- to wait until all drives are properly mounted before running startup items? i'm wondering if setting my services up as "Bootstrap Daemons" is appropriate here - but I've not found much in the way of documentation about dependency ordering for them (yet). thoughts/suggestions? thanks! richard _______________________________________________ darwin-kernel mailing list | darwin-kernel@lists.apple.com Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/darwin-kernel Do not post admin requests to the list. They will be ignored.
participants (1)
-
OpenMacNews