From: Vivek Goyal <vgoyal-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
To: Baoquan He <bhe-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
Cc: Harald Hoyer <harald-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>,
initramfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
WANG Chao <chaowang-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
Subject: Re: [PATCH] Change the implementation of action_on_fail
Date: Thu, 1 Aug 2013 10:54:25 -0400 [thread overview]
Message-ID: <20130801145425.GE15979@redhat.com> (raw)
In-Reply-To: <20130801142445.GB8230-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
On Thu, Aug 01, 2013 at 10:24:45PM +0800, Baoquan He wrote:
> On 07/31/13 at 04:31pm, Harald Hoyer wrote:
> > On 07/31/2013 04:29 PM, Vivek Goyal wrote:
> > > On Wed, Jul 31, 2013 at 04:25:57PM +0200, Harald Hoyer wrote:
> > >
> > > Hi Harald,
> > >
> > > Do you still like the parameter name "rd.action_on_fail". I think a new
> > > parameter say, "rd.no_emergecny_shell" might make more sense to reflect
> > > what we are doing.
> > >
> > > If you like it, I can request bao to post a new patch and make appropriate
> > > changes.
> > >
> > > Thanks
> > > Vivek
> > >
> >
> > You can add the rd.no_emergency_shell parser in your kdump module and touch the
> > marker file. I think that gives you more flexibility for runtime decisions.
> > You can just add and remove that file on will.
> Hi Vivek,
>
> I agree with Harald, there's no need to add a parameter into dracut any
> more. Because currently only 2 actions are taken, 1 is emergency-shell,
> the other is continue. We can just put a file as switch, if the file exists,
> all failed action doesn't trigger emergency shell before Kdump, just
> continue.
>
> If you want several more actions, E.g reboot or others, we can put them
> into this file. Then in Kdump module, we can read the content and parse.
> As for modules before Kdump, they don't feel it. I think this can extend
> the 'default action' flexibly. This keep our reliability on dracut at the
> least.
>
> How do you think about it?
Bao,
Ok, status quo is fine for the time being.
Thanks
Vivek
next prev parent reply other threads:[~2013-08-01 14:54 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-23 10:16 [PATCH] Change the implementation of action_on_fail Baoquan He
[not found] ` <73cc07330929ba4b226f2a0623a5459cd42932b9.1374574542.git.bhe-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2013-07-23 10:25 ` Baoquan
2013-07-31 14:07 ` Harald Hoyer
[not found] ` <51F91A14.4020601-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2013-07-31 14:20 ` Vivek Goyal
[not found] ` <20130731142050.GG31151-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2013-07-31 14:25 ` Harald Hoyer
[not found] ` <51F91E75.3070102-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2013-07-31 14:29 ` Vivek Goyal
[not found] ` <20130731142905.GH31151-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2013-07-31 14:31 ` Harald Hoyer
[not found] ` <51F91FAC.50706-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2013-08-01 14:24 ` Baoquan He
[not found] ` <20130801142445.GB8230-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
2013-08-01 14:54 ` Vivek Goyal [this message]
2013-08-01 14:54 ` WANG Chao
2013-07-31 14:27 ` Vivek Goyal
2013-08-01 13:48 ` Vivek Goyal
-- strict thread matches above, loose matches on Subject: below --
2013-07-22 11:32 Baoquan He
[not found] ` <8a7ac3492f63fd2a5fa7ee57d9b9e7c8c2dd305c.1374492675.git.bhe-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2013-07-23 9:53 ` Baoquan
2013-07-23 10:14 ` Baoquan
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=20130801145425.GE15979@redhat.com \
--to=vgoyal-h+wxahxf7alqt0dzr+alfa@public.gmane.org \
--cc=bhe-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org \
--cc=chaowang-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org \
--cc=harald-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org \
--cc=initramfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox