Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp99880rwd; Fri, 19 May 2023 16:09:01 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5ZSrfSXPGlleZnn8CTwDzkR4Al9vLuSUVf/nVcYoDoJyOFGzgBQMEzpU0NsLkIFMpL9JPy X-Received: by 2002:a05:6a20:2590:b0:104:1fa9:b74c with SMTP id k16-20020a056a20259000b001041fa9b74cmr4579487pzd.14.1684537740733; Fri, 19 May 2023 16:09:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684537740; cv=none; d=google.com; s=arc-20160816; b=Cmf41o7r1uUlUxxrtX9Vl1Vgetb+6f2u9w8YejtRQ54LfuInYV/wg/z9RG27lToiKL uTxidHT1FcClH3HjbqEPSlVSS5r5xRwC5fJfKqLhvVJEqSDNMACZHBJQBP6vzDzqN7az ca6g3YEhOlbas5Yp1xI6q7xYxUTnMFR82bTnouOv0g0oD4VbDBZ3g9JJW8p79GSjY+7U yqSRye2yBURhidauSmaGdIJhvEMUj6lEHj2kJA3QgXAAU3SefOOICnons7Y6mu6LsPim TWO8+U1qqJcnkc1MatTR7th6so2nOppCQI2EiKmK4fCIN6utOa5IFoOCtZBUS4H6E6Z1 MwMQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :organization:references:in-reply-to:from:subject:cc:to:message-id :date:dkim-signature; bh=Lx3FRv/9ZViNHJYNb7K17j7599eHUYCX31V7AD9qU0o=; b=vjuE0W/UEz0R98ezRlBWF6A35QHer2gOKTzm/Wlg465SkrGyRoxoBfOOzTT2m1sbg8 MfJWHL6wm0aghLsRVqt5pusIuWZ28Y05wJMOhos1SbYTqRzzL6bA9/DinH+ujbqJCQeN oPGTlacQ3oHMoK3+DumDdgYlg+iYhCDmOlOoWP2Jk/TDsWruAMK3wjgGMfgezst99Zdk tyMRmX8tIqki9e7dmb3FTlLIwzd1+EZiN26OcCVLYB/S2wj1FGv004ZbNdWPtaQQk3Dm xy1rl6ULlcp3GKIBCj4DSUdqewqJpWKRSHZdUOSZ4rE9rym+3c4/qA07wwwevn5Ve3ky pszQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=UGpCEjhi; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z27-20020a63b91b000000b005348202cac2si381895pge.25.2023.05.19.16.08.28; Fri, 19 May 2023 16:09:00 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=UGpCEjhi; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229571AbjESWoG (ORCPT + 99 others); Fri, 19 May 2023 18:44:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54808 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229579AbjESWoE (ORCPT ); Fri, 19 May 2023 18:44:04 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DF1821BD for ; Fri, 19 May 2023 15:43:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1684536197; 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=Lx3FRv/9ZViNHJYNb7K17j7599eHUYCX31V7AD9qU0o=; b=UGpCEjhiRpOs2d6b74IH6aop9RasQr15jdXZ+rpzSTuNNsiMYiHSZTTvIYQ4Ygeh8dRjhW vLueqAKZ+AnfoC5/IcEu8WpkFyMCrpbeNHMxMOCwgr5hOaqyz9OtfkrBVFAVdwp0AIy23P hE7bK9l/HrK2SNbKy9ukzjnAurOfz2I= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-267-aVXYRF4TPMKGIaqCHUms0w-1; Fri, 19 May 2023 18:43:15 -0400 X-MC-Unique: aVXYRF4TPMKGIaqCHUms0w-1 Received: from smtp.corp.redhat.com (int-mx09.intmail.prod.int.rdu2.redhat.com [10.11.54.9]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 532BF185A78E; Fri, 19 May 2023 22:43:15 +0000 (UTC) Received: from localhost (unknown [10.67.24.76]) by smtp.corp.redhat.com (Postfix) with ESMTP id D62284F2DE2; Fri, 19 May 2023 22:43:12 +0000 (UTC) Date: Sat, 20 May 2023 07:43:11 +0900 (JST) Message-Id: <20230520.074311.642413213582621319.yamato@redhat.com> To: bruce.dubbs@gmail.com Cc: kzak@redhat.com, linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, util-linux@vger.kernel.org, renodr2002@gmail.com Subject: Re: [ANNOUNCE] util-linux v2.39 From: Masatake YAMATO In-Reply-To: <652d32c5-4b33-ce3a-3de7-9ebc064bbdcb@gmail.com> References: <20230517112242.3rubpxvxhzsc4kt2@ws.net.home> <652d32c5-4b33-ce3a-3de7-9ebc064bbdcb@gmail.com> Organization: Red Hat Japan, K.K. Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 3.1 on 10.11.54.9 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Bruce, > On 5/17/23 06:22, Karel Zak wrote: >> The util-linux release v2.39 is available at >> http://www.kernel.org/pub/linux/utils/util-linux/v2.39 >> Feedback and bug reports, as always, are welcomed. > > Karel, I have installed util-linux v2.39 in LFS and have run into a > problem with one test, test_mkfds. Actually the test passes, but does > not clean up after itself. What is left over is: > > tester 32245 1 0 15:43 ? 00:00:00 /sources/util-linux-2.39/test_mkfds > -q udp 3 4 server-port=34567 client-port=23456 server-do-bind=1 > client-do-bind=1 client-do-connect=1 > tester 32247 1 0 15:43 ? 00:00:00 /sources/util-linux-2.39/test_mkfds > -q udp6 3 4 lite=1 server-port=34567 client-port=23456 > server-do-bind=1 client-do-bind=1 client-do-connect=1 > > It's possible it may be due to something we are doing inside our > chroot environment, but we've not had this type of problem with > earlier versions of util-linux. > > In all I do have: > > All 261 tests PASSED > > but the left over processes interfere later when we try to remove the > non-root user, tester, that runs the tests. I can work around the > problem by disabling test_mkfds, but thought you would like to know. Thank you for reporting. Reproduced on my PC. I found two processes were not killed properly. Could you try the following change? diff --git a/tests/ts/lsfd/option-inet b/tests/ts/lsfd/option-inet index 21e66f700..70cc3798d 100755 --- a/tests/ts/lsfd/option-inet +++ b/tests/ts/lsfd/option-inet @@ -84,14 +84,10 @@ ts_cd "$TS_OUTDIR" -o ASSOC,TYPE,NAME \ -Q "(PID == $PID0) or (PID == $PID1) or (PID == $PID2) or (PID == $PID3) or (PID == $PID4)" - kill -CONT "${PID0}" - wait "${PID0}" - - kill -CONT "${PID1}" - wait "${PID1}" - - kill -CONT "${PID2}" - wait "${PID2}" + for pid in "${PID0}" "${PID1}" "${PID2}" "${PID3}" "${PID4}"; do + kill -CONT "${pid}" + wait "${pid}" + done } > "$TS_OUTPUT" 2>&1 ts_finalize