From: "Dmitry V. Levin" <ldv@altlinux.org>
To: ALT Sisyphus mailing list <sisyphus@lists.altlinux.org>
Subject: Re: [sisyphus] резолвер в чруте
Date: Wed, 10 Apr 2019 20:50:59 +0300
Message-ID: <20190410175059.GC15786@altlinux.org> (raw)
In-Reply-To: <be4f4072-13c2-d6c1-a8b2-f5a1c32339c2@complife.ru>
[-- Attachment #1: Type: text/plain, Size: 1026 bytes --]
On Wed, Apr 10, 2019 at 07:36:15PM +0200, Michael A. Kangin wrote:
> On 04/10/2019 07:29 PM, Dmitry V. Levin wrote:
>
> >> > да и то только если запущен от рута.
> >>
> >> У меня при запуске от пользователя тоже используется чрут.
> >
> > Как вы это определили?
>
> [root@mak-ws ~]# echo '8.8.8.8 test.tld' >>/etc/hosts
> [root@mak-ws ~]# ping test.tld
> ping: unknown host test.tld
> [root@mak-ws ~]# su - mak
> [mak@mak-ws ~]$ ping test.tld
> ping: unknown host test.tld
> [mak@mak-ws ~]$ traceroute test.tld
> traceroute to test.tld (8.8.8.8), 30 hops max, 60 byte packets
> ...
>
> (система - P8)
В p8 да, в Сизифе нет.
Вы же пишете в список рассылки sisyphus@, и все полагают, что то,
что вы пишите, имеет отношение к Сизифу. Оказывается, это не так,
и всё, что вы написали раньше, к Сизифу не относится.
В Сизифе ping настолько непривилегированный, что не может использовать
/var/resolv как чрут, за исключением случаев, когда запущен
привилегированным пользователем.
--
ldv
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 801 bytes --]
next prev parent reply other threads:[~2019-04-10 17:50 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-04-09 0:09 [sisyphus] резолвер Michael A. Kangin
2019-04-09 0:15 ` Dmitry V. Levin
2019-04-09 12:47 ` Sergey
2019-04-09 13:42 ` Dmitry V. Levin
2019-04-10 14:50 ` Michael A. Kangin
2019-04-10 15:06 ` Dmitry V. Levin
2019-04-10 16:58 ` [sisyphus] резолвер в чруте Michael A. Kangin
2019-04-10 17:05 ` Dmitry V. Levin
2019-04-10 17:24 ` Michael A. Kangin
2019-04-10 17:29 ` Dmitry V. Levin
2019-04-10 17:36 ` Michael A. Kangin
2019-04-10 17:50 ` Dmitry V. Levin [this message]
2019-04-10 18:10 ` Michael A. Kangin
2019-04-10 18:18 ` Mikhail Efremov
2019-04-10 17:36 ` Sergey
2019-04-12 5:35 ` Eugene Prokopiev
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=20190410175059.GC15786@altlinux.org \
--to=ldv@altlinux.org \
--cc=sisyphus@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 Sisyphus discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/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 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
public-inbox-index sisyphus
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.sisyphus
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git