Re: [bug-bash] The kill test of util-linux fails with bash 5.3
From:
Dr. Werner Fink
Subject:
Re: [bug-bash] The kill test of util-linux fails with bash 5.3
Date:
Wed, 23 Jul 2025 08:42:54 +0200
On 2025/07/22 10:07:41 -0400, Chet Ramey wrote:
> On 7/22/25 10:04 AM, Dr. Werner Fink wrote:
> > On 2025/07/22 09:55:38 -0400, Chet Ramey wrote:
> > > On 7/22/25 9:47 AM, Dr. Werner Fink wrote:
> > > > On 2025/07/22 09:10:05 -0400, Chet Ramey wrote:
> > > > > On 7/22/25 8:12 AM, Dr. Werner Fink wrote:
> > > > > > On 2025/07/22 13:15:38 +0200, Dr. Werner Fink wrote:
> > > > > > [...]
> > > > > >
> > > > > > found a not expanded m4 autoconf macro GL_MDA_DEFINES in
> > > > > > m4/fcntl-o.m4
> > > > >
> > > > > Good catch. What happens if you take that macro out and re-run
> > > > > autoconf
> > > > > and configure?
> > > >
> > > > As I do autoconfig by default for bash it shows
> > >
> > > Are you sure it changes config.h?
> >
> > It changes not the config.h AFAICS ... I only cross this during
> > searching for the missing network. I've to see how the ssh_ping
> > works.
>
> Yeah, I have no idea what those things are doing.
That makes two of us ... nevertheless
I've picked out one test torture_connect to shorten test runs a bit and
run below libssh-0.11.2/build
ctest --output-on-failure --force-new-ctest-process -R torture_connect
it works with old bash-5.2 linked to /bin/sh as well as the dash and
ksh-93vu linked to /bin/sh ... but with bash-5.3 it does not work.
With strace I see that in case of bash-5.3 the sshd.pid of the server
side will not be written causing all following client tests have to fail.
307826 openat(AT_FDCWD, "/tmp/test_socket_wrapper_EElgbB/sshd/sshd.pid",
O_RDONLY) = -1 ENOENT (No such file or directory)
whereas with bash-5.2
1525 openat(AT_FDCWD, "/tmp/test_socket_wrapper_p3ZppW/sshd/sshd.pid",
O_WRONLY|O_CREAT|O_TRUNC, 0666 <unfinished ...>
1526 <... access resumed>) = 0
1526 newfstatat(AT_FDCWD, "/usr/bin/sh", <unfinished ...>
1525 <... openat resumed>) = 11
Werner
--
"Having a smoking section in a restaurant is like having
a peeing section in a swimming pool." -- Edward Burr