OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Subject: chroot-problem on Linux (glibc-2.1.2)
From: Ralf Hildebrandt (R.Hildebrandttu-bs.de)
Date: Mon Feb 07 2000 - 03:24:26 CST


Today I gave my first spin and tried to install Postfix 19991231-pl04
chrooted on a freshly installed RedHat 6.1 box.

It worked flawlessly when not running chrooted.

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..

-- 
Ralf Hildebrandt <R.Hildebrandttu-bs.de> www.stahl.bau.tu-bs.de/~hildeb
We can't prove that God exists. However, we can prove that if God does
exist, he's pretty good at math. In fact, we can prove that even if
God doesn't exist, he's still pretty good at math.