Re: [bug-bash] The kill test of util-linux fails with bash 5.3
From:
Sam James
Subject:
Re: [bug-bash] The kill test of util-linux fails with bash 5.3
Date:
Tue, 22 Jul 2025 10:33:41 +0100
User-agent:
mu4e 1.12.11; emacs 31.0.50
"Dr. Werner Fink" <werner@suse.de> writes:
> On 2025/07/22 09:08:38 +0200, werner@suse.de wrote:
>> Configuration Information [Automatically generated, do not change]:
>> Machine: x86_64
>> OS: linux-gnu
>> Compiler: gcc
>> Compilation CFLAGS: -O2 -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3
>> -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables
>> -fstack-clash-protection -Werror=return-type -flto=auto -g -D_GNU_SOURCE
>> -DRECYCLES_PIDS -Wall -g -Wuninitialized -Wextra -Wno-switch-enum
>> -Wno-unused-variable -Wno-unused-parameter -Wno-parentheses
>> -ftree-loop-linear -pipe -DBNC382214=0 -DIMPORT_FUNCTIONS_DEF=0
>> -DDEFAULT_LOADABLE_BUILTINS_PATH='/usr/lib64/bash'
>> uname output: Linux noether 6.11.8-1-default #1 SMP PREEMPT_DYNAMIC Thu Nov
>> 14 12:54:01 UTC 2024 (099023b) x86_64 x86_64 x86_64 GNU/Linux
>> Machine Type: x86_64-suse-linux-gnu
>>
>> Bash Version: 5.3
>> Patch Level: 0
>> Release Status: release
>>
>> Description:
>> The kill test of util-linux fails with bash 5.3
>>
>> ---
>> /home/abuild/rpmbuild/BUILD/util-linux-2.41.1-build/util-linux-2.41.1/tests/expected/kill/decode
>> 2025-05-05 08:28:45.049284591 +0000
>> +++
>> /home/abuild/rpmbuild/BUILD/util-linux-2.41.1-build/util-linux-2.41.1/tests/output/kill/decode
>> 2025-07-22 06:57:51.483466788 +0000
>> @@ -16,5 +16,5 @@
>> Pending (thread): INT ILL
>> Pending (process): USR1
>> Blocked: INT ILL ABRT FPE USR1 SEGV TERM
>> -Ignored: HUP QUIT TRAP PIPE ALRM
>> +Ignored: HUP INT QUIT TRAP PIPE ALRM
>> Caught: ILL USR1
>>
>> Repeat-By:
>> util-linux-2.41.1/tests> ./run.sh
>
> One line cause this behaviour change:
>
> ---
> /abuild/oscbuild/openSUSE_Tumbleweed/home/abuild/rpmbuild/BUILD/bash-5.3.0-build/bash-5.3/execute_cmd.c
> 2025-07-22 10:52:15.705599240 +0200
> +++ bash-5.3/execute_cmd.c 2025-06-05 17:02:01.000000000 +0200
> @@ -5727,7 +5727,7 @@ setup_async_signals (void)
> hard ignored flag because that would prevent the trap builtin from
> setting a trap. We also have to special-case set_signal so we can
> set a trap for one of these signals. */
> -// set_signal_async_ignored (SIGINT);
> + set_signal_async_ignored (SIGINT);
I'd seen this but assumed it was actually an issue in the util-linux
test.
>
> get_original_signal (SIGQUIT);
> set_signal_handler (SIGQUIT, SIG_IGN);
>
> with the disabled line it works.
>
> Beside this I face some reports more from QA:
> libssh has 32 tests failed out of 76 and qemu shows 3 failing tests.
I suspect those aren't related. I at least didn't hit them.
>
> Werner