lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230520.074311.642413213582621319.yamato@redhat.com>
Date:   Sat, 20 May 2023 07:43:11 +0900 (JST)
From:   Masatake YAMATO <yamato@...hat.com>
To:     bruce.dubbs@...il.com
Cc:     kzak@...hat.com, linux-kernel@...r.kernel.org,
        linux-fsdevel@...r.kernel.org, util-linux@...r.kernel.org,
        renodr2002@...il.com
Subject: Re: [ANNOUNCE] util-linux v2.39

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ