Re: [PATCH 2/2] kvm tools: Use host's resolv.conf within the guest

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 2011-09-15 at 08:44 +0300, Pekka Enberg wrote:
> On 9/15/11 8:36 AM, Sasha Levin wrote:
> > On Thu, 2011-09-15 at 08:29 +0300, Pekka Enberg wrote:
> >> On Wed, Sep 14, 2011 at 7:28 PM, Sasha Levin<levinsasha928@xxxxxxxxx>  wrote:
> >>> Since kernel IP autoconfiguration doesn't set up /etc/resolv.conf, we'll
> >>> use the one located within the host, since this was anyway what we simulated
> >>> within the DHCP offer packets.
> >>>
> >>> Signed-off-by: Sasha Levin<levinsasha928@xxxxxxxxx>
> >>
> >> Wouldn't a symlink to /host/etc/resolv.conf be more appropriate?
> >> Remember, we're supposed to only need to setup the shared rootfs once.
> >
> > It would mean the guest can screw up with the host's networking.
> 
> How? You're not supposed to run the tool.

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.

-- 

Sasha.

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux