qemu-kvm 0.12.3 dies with a SIGTERM when using the -smb flag as soon as I try to unmount the SMB/CIFS filesystem. For instance, this sequence of commands in the Linux guest:
mount.cifs //10.0.2.4/qemu /hostfs -o guest,username=nobody umount /hostfs
causes qemu-kvm to crash almost immediately because it receives a TERM signal that its smbd child process sends to the process group, as strace shows:
[pid 27982] kill(0, SIGTERM) = 0
[pid 27982] --- SIGTERM (Terminated) @ 0 (0) ---
Process 27982 detached
[pid 27980] <... timer_settime resumed> NULL) = 0
[pid 27980] --- SIGTERM (Terminated) @ 0 (0) ---
[pid 27980] --- SIGCHLD (Child exited) @ 0 (0) ---
(pid 27982 is the smbd child, 27980 is qemu-system-x86_64)
This works fine with Samba 3.3.3 not with 3.3.12 or 3.5.2, so apparently something changed there.
Host machine runs NixOS (Linux 220.127.116.11), 32-bit, Intel(R) Core(TM)2 Duo CPU T7700 @ 2.40GHz.
Log in to post a comment.