[Icecast] Bug, if you combine yp-dir-listing and chroot
karl at xiph.org
Tue Oct 5 05:34:48 PDT 2004
On Tue, 2004-10-05 at 10:42, Leo Willner wrote:
> Hi out there,
> I just compiled the latest icecast2 and tried to use chroot and
> yp-dir-listing together, but it doesn't work. Yp-dir-listing itself works
> fine. I use a SuSE 8.2 and older libs (curl 7.10, libogg and lib vorbis
> araound 1.0.95) that should still be in the combatibility-range, as far as
> I can read on icecasts homepage. I hope there will be a fix for that bug
> in the future.
If something doesn't work when chroot is in effect and ok when not then
it's more than likely to be a chroot environment problem. Icecast will
use system services to perform operations.
I would guess for YP, the ability to make a connection to another server
is causing the problem, which entails the DNS lookup. I suspect you do
not have the /etc files setup correctly in the chroot jail.
More information about the Icecast