From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EOL7J-0003kN-Pa for qemu-devel@nongnu.org; Sat, 08 Oct 2005 16:16:25 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EOL7I-0003k9-9z for qemu-devel@nongnu.org; Sat, 08 Oct 2005 16:16:25 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EOL7I-0003k6-5O for qemu-devel@nongnu.org; Sat, 08 Oct 2005 16:16:24 -0400 Received: from [206.46.252.44] (helo=vms044pub.verizon.net) by monty-python.gnu.org with esmtp (Exim 4.34) id 1EOL7I-0003lC-4v for qemu-devel@nongnu.org; Sat, 08 Oct 2005 16:16:24 -0400 Received: from [192.168.0.100] ([141.154.226.153]) by vms044.mailsrvcs.net (Sun Java System Messaging Server 6.2 HotFix 0.04 (built Dec 24 2004)) with ESMTPA id <0IO200JPQ5NA18L5@vms044.mailsrvcs.net> for qemu-devel@nongnu.org; Sat, 08 Oct 2005 15:16:23 -0500 (CDT) Date: Sat, 08 Oct 2005 16:15:44 -0400 From: John Coiner Subject: Re: [Qemu-devel] [patch] make '-smb $HOME' work In-reply-to: <20051008194449.GC4612@kalmia.hozed.org> Message-id: <434828F0.2010705@stanfordalumni.org> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii; format=flowed Content-transfer-encoding: 7bit References: <43481E5C.5050308@stanfordalumni.org> <20051008194449.GC4612@kalmia.hozed.org> Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Troy Benjegerdes wrote: > Which smbd are you using? The one on debian sarge wants to have write access > to some /var/run and /var/lib directories to coordinate locking. Because > it gets run as a regular user, (and is not suid root), it winds up > spitting out an error to the logfile and dying. It took me a while to > figure this out, since there's no error message display by qemu. I'm running smbd that came with slackware 10-dot-something... john@kong:~$ /usr/sbin/smbd -V Version 3.0.14a It's not suid root either. The 'smb.conf' contains a "lock directory" entry, which (you would think!) tells smbd to use the temporary directory as the lock directory. Are you sure that smbd actually found and read the 'smb.conf' file which qemu generated? The qemu-generated 'smb.conf' file overrides all samba default paths in '/var' except for the "utmp directory" and "wtmp directory" parameters. Maybe your smbd was compiled with '--with-utmp' in which case you might need qemu to specify "utmp directory" and "wtmp directory" in 'smb.conf'. -- john