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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
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