Didn't realize it was this simple:
[code 16:02] Dorn :) http://www.perlmonks.org/index.pl?node_id=181126. [code 16:03] Arren@Anarres II: Ohhhhhh. [code 16:03] Arren@Anarres II: Now I see the trace, it's obvious. [code 16:04] Arren@Anarres II: getprotobyname is a C library call whic +h reads /etc/protocols, which is not available in your chroot. [code 16:04] Arren@Anarres II hits himself with a stick. [code 16:04] CyberTiger@Anarres II slaps Arren@Anarres II. (from Cyber +Tiger@Anarres II) [code 16:04] CyberTiger@Anarres II: yoou shoulda known that :P. [code 16:04] Arren@Anarres II: Thankyou. I suck goats off for fun. But + that's the problem. [code 16:05] CyberTiger@Anarres II: don't get yourself confused with A +l. [code 16:05] Arren@Anarres II: You might be able to just use 6 instead + of 'tcp'. [code 16:06] CyberTiger@Anarres II: so turn /etc/protocols into a #def +ine, there's a #define for the protocol number for tcp anyway. [code 16:07] Arren@Anarres II hits CyberTiger. 1. This is Perl. 2. The + number for TCP isn't going to change this week. 3. What? 4.

In reply to Re: Obscure IO::Socket poop under a chroot Help Help Help! by jettero
in thread Obscure IO::Socket getprotobyname problem under a chroot by jettero

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.