yes, /lib/libnss_dns-*.so.* Samit
Janno Sannik wrote: > You also may need some dns resolver libraries. For me it also didn't > work out of the box. But now I don't remember anymore which *.so is/are > responsible for dns resolution. > Maybe /lib(64)/libnss_*.so ? > > Janno > > Brock Noland wrote: >> Yes, I wouldn't expect DNS to work unless you have /etc/resolv.conf. >> >> Brock >> >> On Feb 4, 2008 2:19 AM, Samit <[EMAIL PROTECTED]> wrote: >> >>> Thanks, yes connecting over IP is working, but could not connect using >>> valid host or domain name. It says invalid hostname, it seems it could >>> not resolve the IP address using /hosts or /etc/resolv.conf while it is >>> in chroot environment. >>> >>> Samit >>> >>> >>> >>> Brock Noland wrote: >>> >>>> Connecting over TCP/IP. >>>> >>>> Brock >>>> >>>> On Feb 1, 2008 2:18 PM, Samit <[EMAIL PROTECTED]> wrote: >>>> >>>>> Hi, >>>>> >>>>> What could be a better and secure way to provide chrooted virtual sites >>>>> to allow mysql connect from php? >>>>> >>>>> I got error "Can't connect to local MySQL server through socket >>>>> '/tmp/mysql.sock' (40)" >>>>> >>>>> Creating symlinks of /tmp/mysql.sock to user's chrooted virtual >>>>> directory doesn't work. >>>>> >>>>> Creating hardlink of /tmp/mysql.sock to user's chrooted virtual >>>>> directory works. >>>>> Mounting /tmp directory to all chrooted virtual directory works. >>>>> >>>>> Any other tips will be appreciated. >>>>> >>>>> Regards, >>>>> Samit >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> _______________________________________________ >>>>> Peruser mailing list >>>>> [email protected] >>>>> http://www.telana.com/mailman/listinfo/peruser >>>>> >>>>> >>>> _______________________________________________ >>>> Peruser mailing list >>>> [email protected] >>>> http://www.telana.com/mailman/listinfo/peruser >>>> >>>> >>>> >>> _______________________________________________ >>> Peruser mailing list >>> [email protected] >>> http://www.telana.com/mailman/listinfo/peruser >>> >>> >> _______________________________________________ >> Peruser mailing list >> [email protected] >> http://www.telana.com/mailman/listinfo/peruser >> > > > _______________________________________________ > Peruser mailing list > [email protected] > http://www.telana.com/mailman/listinfo/peruser > > _______________________________________________ Peruser mailing list [email protected] http://www.telana.com/mailman/listinfo/peruser
