View Single Post
  #12  
Old 8th August 2012, 16:29
bormoglot bormoglot is offline
Junior Member
 
Join Date: Aug 2012
Posts: 3
Thanks: 0
Thanked 6 Times in 1 Post
Default

Quote:
Originally Posted by bormoglot View Post
How can I trace what is missing for proper scp or wget functioning?
RTFM "jailkit" really helps. For those lazy people like me a short summary:

Edit /etc/jailkit/jk_init.ini to change all paths to your system's correct values. Mine first two sections looks like that now:

Code:
[uidbasics]
comment = common files for all jails that need user/group information
libraries = /lib/x86_64-linux-gnu/libnsl*, /lib/x86_64-linux-gnu/libnss*
regularfiles = /etc/nsswitch.conf, /etc/ld.so.conf

[netbasics]
comment = common files for all jails that need any internet connectivity
libraries = /lib/x86_64-linux-gnu/libnss*
regularfiles = /etc/resolv.conf, /etc/host.conf, /etc/hosts, /etc/protocols, /etc/services
Then run

Code:
jk_init -f -k -j /var/www/clients/client1/web1 scp
using your own values instead of client1/web1 and scp
Reply With Quote