Currently the mongobd creates the socket inside /tmp (default behavior). It would be great if this socket is created under e.g. /run/mongodb/ (or similar) The behavior could be altered in the mongodb.conf with net: unixDomainSocket: pathPrefix: "/run/mongodb" Reproducible: Always Actual Results: Socket is created in /tmp Expected Results: Socket is created in a (sub-) directory of /run