public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
From: Subrata Modak <subrata@linux.vnet.ibm.com>
To: "Serge E. Hallyn" <serue@us.ibm.com>
Cc: ltp-list <ltp-list@lists.sourceforge.net>,
	Gowrishankar <gowrishankar.m@linux.vnet.ibm.com>,
	gowrishankar.muthukrishna@gmail.com,
	Sukadev Bhattiprolu <sukadev@linux.vnet.ibm.com>,
	Nadia Derbey <Nadia.Derbey@bull.net>
Subject: Re: [LTP] [PATCH] testcase pidns20, pidns21 on pid namespace
Date: Wed, 11 Nov 2009 21:29:42 +0530	[thread overview]
Message-ID: <1257955182.27679.14.camel@subratamodak.linux.ibm.com> (raw)
In-Reply-To: <20091111001059.GA30122@us.ibm.com>

On Tue, 2009-11-10 at 18:10 -0600, Serge E. Hallyn wrote: 
> Quoting Rishikesh (risrajak@linux.vnet.ibm.com):
> > Subrata Modak wrote:
> > > On Mon, 2009-02-16 at 10:59 +0530, Subrata Modak wrote: 
> > >   
> > >> Thanks Suka,
> > >>
> > >> On Sat, 2009-02-14 at 12:31 -0800, Sukadev Bhattiprolu wrote:
> > >>     
> > >>> Subrata Modak [subrata@linux.vnet.ibm.com] wrote:
> > >>> | 
> > >>> | > > pidns21:
> > >>> | > >    The pidns21.c testcase verifies that container-init is terminated
> > >>> | > >    by SIGUSR1 when:
> > >>> | > >       - a handler is specified for SIGUSR1,
> > >>> | > >       - container-init blocks SIGUSR1,
> > >>> | > >       - parent queues SIGUSR1 and
> > >>> | > >       - handler for SIGUSR1 is set to system default before SIGUSR1 is 
> > >>> | > > unblocked.
> > >>>
> > >>> I know I had acked this test before, but back then the actual implementation
> > >>> of the signal semantics in the kernel were not complete.
> > >>>
> > >>> To simplify the implementation of the semantics, it was decided that
> > >>> SIGKILL/SIGSTOP would be the only reliable signals from a parent
> > >>> container. IOW, container-init would ignore SIGUSR1 or SIGINT, SIGQUIT
> > >>> etc even if sent from a parent container.
> > >>>
> > >>> See patchset/discussion:
> > >>>
> > >>> 	http://lkml.org/lkml/2009/1/17/131
> > >>>
> > >>> (which is not yet merged, but appears to be close to consensus)
> > >>>
> > >>> The  rationale for this simplification is that any serious
> > >>> 'container-init' would explicitly SIG_IGN all signals that it is
> > >>> not interested in. So the only signals that would be in SIG_DFL
> > >>> state would be SIGKILL/SIGSTOP.
> > >>>
> > >>> Effectively, testcase pidns21 will fail if/when the above patchset
> > >>> (specifically, patch 5/6) is merged.
> > >>>       
> > >> Gowri,
> > >>
> > >> Kindly update this test when the patch makes into next stable kernel
> > >> release.
> > >>     
> > >
> > > Suka/Gowri,
> > >
> > > Are we still looking into these tests ?
> > >   
> > 
> > 
> > Anyone still looking into it ? Still i am getting failure for pidns21 
> > with latest ltp release.
> 
> The patch in question is upstream, so pidns21.c will always
> fail and should be removed from ltp.

Ok. I did that just now.

Regards--
Subrata

> 
> It's worth testing that the container init survives SIGUSR1
> from a child, but whether it survives or dies from a parent
> we don't particularly care.
> 
> -serge


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

      reply	other threads:[~2009-11-11 16:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <4948C6E4.8080801@linux.vnet.ibm.com>
     [not found] ` <49491512.9000905@linux.vnet.ibm.com>
     [not found]   ` <1229578051.5149.11.camel@subratamodak.linux.ibm.com>
     [not found]     ` <20090214203139.GA10969@us.ibm.com>
     [not found]       ` <1234762145.7791.13.camel@subratamodak.linux.ibm.com>
2009-06-23 14:48         ` [LTP] [PATCH] testcase pidns20, pidns21 on pid namespace Subrata Modak
2009-11-10  5:16           ` Rishikesh
2009-11-11  0:10             ` Serge E. Hallyn
2009-11-11 15:59               ` Subrata Modak [this message]

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=1257955182.27679.14.camel@subratamodak.linux.ibm.com \
    --to=subrata@linux.vnet.ibm.com \
    --cc=Nadia.Derbey@bull.net \
    --cc=gowrishankar.m@linux.vnet.ibm.com \
    --cc=gowrishankar.muthukrishna@gmail.com \
    --cc=ltp-list@lists.sourceforge.net \
    --cc=serue@us.ibm.com \
    --cc=sukadev@linux.vnet.ibm.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox