jailkit-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Jailkit-users] jailkit installation


From: Dolf Andringa
Subject: [Jailkit-users] jailkit installation
Date: Tue, 5 Oct 2010 17:24:24 +0200

Hey everyone,

I just installed Jailkit on ubuntu lucid. I downloaded the latest version from the site and installed it with "./configure" "make" "sudo make install". When I run sudo jk_init basicshell or something, jk_init throws an error that it can't find /usr/jk_init.ini file. I can specify the location of that file with -c and then jk_init runs fine. Untill I try to run "jk_init -c /etc/jailkit/jk_init.ini /jail jk_lsh" which throws an error that it can't find /usr/jk_socketd.ini. I guess something is going wrong here with the file locations. I didn't specify a prefix with the ./configure command.
While digging into it I see the INIPREFIX as the location of the ini files in the source code. Most of the times that is set to /etc/jailkit, but I also see that set to /usr a couple of times according to:

address@hidden:~/jailkit-2.12$ grep "INIPREFIX='/usr'" * -Rn
py/jk_check:43:INIPREFIX='/usr'
py/jk_addjailuser:39:INIPREFIX='/usr'
py/jk_update:41:INIPREFIX='/usr'
py/jk_jailuser:42:INIPREFIX='/usr'
py/jk_cp:40:INIPREFIX='/usr'
py/jk_init:41:INIPREFIX='/usr'


Might this be the reason for the error?
Cheers,

Dolf.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]