|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Subject: Re: chroot-problem on Linux (glibc-2.1.2)
From: Carsten Hoeger (choeger
suse.de)Date: Mon Feb 07 2000 - 04:12:25 CST
- Next message: Ralf Hildebrandt: "Re: qmail, from bugtraq"
- Previous message: furio ercolessi: "Re: qmgr logging breaks"
- In reply to: Ralf Hildebrandt: "chroot-problem on Linux (glibc-2.1.2)"
- Next in thread: Liviu Daia: "Re: chroot-problem on Linux (glibc-2.1.2)"
- Reply: Carsten Hoeger: "Re: chroot-problem on Linux (glibc-2.1.2)"
- Reply: Liviu Daia: "Re: chroot-problem on Linux (glibc-2.1.2)"
- Reply: Marco d'Itri: "Re: chroot-problem on Linux (glibc-2.1.2)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Mon, Feb 07, Ralf Hildebrandt wrote:
> Unfortunately, when running chrooted, postfix failed to resolve the hostname
> of the mailhub it was supposed to send all mail to.
>
> examples/chroot-setup/LINUX2 (which can't be run twice, BTW :( ) copies the
> following files into the queue-directory:
>
> /etc/localtime
> /etc/services
> /etc/resolv.conf
>
> /usr/lib/zoneinfo
> /lib/nss_dns.so.1
>
> Doesn't seem to be sufficient.
>
> Question: How can I find out WHICH files are missing? Adding -v to the
> entries in master.cf doesn't yield much information. I thought of strace'ing
> the processes..
After some experiments, I found out, that this set of libraries do the
job:
/lib/libnss_dns*
/lib/libnss_db*
/lib/libnss_files*
/lib/libresolv*
/lib/libdb*
And don't forget nsswitch.conf, it's also needed (IMHO).
-- mit freundlichen Gruessen,Carsten Hoeger - SuSE Professional Services -
SuSE GmbH, Schanzaeckerstr. 10, 90443 Nuernberg, Germany Tel: +49-911-7405356 Mo-Fr 09-17.00, Fax: +49-911-3206727 http://www.suse.de/de/support/prof/index.html
- Next message: Ralf Hildebrandt: "Re: qmail, from bugtraq"
- Previous message: furio ercolessi: "Re: qmgr logging breaks"
- In reply to: Ralf Hildebrandt: "chroot-problem on Linux (glibc-2.1.2)"
- Next in thread: Liviu Daia: "Re: chroot-problem on Linux (glibc-2.1.2)"
- Reply: Carsten Hoeger: "Re: chroot-problem on Linux (glibc-2.1.2)"
- Reply: Liviu Daia: "Re: chroot-problem on Linux (glibc-2.1.2)"
- Reply: Marco d'Itri: "Re: chroot-problem on Linux (glibc-2.1.2)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]