mongodb / mongodb-selinux

GNU General Public License v2.0
11 stars 8 forks source link

SERVER-56544 allow udp_socket:read #3

Closed brushless-glitch closed 3 years ago

brushless-glitch commented 3 years ago

This extra permission is apparently required for DNS resolution to work. Without it (formatted/line breaks):

Sep 28 17:01:36 ip-10-122-52-166.ec2.internal mongod[9886]: 
   {"t":{"$date":"2021-09-28T17:01:36.274+00:00"},"s":"F",  "c":"CONTROL",  "id":20575,
   "ctx":"main","msg":"Error creating service context", "attr":{"error":
   "DNSHostNotFound: Can't connect to the specified LDAP servers, error: LDAP Host: ldaptest.10gen.cc was NOT successfully resolved."}}