Menu

chroot problem

Help
2006-03-16
2013-04-17
  • Maciek Mikrut

    Maciek Mikrut - 2006-03-16

    Hi,
    I am trying to get libnss-mysql working in chroot environment.
    I have copied /etc & /lib files to the jail directory.
    I have also changed the libnss config file to connect to the local server via tcp.
    However I still cannot get it to work.

    Has anyone done that before? Any pointers?
    Cheers
    Maciek

     
    • Ben Goodwin

      Ben Goodwin - 2006-03-19

      It should be possible -- you'll just need to make sure you have ALL the necessary libraries.  Try running 'ldd' on libnss-mysql.so to see if you're missing anything.  Also make sure the chroot environment can look up things in the chroot'ed /etc/passwd to make sure there's nothing wrong with glibc and supporting libs.

         -=| Ben

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.