Does that node script run properly inside the chroot?
On Thu, Jun 6, 2013 at 5:38 AM, neutrino the <
cneu...@googlemail.com> wrote:
> Hy,
>
> i tried to put node.js and npm into a chroot on a debian machine. for node
> it works fine but i cannot install modules with npm cuz of it seemes to be
> not able to resolve dns. What's weird because in node.js the following code
> works fine:
>
> var dns = require('dns');
>
> dns.resolve4('
www.google.com', function (err, addresses) {
> if (err) throw err;
>
> console.log('addresses: ' + JSON.stringify(addresses));
>
> addresses.forEach(function (a) {
> dns.reverse(a, function (err, domains) {
> if (err) {
> throw err;
> }
>
> console.log('reverse for ' + a + ': ' + JSON.stringify(domains));
> });
> });
> });
>
> here is the log of npm :
>
>
http://pastebin.com/SiTqY4gL
>
> anyone?
>
> --
> --
> Job Board:
http://jobs.nodejs.org/
> Posting guidelines:
>
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
> You received this message because you are subscribed to the Google
> Groups "nodejs" group.
> To post to this group, send email to
nod...@googlegroups.com
> To unsubscribe from this group, send email to
>
nodejs+un...@googlegroups.com
> For more options, visit this group at
>
http://groups.google.com/group/nodejs?hl=en?hl=en
>
> ---
> You received this message because you are subscribed to the Google Groups
> "nodejs" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to
nodejs+un...@googlegroups.com.
> For more options, visit
https://groups.google.com/groups/opt_out.
>
>