All of lore.kernel.org
 help / color / mirror / Atom feed
From: Vincent Hanquez <vincent.hanquez@eu.citrix.com>
To: weiming <zephyr.zhao@gmail.com>
Cc: "xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>
Subject: Re: bug in dom create script regarding xenstore permission?
Date: Wed, 15 Jul 2009 11:30:13 +0100	[thread overview]
Message-ID: <4A5DAFB5.8040300@eu.citrix.com> (raw)
In-Reply-To: <add59a3f0907141105r6cb76ce3md272351f199614ac@mail.gmail.com>

weiming wrote:
> 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.
I don't really know how to do that exactly; you have to look at where 
the /local/domain/<domid>/ entry get created, and put an explicit 
setperm there.

However I think changing your script in a domU is the way forward. there 
are other place in xenstore (have a look at maybe /vm/<uuid>/ and 
/local/domain/<domid>/*/ ) that are still writable.

-- 
Vincent

  reply	other threads:[~2009-07-15 10:30 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-14 17:40 bug in dom create script regarding xenstore permission? weiming
2009-07-14 17:45 ` Vincent Hanquez
2009-07-14 18:05   ` weiming
2009-07-15 10:30     ` Vincent Hanquez [this message]
2009-07-15 12:52       ` weiming

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=4A5DAFB5.8040300@eu.citrix.com \
    --to=vincent.hanquez@eu.citrix.com \
    --cc=xen-devel@lists.xensource.com \
    --cc=zephyr.zhao@gmail.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.