title: "nodename nor servname provided" when trying to start a mesos-slave
body: <p>I was following this simple guide on installing Mesos locally <a href="https://mesosphere.com/2014/07/07/installing-mesos-on-your-mac-with-homebrew/" rel="noreferrer">https://mesosphere.com/2014/07/07/installing-mesos-on-your-mac-with-homebrew/</a> </p>
  
  <p>I was able to start a mesos master and was able to see the master's console perfectly fine at localhost:5050. However when I tried to start a new slave using sudo /usr/local/sbin/mesos-slave --master=127.0.0.1:5050 , it gave me </p>
  
  <p>WARNING: Logging before InitGoogleLogging() is written to STDERR
  F0328 16:14:45.329051 2041414416 process.cpp:889] nodename nor servname provided, or not known
  <strong>* Check failure stack trace: *</strong></p>
  
  <p>Any help will be appreciated, thanks</p>