From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28150 invoked by alias); 11 Feb 2015 16:14:15 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 34507 Received: (qmail 24957 invoked from network); 11 Feb 2015 16:14:03 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 X-CMAE-Score: 0 X-CMAE-Analysis: v=2.1 cv=QM3fnbPO c=1 sm=1 tr=0 a=FT8er97JFeGWzr5TCOCO5w==:117 a=kj9zAlcOel0A:10 a=q2GGsy2AAAAA:8 a=oR5dmqMzAAAA:8 a=-9mUelKeXuEA:10 a=0HtSIViG9nkA:10 a=ocaq9udsygDXhSy_dykA:9 a=CjuIK1q_8ugA:10 a=gL07tUiEwjoA:10 a=JZ-1ZXOZwLAA:10 From: Bart Schaefer Message-id: <150211081345.ZM17542@torch.brasslantern.com> Date: Wed, 11 Feb 2015 08:13:45 -0800 In-reply-to: <20150211101130.2ac4d9b5@pwslap01u.europe.root.pri> Comments: In reply to Peter Stephenson "Re: Zsh scripts leave defunct processes when running under docker exec" (Feb 11, 10:11am) References: <20150211101130.2ac4d9b5@pwslap01u.europe.root.pri> X-Mailer: OpenZMail Classic (0.9.2 24April2005) To: "zsh-workers@zsh.org" Subject: Re: Zsh scripts leave defunct processes when running under docker exec Cc: Soares Chen MIME-version: 1.0 Content-type: text/plain; charset=us-ascii On Feb 11, 10:11am, Peter Stephenson wrote: } } If that *is* it, is it just a case of special-casing PID 1 not to do } "fake" execs? That's not so hard and shouldn't be problematic in other } cases. That would help, but I don't think that's everything, because zsh would still not reap background grandchildren of children which exited first. In fact I don't even know how it *could* do that; we've reached the limit of my current knowledge of docker / PID namespaces.