Menu

#542 qemu-kvm -smb crashes with Samba 3.5.2

open
nobody
None
5
2014-03-31
2010-05-04
No

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 2.6.32.11), 32-bit, Intel(R) Core(TM)2 Duo CPU T7700 @ 2.40GHz.

Discussion


Log in to post a comment.