fixed the problems preventing mesos from changing users and open ports on the host