Re: [Rpm-maint] [rpm-software-management/rpm] Stop blocking when GPG process dies prematurely (RhBug:1746353) (#938)

2019-11-15 Thread Michal Domonkos
dmnks commented on this pull request. > fnamedPipe = Fopen(namedPipeName, "w"); + +if (errno == EINTR) { + /* We got interrupted while waiting on the reader side to open the Hmm, seems like the mix of tabs and spaces confuses github's diff viewer :) -- You are receiving this

Re: [Rpm-maint] [rpm-software-management/rpm] Stop blocking when GPG process dies prematurely (RhBug:1746353) (#938)

2019-11-15 Thread Michal Domonkos
@dmnks pushed 1 commit. 394a50b2eeaba90256d54cc26c44b8aa67cff827 Stop blocking when GPG process dies prematurely (RhBug:1746353) -- You are receiving this because you are subscribed to this thread. View it on GitHub:

[Rpm-maint] [rpm-software-management/rpm] Stop blocking when GPG process dies prematurely (RhBug:1746353) (#938)

2019-11-15 Thread Michal Domonkos
The GPG subprocess may not open the named pipe that we create for feeding it the package to sign (such as when the key is expired, as seen in the linked bug), in which case RPM hangs up for the user due to the blocking open(2) call on that pipe. The fix is easy: just register an empty SIGCHLD

Re: [Rpm-maint] [rpm-software-management/rpm] Stop blocking when GPG process dies prematurely (RhBug:1746353) (#938)

2019-11-15 Thread Michal Domonkos
@dmnks pushed 1 commit. 124cb1c74587e26afc43882a8468088dd0862de0 Stop blocking when GPG process dies prematurely (RhBug:1746353) -- You are receiving this because you are subscribed to this thread. View it on GitHub: