c33abdf0628fbb0901f1b332bf987c210b438c43
After removing an ESXi storage, a zombie process is generated because the forked FUSE process (esxi-folder-fuse) is not properly reaped. This patch implements a double-fork mechanism to ensure the FUSE process is reparented to init (PID 1), which will properly reap it when it exits. Additionally adds the missing waitpid() call to reap the intermediate child process. Tested on Proxmox VE 8.4.1 with ESXi 8.0U3e storage. Signed-off-by: Stelios Vailakakis <stelios@libvirt.dev> Link: https://lore.proxmox.com/20250701154135.2387872-1-stelios@libvirt.dev
Description
with PMEM support!
Languages
Perl
99.3%
Makefile
0.6%