|
|
|
|
|
|
|
|
|
|
xen-devel
Re: [Xen-devel] bug in dom create script regarding xenstore permission?
Hi Vincent,
Thanks for letting me know.
Is their any way to override this default behavior? I have a script in domU, which is supposed to post some info to xenstore after it boots up. Yes, I can manually grant permission after I create a guest domain, but I wish I could automated it.
Thanks, Weiming
On Tue, Jul 14, 2009 at 1:45 PM, Vincent Hanquez <vincent.hanquez@xxxxxxxxxxxxx> wrote:
weiming wrote:
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.
Hi weiming,
it's not a bug. the behavior that you are seeing in 3.2 was a security issue. 3.4 got the issue fixed.
Cheers,
--
Vincent
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
|
|
|
|