1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-19 14:04:17 +03:00
Tony Asleson 36a8fb20bf lvmdbusd: Correct lvm shell signal & child process handling
Previously when the __del__ method ran on LVMShellProxy we would blindly
call terminate().  This was a race condition as the underlying process
may/maynot be present.  When the process is still present the SIGTERM will
end up being seen by lvmdbusd too.  Re-work the code so that we
first try to wait for the child process to exit and only then if it hasn't
exited will we send it a SIGTERM.  We also ensure that when this is
executed we will briefly ignore a SIGTERM that arrives for the daemon.
2022-09-22 08:33:06 -05:00
..
2016-02-18 13:26:08 +00:00
2022-09-16 10:49:37 -05:00
2022-09-16 10:49:37 -05:00
2022-09-16 10:49:37 -05:00
2021-06-16 12:19:02 -05:00
2022-09-20 16:37:01 -05:00
2021-03-08 15:22:27 +01:00
2022-09-16 10:49:37 -05:00
2016-02-17 23:53:35 +00:00
2016-02-17 23:53:35 +00:00