From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0C36FC4332F for ; Fri, 4 Nov 2022 01:23:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229600AbiKDBXs (ORCPT ); Thu, 3 Nov 2022 21:23:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33448 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229461AbiKDBXr (ORCPT ); Thu, 3 Nov 2022 21:23:47 -0400 Received: from out2.migadu.com (out2.migadu.com [IPv6:2001:41d0:2:aacc::]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0A3D61C430 for ; Thu, 3 Nov 2022 18:23:45 -0700 (PDT) Subject: Re: A crash caused by the commit 0dd84b319352bb8ba64752d4e45396d8b13e6018 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1667525024; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=BoNyCOvp4wOyvdRK9Qx3zIhzal0leGRWe+NgclsHfvg=; b=D5BIPaVtsyS28tMNHYM7IIg8g8QedXtgXaPgZ9lRvq0vmFmnRyA16ImeXylGkJbW91vnoh CVCh5mckXkiiB/GE3jDy0BUQ3jhI+fqmGJc3C3Hik24QN3IZkHD9iSYllcB9C8uMkStefL OCNtKXQTq3m2jYwV1t/+IdYmJd07AbY= To: Heming Zhao , Mikulas Patocka , Song Liu Cc: Zdenek Kabelac , linux-raid@vger.kernel.org, dm-devel@redhat.com References: <78646e88-2457-81e1-e3e7-cf66b67ba923@linux.dev> <11a466f0-ecfe-c1e2-d967-2d648ce65bcb@suse.com> X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Guoqing Jiang Message-ID: Date: Fri, 4 Nov 2022 09:23:40 +0800 MIME-Version: 1.0 In-Reply-To: <11a466f0-ecfe-c1e2-d967-2d648ce65bcb@suse.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-Migadu-Flow: FLOW_OUT Precedence: bulk List-ID: X-Mailing-List: linux-raid@vger.kernel.org On 11/3/22 10:46 PM, Heming Zhao wrote: > On 11/3/22 11:47 AM, Guoqing Jiang wrote: >> Hi, >> >> On 11/3/22 12:27 AM, Mikulas Patocka wrote: >>> Hi >>> >>> There's a crash in the test shell/lvchange-rebuild-raid.sh when running >>> the lvm testsuite. It can be reproduced by running "make check_local >>> T=shell/lvchange-rebuild-raid.sh" in a loop. >> >> I have problem to run the cmd (not sure what I missed), it would be >> better if >> the relevant cmds are extracted from the script then I can reproduce >> it with >> those cmds directly. >> >> [root@localhost lvm2]# git log | head -1 >> commit 36a923926c2c27c1a8a5ac262387d2a4d3e620f8 >> [root@localhost lvm2]# make check_local T=shell/lvchange-rebuild-raid.sh >> make -C libdm device-mapper >> [...] >> make -C daemons >> make[1]: Nothing to be done for 'all'. >> make -C test check_local >> VERBOSE=0 ./lib/runner \ >>          --testdir . --outdir results \ >>          --flavours ndev-vanilla --only >> shell/lvchange-rebuild-raid.sh --skip @ >> running 1 tests >> ###      running: [ndev-vanilla] shell/lvchange-rebuild-raid.sh 0 >> | [ 0:00] lib/inittest: line 133: >> /tmp/LVMTEST317948.iCoLwmDhZW/dev/testnull: Permission denied >> | [ 0:00] Filesystem does support devices in >> /tmp/LVMTEST317948.iCoLwmDhZW/dev (mounted with nodev?) > > I didn't read other mails in this thread, only for above issue. > If you use opensuse, systemd service tmp.mount uses nodev option to > mount tmpfs on /tmp. > From my experience, there are two methods to fix(work around): > 1. systemctl disable tmp.mount && systemctl mask tmp.mount && reboot > 2. mv /usr/lib/systemd/system/tmp.mount /root/ && reboot I am using centos similar system, I can try leap later. Appreciate for the tips, Heming. Thanks, Guoqing