From: ShaunR <mailinglists@unix-scripts.com>
Cc: xen-devel@lists.xensource.com
Subject: Re: [PATCH] for xend init script and xend python script
Date: Tue, 26 Oct 2010 10:38:42 -0700 [thread overview]
Message-ID: <4CC71222.2070203@unix-scripts.com> (raw)
In-Reply-To: <19655.13.392293.144506@mariner.uk.xensource.com>
On 10/26/2010 9:21 AM, Ian Jackson wrote:
> ShaunR writes ("[Xen-devel] [PATCH] for xend init script and xend
python script"):
>> This patch does the following, hopefully it will be added to future
>> versions.
>>
>> * xend init script will now send SIGINT to xenconsoled when stop is
>> issued so that the xenconsoled daemon is also stopped (this is required
>> if the new options below are added to /etc/sysconfig/xend
>
> This is handled by a new "xencommons" script in xen-unstable
> I think ?
Actually looks like it, i didnt check unstable sorry.
>
>> * /etc/sysconfig/xend has additional these additional cosnole options
>> since the xend init script starts xenconsoled.
>> XENCONSOLED_LOG=(none|guest|hv|all)
>> XENCONSOLED_LOGDIR=PATH
>> XENCONSOLED_TIMESTAMP=(none|guest|hv|all)
>> XENCONSOLED_OVERFLOW=(discard|keep)
>> XENCONSOLED_PIDFILE=PATH
>
> Perhaps it would be better to have a single XENCONSOLED_OPTIONS
> variable ?
I see in the new xencommons that there's a XENCONSOLED_ARGS env which
could hold all this info and be set in /etc/sysconfig/xencommons but I'm
worried about it being overwritten by some of the checks in the script.
69 echo Starting xenconsoled...
70 test -z "$XENCONSOLED_TRACE" || XENCONSOLED_ARGS="
--log=$XENCONSOLED_TRACE"
71 xenconsoled --pid-file=$XENCONSOLED_PIDFILE $XENCONSOLED_ARGS
72 test -z "$XENBACKENDD_DEBUG" || XENBACKENDD_ARGS="-d"
73 test "`uname`" != "NetBSD" || xenbackendd $XENBACKENDD_ARGS
74 }
Either way works i guess, i like separate options because i think it's
easier for people to write automated scripts against to ensure the
options they want are enabled.
Thanks!
~Shaun
next prev parent reply other threads:[~2010-10-26 17:38 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-22 19:47 [PATCH] for xend init script and xend python script ShaunR
2010-10-26 16:21 ` Ian Jackson
2010-10-26 17:38 ` ShaunR [this message]
2010-10-27 16:14 ` Ian Jackson
2010-10-29 17:57 ` Shaun Reitan
2010-10-29 18:02 ` Ian Jackson
2010-10-29 18:03 ` Ian Jackson
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=4CC71222.2070203@unix-scripts.com \
--to=mailinglists@unix-scripts.com \
--cc=xen-devel@lists.xensource.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.