Received: from eggs.gnu.org ([2001:4830:134:3::10]:35712) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XtG2V-0007FI-VY for qemu-devel@nongnu.org; Tue, 25 Nov 2014 08:20:24 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XtG2L-0000tP-Op for qemu-devel@nongnu.org; Tue, 25 Nov 2014 08:20:19 -0500 Received: from mx1.redhat.com ([209.132.183.28]:58707) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XtG2L-0000so-Fw for qemu-devel@nongnu.org; Tue, 25 Nov 2014 08:20:09 -0500 From: Markus Armbruster References: <1416910178-5088-1-git-send-email-mreitz@redhat.com> <87k32jii7e.fsf@blackfin.pond.sub.org> <54747629.8060709@redhat.com> Date: Tue, 25 Nov 2014 14:20:03 +0100 In-Reply-To: <54747629.8060709@redhat.com> (Max Reitz's message of "Tue, 25 Nov 2014 13:29:29 +0100") Message-ID: <87sih7fmd8.fsf@blackfin.pond.sub.org> MIME-Version: 1.0 Content-Type: text/plain Subject: Re: [Qemu-devel] [PATCH 0/3] iotests: Fix test 039 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Max Reitz Cc: Kevin Wolf , Fam Zheng , Michael =?utf-8?Q?M=C3=BCller?= , Mao Chuan Li , qemu-devel@nongnu.org, Stefan Hajnoczi Max Reitz writes: > On 2014-11-25 at 13:21, Markus Armbruster wrote: >> Max Reitz writes: >> >>> Test 039 used to fail >> I'm confused: "used to" suggests it doesn't anymore, but you sending a >> patches strongly suggests something's broken. > > Well, it used to fail before this series. :-P > > You're right, this sounds bad. Currently, 039 does fail, at least on > any system with a /proc/sys/kernel/core_pattern passing the dump to > another program. After this series, it does no longer. > >>> because qemu-io -c abort may generate core dumps >>> even with ulimit -c 0 (and the output then contains "(core dumped)"). >> How? > > See the patches[1][2] by Mao Chuan Li. If > /proc/sys/kernel/core_pattern passes the dump to another program, > ulimit -c 0 does not matter. > > [1] http://lists.nongnu.org/archive/html/qemu-devel/2014-11/msg02092.html > [2] http://lists.nongnu.org/archive/html/qemu-devel/2014-11/msg02093.html > > The problem with those patches is that they require access to > /proc/sys/kernel/core_pattern. I don't like having to run the iotests > as root. To me, this sounds like a case of "doctor, it hurts when I do this".