On 18.07.2012 17:38, Friedrich Delgado wrote: > I'm reasonably sure I'm using the right binary.
Ok. > smb.conf written by qemu: > > ,---- > > cat /tmp/qemu-smb.31280-0/smb.conf > [global] > private dir=/tmp/qemu-smb.31280-0 > smb ports=0 > socket address=127.0.0.1 > pid directory=/tmp/qemu-smb.31280-0 > lock directory=/tmp/qemu-smb.31280-0 > log file=/tmp/qemu-smb.31280-0/log.smbd > smb passwd file=/tmp/qemu-smb.31280-0/smbpasswd > security = share > [qemu] > path=/home/user/tmp/myshare > read only=no > guest ok=yes It does not include state directory. > But I had an old qemu-kvm package (1.0) ;-) Just upgraded to qemu-kvm Aha. here we go. Indeed, in 1.1, the missing state directory parameter has been added (it is missing in 1.0), and without it, indeed, smbd tries to open /var/lib/samba/secrets.tdb. > > kvm -snapshot -drive file=$HOME/foo.qed,if=virtio -net > user,smb=$HOME/tmp/myshare -net nic,model=virtio -m 2048 -cpu host -smp 2 > kvm: symbol lookup error: kvm: undefined symbol: rbd_aio_discard > `---- > > Upgrading librbd and librados2 to 0.48-1 solves that problem. This is #679686 -- librados-dev does not provide required minimum version information. qemu-kvm will have to be rebuilt in order to fix the breakage. But I can't re-upload it now, before it enters -testing, since this version has been granted a freeze exception. But this is unrelated to our issue. > And I also can access the smb share \o/ Well. It does not always work when you also run samba normally, ie, when system smbd+nmbd are running. There's some race condition somewhere, sometimes it works and sometimes it doesn't. > > - It seems I forgot to upgrade qemu-kvm to 1.1.0 as well. Would it be > useful to require matching/identical versions for all the qemu-* > Packages? No. qemu-kvm is unrelated to qemu-system. In this area, qemu-kvm has correct versioned dependencies. When you use qemu-kvm, you report bugs against qemu-kvm. When you use qemu-system, you, naturally, report bugs against qemu-system. Until now I had no idea you also use or have qemu-system installed (I guess!). So, to sum it up. Yes, 1.1 version is a bit better than before, ie, current samba actually works with it, sometimes. But the bug IS valid still, as it does not work in a reliable way. *sigh*. Thank you! /mjt -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org