View Single Post

  #4 (permalink)  
Old 11-02-2007, 12:02 PM
nixcraft's Avatar
nixcraft nixcraft is offline
Never say die
User
 
Join Date: Jan 2005
Location: BIOS
My distro: Ubuntu
Posts: 1,035
Rep Power: 10
nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute
Default

Copy /etc/ld.so* files to chrooted dir:
Code:
cp -avr /etc/ld.so.c* /srv/etc/
Restart lighttpd and test it again. This is what I've in my centos box:
Code:
-rw-r--r-- 1 root root    83 Jul 13 15:52 hosts
-rw-r--r-- 1 root root 44038 Jul 13 16:09 ld.so.cache
-rw-r--r-- 1 root root    28 Jul 13 16:09 ld.so.conf
drwxr-xr-x 2 root root  4096 Jul 10 08:50 ld.so.conf.d
-rw-r--r-- 1 root root  1623 Jul 13 15:52 nsswitch.conf
drwxr-xr-x 2 root root  4096 Jul 13 18:17 php.d
-rw-r--r-- 1 root root 45425 Sep 20 05:52 php.ini
-rw-r--r-- 1 root root    96 Jul 13 15:52 resolv.conf
__________________
Vivek | My personal blog
Linux Evangelist
Play hard stay cool
Reply With Quote