https://labs.parabola.nu/https://labs.parabola.nu/favicon.ico?15367742552017-05-04T02:04:01ZParabola Issue Trackerlibretools - Bug #1313: [distcc-tool] Job management/error handling isn't robusthttps://labs.parabola.nu/issues/1313?journal_id=78522017-05-04T02:04:01Zlukeshulukeshu@parabola.nu
<ul></ul><p>If I'd written it after <code>indent</code> (the first bit of Perl in libretools), I probably would have written it in Perl. But, I wrote <code>distcc-tool</code> while I was still first learning Perl, and 4 months before <code>indent</code>; 4 months before I evaluated Perl as being safe to use inside a chroot.</p> libretools - Bug #1313: [distcc-tool] Job management/error handling isn't robusthttps://labs.parabola.nu/issues/1313?journal_id=104532018-10-02T17:24:12Zlukeshulukeshu@parabola.nu
<ul></ul><p>Rewriting it in Perl would also allow it to ask the kernel for random unused ports, instead of counting up from 8000. Not that we expect there to be a collision; since it's in the chroot's private network namespace, there shouldn't be anything on any ports.</p> libretools - Bug #1313: [distcc-tool] Job management/error handling isn't robusthttps://labs.parabola.nu/issues/1313?journal_id=104782018-10-04T19:29:48Zlukeshulukeshu@parabola.nu
<ul></ul><p>Wait, the list of ports has to be deterministic across multiple runs of <code>distcc-tool rewrite</code>.</p>