openSUSE Forums > Applications » Jailkit install problems

Go Back   openSUSE Forums > Applications
Forums FAQ Members List Search Today's Posts Mark Forums Read

Applications Questions about desktops (KDE, Gnome, XFCE, etc.), software applications (configuration, usage, bugs, documentation)

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 22-Jul-2008, 11:31
Puzzled Penguin
 
Join Date: Jul 2008
Posts: 1
brizzy hasn't been rated much yet
Default Jailkit install problems

I tried to setup Jailkit on openSuSE 10.3 but there seems to be a problem with the "/etc/ld.so.conf" file. How should I solve this?
Jailkit - chroot jail utilities

Code:
$ jk_init -j /home/sftproot jk_lsh
Quote:
...
...
...
Copying /etc/jailkit/jk_lsh.ini to /home/sftproot/etc/jailkit/jk_lsh.ini
ldconfig: Can't open configuration file /etc/ld.so.conf: No such file or directory
Reply With Quote
  #2 (permalink)  
Old 28-Aug-2008, 12:34
Puzzled Penguin
 
Join Date: Aug 2008
Posts: 2
camgomez hasn't been rated much yet
Default Re: Jailkit install problems

Got same problem with CentOS and openSUSE. Here is how I solved it:
Added a include section to /etc/jailkit/jk_init.ini:
Code:
[ldconfig]
executables = /sbin/ldconfig
regularfiles = /etc/ld.so.conf
Then in all include sections that included the ld.so.conf file as a regularfile, I changed them like:

Code:
[uidbasics]
# this section probably needs adjustment on 64bit systems
# or non-Linux systems
# regularfiles = /etc/nsswitch.conf /etc/ld.so.conf
comment = common files for all jails that need user/group information
libraries = /lib/libnsl.so.1, /lib64/libnsl.so.1, /lib/libnss*.so.2, /lib64/libnss*.so.2
regularfiles = /etc/nsswitch.conf
includesections = ldconfig
This seems to solve the issue.
Reply With Quote
Reply

Bookmarks


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




 

Search Engine Friendly URLs by vBSEO 3.3.0 RC2