Geoff Shang
2004-Aug-06 14:23 UTC
[icecast] YP submission / cURL issue. (icecast 2.0.1 / gentoo)
Hi: I'dve thought that there'd be no need for the libs in the chroot, as icecast starts up first, then chroots. Even if this isn't strictly the case, wouldn't icecast crash if it couldn't pull in the relevant code? This doesn't seem to be happening, at least in this case. Geoff. --- >8 ---- List archives: http://www.xiph.org/archives/ icecast project homepage: http://www.icecast.org/ To unsubscribe from this list, send a message to 'icecast-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
cpickert@t3inc.us
2004-Aug-06 14:23 UTC
[icecast] YP submission / cURL issue. (icecast 2.0.1 / gentoo)
My chroot shouldv'e been configged quite, nsswitch.conf/resolv.conf/hosts, and all libs via the ldd of icecast & bash. What else might one need? -CP <p>Quoting Keegan Quinn <keegan@thebasement.org>:> Content-Type: text/plain; charset=us-ascii > Content-Disposition: inline > Content-Transfer-Encoding: quoted-printable > > On Wed, May 26, 2004 at 07:51:14PM -0600, cpickert@t3inc.us wrote: >> Running without chroot, as root, changing to nobody, and YP works just >> fine.. If >> I come up with a nice howto / rundown of the chroot stuff, I'll get it on >> the >> list. > > Do you have an /etc/resolv.conf inside the chroot? glibc may need that to > figure out where DNS lookups should go, perhaps /etc/nsswitch.conf as well. > You can copy them from the parent host. > > HTH, > > - Keegan<p>--- >8 ---- List archives: http://www.xiph.org/archives/ icecast project homepage: http://www.icecast.org/ To unsubscribe from this list, send a message to 'icecast-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
Brendan Cully
2004-Aug-06 14:23 UTC
[icecast] YP submission / cURL issue. (icecast 2.0.1 / gentoo)
On Thursday, 27 May 2004 at 00:17, cpickert@t3inc.us wrote:> My chroot shouldv'e been configged quite, nsswitch.conf/resolv.conf/hosts, > and > all libs via the ldd of icecast & bash. What else might one need?All libs via ldd probably doesn't include /lib/libnss*. You'll need those too, I believe (or at least libnss_files and libnss_dns).> Quoting Keegan Quinn <keegan@thebasement.org>: > > >Content-Type: text/plain; charset=us-ascii > >Content-Disposition: inline > >Content-Transfer-Encoding: quoted-printable > > > >On Wed, May 26, 2004 at 07:51:14PM -0600, cpickert@t3inc.us wrote: > >>Running without chroot, as root, changing to nobody, and YP works just > >>fine.. If > >>I come up with a nice howto / rundown of the chroot stuff, I'll get it on > >>the > >>list. > > > >Do you have an /etc/resolv.conf inside the chroot? glibc may need that to > >figure out where DNS lookups should go, perhaps /etc/nsswitch.conf as well. > >You can copy them from the parent host. > > > >HTH, > > > > - Keegan > > > List archives: http://www.xiph.org/archives/ > icecast project homepage: http://www.icecast.org/ > To unsubscribe from this list, send a message to 'icecast-request@xiph.org' > containing only the word 'unsubscribe' in the body. No subject is needed. > Unsubscribe messages sent to the list will be ignored/filtered.--- >8 ---- List archives: http://www.xiph.org/archives/ icecast project homepage: http://www.icecast.org/ To unsubscribe from this list, send a message to 'icecast-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.