Monday, November 27, 2017

Quarantined plist

Just a quick one: I upgraded my Mac OS today to High Sierra only to find that afterwards my installation of nginx did not serve my Django application. Two things needed to be done - the first one was to upgrade my version of homebrew and then to use it to reinstall nginx. Pas de probleme...

The second problem was a bit more tricky to track down. Eventually it turned out that the upgrade process had removed my plist file from the directory /Library/LaunchDaemons. Checking in the install log (over 100K lines, BTW...), it seems that this process is described as 'shoving a sandbox file into quarantine', Cheers, Apple. It would have been nice to know...

I tracked the missing file down to the directory /Volumes/Macintosh HD/Library/SystemMigration/History/Migration-6909D1ED-25C0-43B1-93D7-728FFB8E9108/QuarantineRoot/System/Library/LaunchDaemons/ and had to go through the process of disabling the SIP protection to restore it.