![]() ![]() 5:32:31.342 PM mDNSResponder: 12: read_msg: ERROR failed to get errsd via SCM_RIGHTS 5:32:31.341 PM mDNSResponder: 12: DNSServiceCreateConnection START PID(socat) 5:32:31.341 PM mDNSResponder: 12: connect_callback: Adding FD for uid 0 5:32:31.339 PM curl: dnssd_clientstub write_all(4) failed -1/28 32 Broken pipe ![]() 5:32:30.836 PM mDNSResponder: 12: DNSServiceCreateConnection STOP PID(socat) ![]() 5:32:30.836 PM mDNSResponder: 12: read_msg: ERROR failed to get errsd via SCM_RIGHTS 5:32:30.835 PM mDNSResponder: 12: DNSServiceCreateConnection START PID(socat) I see this in syslog after turning on the verbose logging of mDNSResponder with SIGUSR1: 5:32:30.835 PM mDNSResponder: 12: connect_callback: Adding FD for uid 0 So, I tried to use socat to create a unix socket "proxy" from inside the jail to outside it: I run socat (command below) to create a socket inside my jail, and then inside the jail run curl again, but curl still gives the same error message. Srw-rw-rw- 1 root daemon 0 22 Oct 10:41 /var/run/mDNSResponderīut, inside the jail there is not. Outside the jail there is an mDNSResponder socket for the whole system to use: host ➜ ls -lA /var/run/mDNSResponder I am almost positive this is because the inner process is unable to connect to the mDNSResponder daemon running outside the jail. So far my jail is working well: I can run bash inside it and run simple programs from there! DNS resolution doesn't work however: bash-3.2$ curl google.caĬurl: (6) Could not resolve host: google.ca I'm trying to create a chroot to run a program that needs internet access to build myself a sandboxed, immutable developer environment. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |