From: Denis Kirienko <Denis.Kirienko@gmail.com> To: community@lists.altlinux.org Subject: [Comm] Re: проблема: DNS && pppoe Date: Sun, 11 Dec 2005 22:00:27 +0300 Message-ID: <dnht0i$1sf$1@sea.gmane.org> (raw) In-Reply-To: <439C70F2.1090809@altlinux.ru> Aleksandr Blokhin wrote: >> Проблема: при подключении через ppp ping не умеет ресольвить имена >> хостов. >> Проблема не в update_chrooted (оно срабатывает нормально, команда >> resolve работает нормально), не в правах (от рута - то же самое), не в >> resolve (опять-таки, resolve работает нормально). Похоже, что проблема >> в ping, в том, как ping вызывает gethostbyname. >> >> Сейчас пересобрал ping с ключом -g, запустил под gdb. Оказалось, что >> при вызове gethostbyname("www.ya.ru") из ping возвращается 0, при >> этом h_errno==2, что означает >> #define TRY_AGAIN 2 /* Non-Authoritative Host not found, >> or SERVERFAIL. */ > > ping сидит в chroot (по крайней мере раньше так было). Может быть в этом > проблема? Да, сейчас пересобрал ping, закомментировав вызововы chroot и он начал работать нормально. Какой наилучший выход из этого положения? Может быть, ему в chroot какой-то библиотеки не хватает, надо ее в /var/resolv засунуть? -- Денис
next prev parent reply other threads:[~2005-12-11 19:00 UTC|newest] Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top 2005-12-08 8:36 [Comm] " Ivan 2005-12-08 8:55 ` [Comm] " Michael Shigorin 2005-12-08 9:51 ` [Comm] " Aleksandr Blokhin 2005-12-09 8:01 ` Ivan 2005-12-09 9:18 ` Aleksandr Blokhin 2005-12-09 9:52 ` Ivan 2005-12-09 10:19 ` Aleksandr Blokhin 2005-12-09 11:01 ` Ivan 2005-12-11 16:27 ` [Comm] " Denis Kirienko 2005-12-11 18:33 ` Aleksandr Blokhin 2005-12-11 19:00 ` Denis Kirienko [this message] 2005-12-11 19:59 ` [Comm] Re: проблема: DNS && pppoe : source of the problem Denis Kirienko 2005-12-11 21:38 ` Michael Shigorin 2005-12-11 22:34 ` Denis Kirienko 2005-12-11 22:03 ` Aleksandr Blokhin 2005-12-11 22:40 ` Denis Kirienko 2005-12-11 19:58 ` [Comm] readcd Dmitry A. Kharitonov 2005-12-11 18:35 ` Alex Yustasov 2005-12-11 21:49 ` Dmitry A. Kharitonov 2005-12-11 19:32 ` Alex Yustasov 2005-12-16 16:20 ` Dmitry A. Kharitonov 2005-12-16 13:28 ` Alexey V. Novikov 2005-12-20 9:04 ` Dmitry A. Kharitonov 2005-12-20 9:52 ` [Comm] readcd Vitaly Ostanin 2006-01-04 22:59 ` [Comm] readcd Dmitry A. Kharitonov
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to='dnht0i$1sf$1@sea.gmane.org' \ --to=denis.kirienko@gmail.com \ --cc=community@lists.altlinux.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
ALT Linux Community general discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 community community/ http://lore.altlinux.org/community \ mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com public-inbox-index community Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.community AGPL code for this site: git clone https://public-inbox.org/public-inbox.git