[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: so-called pipe files (sh-np-*) do not get deleted when processes clo
From: |
Chet Ramey |
Subject: |
Re: so-called pipe files (sh-np-*) do not get deleted when processes close. |
Date: |
Thu, 11 Mar 2021 12:11:26 -0500 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:78.0) Gecko/20100101 Thunderbird/78.8.0 |
On 3/11/21 11:28 AM, Michael Felt wrote:
Hi,
Issue: AdoptOpenJDK build process makes bash calls in a particular way. An
abbreviated (shorter pathnames) example is:
```
bash-5.0$ /usr/bin/printf "Building targets 'product-images
legacy-jre-image test-image' in configuration
'aix-ppc64-normal-server-release'\n" > >(/usr/bin/tee -a
/home/aixtools/build.log) 2> >(/usr/bin/tee -a /home/aixtools/build.log >&2)
Building targets 'product-images legacy-jre-image test-image' in
configuration 'aix-ppc64-normal-server-release'
I believe this is fixed in bash-5.1.
I added some debug statements to try and catch what is not happening. It
seems that the fifo_list[i].proc value is never being set to (pid_t)-1 so
any call to `unlink_fifo()` or `unlink_fifo_list()` does not unlink the
special file created.
Probably because the process substitution does not exit before the shell does.
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU chet@case.edu http://tiswww.cwru.edu/~chet/
- so-called pipe files (sh-np-*) do not get deleted when processes close., Michael Felt, 2021/03/11
- Re: so-called pipe files (sh-np-*) do not get deleted when processes close.,
Chet Ramey <=
- Re: so-called pipe files (sh-np-*) do not get deleted when processes close., Michael Felt, 2021/03/17
- Re: so-called pipe files (sh-np-*) do not get deleted when processes close., Michael Felt, 2021/03/17
- Re: so-called pipe files (sh-np-*) do not get deleted when processes close., Chet Ramey, 2021/03/17
- Re: so-called pipe files (sh-np-*) do not get deleted when processes close., Michael Felt, 2021/03/17
- Re: so-called pipe files (sh-np-*) do not get deleted when processes close., Chet Ramey, 2021/03/17
- Re: so-called pipe files (sh-np-*) do not get deleted when processes close., Michael Felt, 2021/03/18
- Re: so-called pipe files (sh-np-*) do not get deleted when processes close., Chet Ramey, 2021/03/18
- Re: so-called pipe files (sh-np-*) do not get deleted when processes close., Michael Felt, 2021/03/20
- Re: so-called pipe files (sh-np-*) do not get deleted when processes close., Chet Ramey, 2021/03/22
- Re: so-called pipe files (sh-np-*) do not get deleted when processes close., Chet Ramey, 2021/03/17