Bug#747636: qemu: when using -smb parameter does not startup smbd

2014-05-11 Thread Michael Tokarev
Control: retitle -1 samba4 does not work with qemu -smb
Control: found -1 1.1.2+dfsg-1
Control: tag -1 + confirmed upstream

After some digging around it turns out that the problem is the
different interface used by samba4.  With samba3 everything
works fine.

It looks like samba4 does not work in inetd mode anymore, and
this mode was the way how samba3 was used by qemu.

The way qemu used samba has been implemented a very long time ago,
so the same bug applies to older versions of qemu too.

Retitling as such.

But if adopting to samba4 changes requires major changes on
qemu side, I'm afraid this problem wont be fixed soon.

Thanks,

/mjt


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#747636: qemu: when using -smb parameter does not startup smbd

2014-05-10 Thread Michael Meier
Package: qemu
Version: 2.0.0+dfsg-4
Severity: normal

When using the -smb parameter, qemu does not start up the smbd service.
it creates the necessary config file in the /tmp/ folder though.
If I start it up by hand:
smbd -s /tmp/qemu-smb.19409-0$/smb.conf
smbd gets started up correctly and i can access it from the virtual machine 
using:
\\10.0.2.2\qemu   (not 10.0.2.4)
the command used to start up qemu is (generated by aqemu):
/usr/bin/kvm -monitor stdio -soundhw ac97 -k es -vga std -enable-kvm -m 2048 
-localtime -snapshot -drive file=/home/rmm/data/Virtual 
Machines/windows-7-x64.qcow2,if=virtio -boot once=c,menu=off -net 
nic,vlan=0,model=virtio -net 
user,vlan=0,smb=/home/rmm/data/tmp,smbserver=10.0.2.4 -name Windows 7 x64

not using kvm doesn't make any difference, also giving a fixed ip to the smb 
parameter (host). does not make any difference.
From the virtual machine I can't ping 10.0.2.4 (the default ip it should use) 
so I guess this virtual nic never gets created?

-- System Information:
Debian Release: jessie/sid
  APT prefers testing-updates
  APT policy: (500, 'testing-updates'), (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.13-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages qemu depends on:
ii  qemu-system  2.0.0+dfsg-4
ii  qemu-user2.0.0+dfsg-4
ii  qemu-utils   2.0.0+dfsg-4

qemu recommends no packages.

Versions of packages qemu suggests:
pn  qemu-user-static  none

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#747636: qemu: when using -smb parameter does not startup smbd

2014-05-10 Thread Michael Tokarev
10.05.2014 20:25, Michael Meier wrote:
 Package: qemu
 Version: 2.0.0+dfsg-4
 Severity: normal
 
 When using the -smb parameter, qemu does not start up the smbd service.
 it creates the necessary config file in the /tmp/ folder though.

Please try to browse \\10.0.2.4\ from windows with your
command line, and see if any additional files will be
created in that temp folder.

 If I start it up by hand:
 smbd -s /tmp/qemu-smb.19409-0$/smb.conf
 smbd gets started up correctly and i can access it from the virtual machine 
 using:
 \\10.0.2.2\qemu   (not 10.0.2.4)

10.0.2.2 is redirected to host.  So if you start qemu manually
on the host, sure thing it will be available as 10.0.2.2.

Only 10.0.2.4 (by default) is redirected to qemu-started smbd.

 the command used to start up qemu is (generated by aqemu):
 /usr/bin/kvm -monitor stdio -soundhw ac97 -k es -vga std -enable-kvm -m 2048 
 -localtime -snapshot -drive file=/home/rmm/data/Virtual 
 Machines/windows-7-x64.qcow2,if=virtio -boot once=c,menu=off -net 
 nic,vlan=0,model=virtio -net 
 user,vlan=0,smb=/home/rmm/data/tmp,smbserver=10.0.2.4 -name Windows 7 x64

Ok.

 not using kvm doesn't make any difference, also giving a fixed ip to the smb 
 parameter (host). does not make any difference.
From the virtual machine I can't ping 10.0.2.4 (the default ip it should use) 
so I guess this virtual nic never gets created?

No, 10.0.2.4 does not support ping.  Only samba ports (139 and 443) are 
redirected,
not ICMP.

What version of samba do you use?

Thanks,

/mjt


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org