Skip to content

Instantly share code, notes, and snippets.

@zbrdge
Created April 12, 2014 12:18
Show Gist options
  • Save zbrdge/10532961 to your computer and use it in GitHub Desktop.
Save zbrdge/10532961 to your computer and use it in GitHub Desktop.
OS X Chroot mDNSResponder
--- /System/Library/LaunchDaemons/com.apple.mDNSResponder.plist 2014-04-12 05:15:39.000000000 -0700
+++ /tmp/com.apple.mDNSResponder.plist.new 2014-04-12 05:15:11.000000000 -0700
@@ -26,6 +26,7 @@
<key>Sockets</key>
<dict>
<key>Listeners</key>
+ <array>
<dict>
<key>SockFamily</key>
<string>Unix</string>
@@ -34,6 +35,15 @@
<key>SockPathMode</key>
<integer>438</integer>
</dict>
+ <dict>
+ <key>SockFamily</key>
+ <string>Unix</string>
+ <key>SockPathName</key>
+ <string>/Volumes/Creative Cloud/var/run/mDNSResponder</string>
+ <key>SockPathMode</key>
+ <integer>438</integer>
+ </dict>
+ </array>
</dict>
<key>EnableTransactions</key>
<true/>
@zbrdge
Copy link
Author

zbrdge commented Apr 12, 2014

Where '/Volumes/Creative Cloud' is a case-insensitive chroot I had to create to attempt to install Adobe Creative Cloud on my case-sensitive Mac...

Also, note that it seems like this doesn't work correctly at boot? The following seems to fix it:

launchctl unload -w /System/Library/LaunchDaemons/com.apple.mDNSResponder.plist
launchctl load -w /System/Library/LaunchDaemons/com.apple.mDNSResponder.plist

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment