I tried QEMU with Feisty and I have a similar problem, but I can't run smbd even if I run qemu as root. Using strace, I can see that qemu creates a dir called /tmp/qemu-pidnumber and create a smb.conf file inside it, but doesn't run smbd.
When I try run smbd manually (as non-root user) I got this following message:
amaciel@bahamut:/tmp/qemu-smb.5314$ smbd -i -s smb.conf
smbd version 3.0.24 started.
Copyright Andrew Tridgell and the Samba Team 1992-2006
file_init: Information only: requested 10000 open files, 1004 are available.
Failed to open /var/lib/samba/secrets.tdb
===============================================================
INTERNAL ERROR: Signal 11 in pid 5439 (3.0.24)
Please read the Trouble-Shooting section of the Samba3-HOWTO
It may be a error, because I guess that smbd don't needs to access this file (/var/lib/samba/secrets.tdb), because the smb.conf specifies that all files must be created and used by /tmp/qemu-pidnumber/ dir.
To make things more complicated, when I run smbd manually with root user, smbd starts without any problem. Maybe we have a couple of problems, I don't know.
Well, if you need anything, please, contact me. I will be glad helping to solve this problem (sorry for my terrible English).
Best regards,
Alexandre
P.S.: don't you think that is a good idea makes qemu package recommends the samba package?
Hi,
I tried QEMU with Feisty and I have a similar problem, but I can't run smbd even if I run qemu as root. Using strace, I can see that qemu creates a dir called /tmp/qemu-pidnumber and create a smb.conf file inside it, but doesn't run smbd.
When I try run smbd manually (as non-root user) I got this following message:
amaciel@ bahamut: /tmp/qemu- smb.5314$ smbd -i -s smb.conf samba/secrets. tdb ======= ======= ======= ======= ======= ======= ======= =======
smbd version 3.0.24 started.
Copyright Andrew Tridgell and the Samba Team 1992-2006
file_init: Information only: requested 10000 open files, 1004 are available.
Failed to open /var/lib/
=======
INTERNAL ERROR: Signal 11 in pid 5439 (3.0.24)
Please read the Trouble-Shooting section of the Samba3-HOWTO
From: http:// www.samba. org/samba/ docs/Samba3- HOWTO.pdf ======= ======= ======= ======= ======= ======= ======= ======= stack_trace+ 0x22) [0x823e0b2] panic+0x43) [0x823e193] i686/cmov/ libc.so. 6(vsnprintf+ 0xb4) [0xb7bd8b54] i686/cmov/ libc.so. 6(snprintf+ 0x35) [0xb7bbf695] create+ 0x22d) [0x822df4d] i686/cmov/ libc.so. 6(__libc_ start_main+ 0xdc) [0xb7b8febc] samba/cores/ smbdrefusing to dump core
=======
PANIC (pid 5439): internal error
BACKTRACE: 10 stack frames:
#0 smbd(log_
#1 smbd(smb_
#2 smbd [0x822c2ca]
#3 [0xffffe420]
#4 /lib/tls/
#5 /lib/tls/
#6 smbd(pidfile_
#7 smbd(main+0x943) [0x82da143]
#8 /lib/tls/
#9 smbd [0x808c7e1]
unable to change to /var/log/
It may be a error, because I guess that smbd don't needs to access this file (/var/lib/ samba/secrets. tdb), because the smb.conf specifies that all files must be created and used by /tmp/qemu- pidnumber/ dir.
To make things more complicated, when I run smbd manually with root user, smbd starts without any problem. Maybe we have a couple of problems, I don't know.
Well, if you need anything, please, contact me. I will be glad helping to solve this problem (sorry for my terrible English).
Best regards,
Alexandre
P.S.: don't you think that is a good idea makes qemu package recommends the samba package?