From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Campbell Subject: Re: [PATCH 1/2] tools/hotplug: introduce XENSTORED_ARGS= in sysconfig file. Date: Wed, 7 Jan 2015 16:44:00 +0000 Message-ID: <1420649040.18631.121.camel@citrix.com> References: <1420648653-14150-1-git-send-email-olaf@aepfle.de> <1420648653-14150-2-git-send-email-olaf@aepfle.de> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1420648653-14150-2-git-send-email-olaf@aepfle.de> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Olaf Hering Cc: m.a.young@durham.ac.uk, Ian Jackson , Stefano Stabellini , Wei Liu , xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org On Wed, 2015-01-07 at 17:37 +0100, Olaf Hering wrote: > It is already used in the runlevel script and the service file. > It is supposed to replace XENSTORED_TRACE= boolean, which cant be easily > supported in the xenstored.service file. > > Signed-off-by: Olaf Hering > Cc: Ian Jackson > Cc: Stefano Stabellini > Cc: Ian Campbell > Cc: Wei Liu > --- > tools/hotplug/Linux/init.d/sysconfig.xencommons.in | 8 ++++++++ > 1 file changed, 8 insertions(+) > > diff --git a/tools/hotplug/Linux/init.d/sysconfig.xencommons.in b/tools/hotplug/Linux/init.d/sysconfig.xencommons.in > index c12fc8a..f0fa98d 100644 > --- a/tools/hotplug/Linux/init.d/sysconfig.xencommons.in > +++ b/tools/hotplug/Linux/init.d/sysconfig.xencommons.in > @@ -21,6 +21,14 @@ > #XENSTORED=@XENSTORED@ > > ## Type: string > +## Default: "" > +# > +# Additional commandline arguments to start xenstored, > +# like "--trace-file /var/log/xen/xenstored-trace.log" > +# See "@sbindir@/xenstored --help" for possible options. I think you want $XENSTORED here (back reference to the above) to cope with the possible use of oxenstored. Alternatively @XENSTORED@ would cause this to refer to the default xenstored implementation, but I don't think that's quite right. (TBH, saying "see foo --help for options" almost doesn't need saying) > +XENSTORED_ARGS= > + > +## Type: string > ## Default: Not defined, tracing off > # > # Log xenstored messages > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xen.org > http://lists.xen.org/xen-devel