Subject: pkg/32289: qemu uses wrong path for smbd
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Richard Earnshaw <rearnsha@buzzard.freeserve.co.uk>
List: pkgsrc-bugs
Date: 12/12/2005 23:40:00
>Number:         32289
>Category:       pkg
>Synopsis:       qemu uses wrong path for smbd
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Dec 12 23:40:00 +0000 2005
>Originator:     Richard Earnshaw
>Release:        NetBSD 3.0_RC5
>Organization:
	
>Environment:
	
	
System: NetBSD merlin.buzzard.freeserve.co.uk 3.0_RC5 NetBSD 3.0_RC5 (MERLIN) #0: Thu Dec 8 19:43:27 GMT 2005 rearnsha@merlin.buzzard.freeserve.co.uk:/work/rearnsha/netbsd/build/netbsd-3/i386/src/sys/arch/i386/compile/MERLIN i386
Architecture: i386
Machine: i386
>Description:
	
	qemu has a built-in interface to Samba to allow the guest OS to mount
	a file system using smb mounts.  The code uses an explicit path for
	smbd of /usr/sbin/smbd, but on NetBSD the samba package will put
	that file in /usr/pkg/sbin.
>How-To-Repeat:
	Run qemu with "-smb /tmp" in the options.  Within the guest OS
	try to mount \\smbserver\qemu.  This will fail since qemu fails to
	start smbd.
>Fix:
	
	Fix the hard coded path in vl.c

>Unformatted: