bugJailkit - Bugs: bug #38596, New library path in Debian Wheezy


bug #38596: New library path in Debian Wheezy

Submitted by:  None
Submitted on:  Tue 26 Mar 2013 12:16:02 PM UTC  
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: Closed

Add a New Comment(Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Fri 12 Apr 2013 08:00:25 PM UTC, comment #1:

this has been fixed in cvs, thanks for reporting

sorry for the late reply

Olivier Sessink <oli4>
Project Administrator
Tue 26 Mar 2013 12:16:02 PM UTC, original submission:

At least on Debian Wheezy 64-bit many libraries moved from /lib/ to /lib/x86_64-linux-gnu/.

Therefore i would recommend to include this additional path in jk_init.ini. Otherwise libnss depending services won't work as expected (whoami, sftp, ...).

This is the patch:

--- jk_init.ini.orig 2013-03-26 13:05:07.593511512 +0100
+++ jk_init.ini 2013-03-26 13:05:18.477511942 +0100
@@ -2,12 +2,12 @@
# this section probably needs adjustment on 64bit systems
# or non-Linux systems
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
+libraries = /lib/libnsl.so.1, /lib64/libnsl.so.1, /lib/libnss.so.2, /lib64/libnss.so.2, /lib/x86_64-linux-gnu/libnsl.so.1, /lib/x86_64-linux-gnu/libnss*.so.2
regularfiles = /etc/nsswitch.conf, /etc/ld.so.conf

comment = common files for all jails that need any internet connectivity
-libraries = /lib/libnss_dns.so.2, /lib64/libnss_dns.so.2
+libraries = /lib/libnss_dns.so.2, /lib64/libnss_dns.so.2, /lib/x86_64-linux-gnu/libnss_dns.so.2
regularfiles = /etc/resolv.conf, /etc/host.conf, /etc/hosts, /etc/protocols




(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by oli4 (Posted a comment)

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.


    Please enter the title of George Orwell's famous dystopian book (it's a date):



    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 12 Apr 2013 08:00:33 PM UTColi4StatusNone=>Fixed

    Back to the top

    Powered by Savane 3.1-cleanup1