Re: Bug#293239: wu-ftpd: requires additional files in chroot on x86-64
On Tue, Feb 22, 2005 at 03:21:51PM -0800, ryan@ocf.berkeley.edu wrote:
> On Tue, Feb 22, 2005 at 10:47:36PM +0000, Chris Butler wrote:
> > Do these files appear in the output of "ldd /bin/ls"? If so, it should
> > be easy for the addftpuser script to copy them automatically. I have
> > modified it to check whether it needs to copy the files to lib or lib64.
> # ldd /bin/ls
> librt.so.1 => /lib/librt.so.1 (0x0000002a9566c000)
> libacl.so.1 => /lib/libacl.so.1 (0x0000002a95774000)
> libc.so.6 => /lib/libc.so.6 (0x0000002a9587b000)
> libpthread.so.0 => /lib/libpthread.so.0 (0x0000002a95aba000)
> /lib64/ld-linux-x86-64.so.2 => /lib64/ld-linux-x86-64.so.2 (0x0000002a95556000)
> libattr.so.1 => /lib/libattr.so.1 (0x0000002a95bcf000)
In the new version of wu-ftpd's "addftpuser" script, it checks the ldd
output for libraries in /lib64 as well as /lib, and copies them to
/home/ftp/lib64 if they are required.
Since ldd does report the required library from /lib64, it should be
automatically copied across by the script.
--
Chris Butler <chrisb@debian.org>
Debian WU-FTPD package maintainer
GnuPG Key ID: 1024D/D097A261
Reply to: