From: Keir Fraser Subject: Re: [PATCH] [Xend] Move some backend configuration Date: Thu, 02 Oct 2008 10:49:34 +0100 Message-ID: References: <18660.38289.438076.522504@mariner.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <18660.38289.438076.522504@mariner.uk.xensource.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Ian Jackson Cc: Pascal Bouchareine , xen-devel@lists.xensource.com, "Daniel P. Berrange" , John Levon List-Id: xen-devel@lists.xenproject.org On 2/10/08 10:34, "Ian Jackson" wrote: > Once again we have this tradeoff: in an old installation which has not > been properly patched or updated, should we > (a) continue to let the system `work' but be vulnerable > (b) make the system report an error so that the administrator > knows that it needs to be fixed. > > At least in this case I suppose we can expect old installations to be > patched _eventually_ ... An update on this: I solved this issue by fiddling permissions in xenstore after all! /local/domain/ is now read-only to the guest, and specific subdirs only are writable (currently device, error and control). This fixes the console vulnerability with no annoying movement of entries, and also gets rid of the new /vm_path entries in xenstore since /l/d//vm can be trusted now. I've compacted the changesets together and backported to 3.3 for 3.3.1. It'll also be an obvious candidate for 3.2 branch if that branch gets an ongoing maintainer. Of course the one downside is that this slightly changes the guest-visible interface since it can't scribble at will in /l/d/ any more. I hope noone was relying on that! If we need to open up some more specific subdirs for write access, I will consider that. -- Keir