kvm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Sasha Levin <levinsasha928@gmail.com>
To: Pekka Enberg <penberg@cs.helsinki.fi>
Cc: kvm@vger.kernel.org, mingo@elte.hu, asias.hejun@gmail.com,
	gorcunov@gmail.com
Subject: Re: [PATCH 2/2] kvm tools: Use host's resolv.conf within the guest
Date: Thu, 15 Sep 2011 09:04:16 +0300	[thread overview]
Message-ID: <1316066656.3743.6.camel@lappy> (raw)
In-Reply-To: <CAOJsxLG7dQXD_iq5dar-uswGeS564qWLwxzceWSJTp16TooAVA@mail.gmail.com>

On Thu, 2011-09-15 at 09:04 +0300, Pekka Enberg wrote:
> On Thu, Sep 15, 2011 at 9:00 AM, Sasha Levin <levinsasha928@gmail.com> wrote:
> > Hm? If you it to the host's resolv.conf, a guest can edit host's file,
> > no?
> >
> > Might even be not on purpose... For example, simply running dhcpcd on
> > the guest.
> 
> How is that going to happen if you're not running kvmtool as root?

In that case, dhcpcd in the guest will simply break because it can't
modify resolv.conf, no?

-- 

Sasha.


  reply	other threads:[~2011-09-15  6:04 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-14 16:28 [PATCH 1/2] kvm tools: Don't copy network autoconfiguration script Sasha Levin
2011-09-14 16:28 ` [PATCH 2/2] kvm tools: Use host's resolv.conf within the guest Sasha Levin
2011-09-15  5:29   ` Pekka Enberg
2011-09-15  5:36     ` Sasha Levin
2011-09-15  5:44       ` Pekka Enberg
2011-09-15  6:00         ` Sasha Levin
2011-09-15  6:04           ` Pekka Enberg
2011-09-15  6:04             ` Sasha Levin [this message]
2011-09-15  6:22               ` Pekka Enberg
2011-09-15  7:11                 ` Sasha Levin

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=1316066656.3743.6.camel@lappy \
    --to=levinsasha928@gmail.com \
    --cc=asias.hejun@gmail.com \
    --cc=gorcunov@gmail.com \
    --cc=kvm@vger.kernel.org \
    --cc=mingo@elte.hu \
    --cc=penberg@cs.helsinki.fi \
    /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
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).