What version of Apptainer (or Singularity) are you using? Run
singularity-ce version 3.10.1
Expected behavior
when singularity child process was killed by sigterm, should cleanup its crypt automatically
Actual behavior
after kill the starter-suid process,a crypt not closed
$sudo dmsetup info -C
Name Maj Min Stat Open Targ Event UUID
349bdc51-323e-4c72-b455-f6e766abf971 253 2 L--r 0 1 0 CRYPT-LUKS2-c16902f5cc6d4044a0e36fe10347aa53-349bdc51-323e-4c72-b455-f6e766abf971
Steps to reproduce this behavior
singularity exec encrpy.sif
# kill {pid} of starter-suid process
losetup
# a crypt not closed
Version of Apptainer
What version of Apptainer (or Singularity) are you using? Run
singularity-ce version 3.10.1
Expected behavior
when singularity child process was killed by sigterm, should cleanup its crypt automatically
Actual behavior
after kill the starter-suid process,a crypt not closed
Steps to reproduce this behavior
What OS/distro are you running
How did you install Apptainer
RPM