WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] bug in dom create script regarding xenstore permission?

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] bug in dom create script regarding xenstore permission?
From: weiming <zephyr.zhao@xxxxxxxxx>
Date: Tue, 14 Jul 2009 13:40:27 -0400
Delivery-date: Tue, 14 Jul 2009 10:41:21 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:from:date:message-id :subject:to:content-type; bh=bMhYqE1OXoeBmjgHAqop00sUOcg/aMT/IkbGBGHWWsE=; b=vM3W5p2flsFLDgsugkPPMIadz3jtWBzs1zl0qaUPY1RAGj7e457mlhSaMyoIQMU3tF 7nfXy7lOUY5h8/LKkKpXUT6Z4thHQj3bOWUdOSM/aOZzH7QOLXpuNl7UdD7RQLMx/Z+6 FzRGQJvA79CJewKqdrpgqm8Q+6GTZCL0HyfNY=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; b=eRLBNWmqXETZqymSHIqkLRKYbueACudnCNt6oWgeXEOVTtTj+4ny0oO8BZ61UAUxd9 SHweefZaaUDlz7Ir5GSmkN3wb5odO64dD+t11Q1ipmxAobRQdy+fuU2z0brp3ih1YP/h ZJpCOPG0zhf8L0G8JKDKgzDtjXS9BYR8OPW2w=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Hi,

I upgraded from xen 3.2 to xen 3.4 and found that in 3.4, I can't write xenstore in domU.
Then, I found that the owner of the /local/domain/<domid> is 0.
That is:
When I used xs_get_permissions to get the permission of "/local/domain/1", I got
(0,0), (1,1)   (dom, perm)
which implies that dom0 is the owner, and dom1 has read-only perm.

in xen 3.2, it returns (1,0), which is correct.

So I guess it might be a bug in the dom create scripts, but I can't find where.

Thanks,
Zephyr








_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel