July 2012

Startup script locations

I once thought that the location for the start up scripts should be in /System/Library/LaunchDaemons which I had read in other webpages I had found at the time. Never questioning what I had found as I didn’t know any better and it all worked.

Until last week a comment added to the Apache startup script page by Anonymouse started to get me thinking, where my assumptions correct. The upgrade to Mountain Lion and the disappearance of all my startup scripts from /System/Library/LaunchDaemons pushed me over. After doing some research I hound the following overview of where which scripts should be:

    ~/Library/LaunchAgents          Per-user agents provided by the user.
     /Library/LaunchAgents          Per-user agents provided by the administrator.
     /Library/LaunchDaemons         System wide daemons provided by the administrator.
     /System/Library/LaunchAgents   OS X Per-user agents.
     /System/Library/LaunchDaemons  OS X System wide daemons.

Therefore I’ve now decided to amend the documentation and put all my scripts in /Library/LaunchDaemons. I hope you all agree that this is a better place.

Mountain Lion progress

If you are dependent on any of the stuff that is documented here then please wait while I upgrade and test all the instructions for Mountain Lion. I will update this post regularly with my progress. Currently I’m upgrading my main desktop to see if this will affect the running setup. After that I will install a clean Mountain Lion machine for documenting the start from scratch.

First discovery after the upgrade is that all you config files in /etc are gone, so are our startup scripts in /System/Library/LaunchDeamons. This means that the config for Apache, php and MySQL are missing.

Got MySQL running by replacing the startup script. Apache ran again after restoring /etc/httpd from a backup but PHP needed recompiling.

Before upgrading make sure you make a copy of the file InstallESD.dmg from the Mountain Lion installer package. How to find it, read this. This because you need to get an optional installer package if you want to use GD. Mount the disk image and install the file from Packages called X11redirect.pkg

The MAMP stack is now done, tested and documented. Not many changes…

Mail part is now also documented!

Dovecot updated to 2.1.8

Last week there was another update on Dovecot, it took me some time to test it due to the holiday season. I’ve checked it and I can tell you that it works now on all my servers without a problem! The biggest change here was the check on mUTF-7 for mailbox names which had been missing but had gone mostly unnoticed. Other fixes include:

  • pop3c: Added pop3c_master_user setting.
  • imap: Mailbox names were accidentally sent as UTF-8 instead of mUTF-7 in previous v2.1.x releases for STATUS, MYRIGHTS and GETQUOTAROOT commands.
  • lmtp proxy: Don’t timeout connections too early when mail has a lot of RCPT TOs.
  • director: Don’t crash if the director is working alone.
  • shared mailboxes: Avoid doing “@domain” userdb lookups.
  • doveadm: Fixed crash with proxying some commands.
  • fts-squat: Fixed handling multiple SEARCH parameters.
  • imapc: Fixed a crash when message had more than 8 keywords.
  • imapc: Don’t crash on APPEND/COPY if server doesn’t support UIDPLUS.

And here are the upgrade instructions for Dovecot!