From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jamie Lokier Subject: Re: [Qemu-devel] [GSoC 2010] Pass-through filesystem support. Date: Mon, 12 Apr 2010 13:04:56 +0100 Message-ID: <20100412120456.GB18075@shareable.org> References: <20100409212212.GB31666@shareable.org> <20100410121247.GA18080@shareable.org> <20100411222958.GB27990@shareable.org> <4D687A08-BD58-4484-8BCC-90B81DE842F1@suse.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Mohammed Gamal , Anthony Liguori , Cam Macdonell , qemu-devel@nongnu.org, kvm-devel , Javier Guerra Giraldez To: Alexander Graf Return-path: Received: from mail2.shareable.org ([80.68.89.115]:60614 "EHLO mail2.shareable.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750733Ab0DLMFE (ORCPT ); Mon, 12 Apr 2010 08:05:04 -0400 Content-Disposition: inline In-Reply-To: <4D687A08-BD58-4484-8BCC-90B81DE842F1@suse.de> Sender: kvm-owner@vger.kernel.org List-ID: Alexander Graf wrote: > Also since -net user does support samba exporting already, This I'm interested in. Last time I tried to use it, the "smb=" option didn't work because Samba refused to run when launched with qemu's mini config file and launched as a regular user. It needed access to various hard-coded root-owned directories, and spewed lots of errors about it into its logs. On closer inspection, those directories were hard-coded and could not be changed by the config file, nor could the features they were for be disabled. Even if I gave it permission to write to those, by running kvm/qemu as root, there was plenty of reason to worry that each instance of qemu-spawned Samba may interfere with the others and with the host's own.... starting with errors spewed into log files by both Sambas. So I had to give up on -net user,smb= completely :-( Is this something that you at SuSE have fixed or simply never encountered? My problems were with Debian and Ubuntu installations. I suspect they might have "fixed" some Samba problems by patching in different problems. -- Jamie From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O1IO6-00050C-Ep for qemu-devel@nongnu.org; Mon, 12 Apr 2010 08:05:10 -0400 Received: from [140.186.70.92] (port=52444 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O1IO1-0004yn-AB for qemu-devel@nongnu.org; Mon, 12 Apr 2010 08:05:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O1INz-0003i2-Gi for qemu-devel@nongnu.org; Mon, 12 Apr 2010 08:05:05 -0400 Received: from mail2.shareable.org ([80.68.89.115]:53877) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O1INz-0003hs-9M for qemu-devel@nongnu.org; Mon, 12 Apr 2010 08:05:03 -0400 Date: Mon, 12 Apr 2010 13:04:56 +0100 From: Jamie Lokier Subject: Re: [Qemu-devel] [GSoC 2010] Pass-through filesystem support. Message-ID: <20100412120456.GB18075@shareable.org> References: <20100409212212.GB31666@shareable.org> <20100410121247.GA18080@shareable.org> <20100411222958.GB27990@shareable.org> <4D687A08-BD58-4484-8BCC-90B81DE842F1@suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4D687A08-BD58-4484-8BCC-90B81DE842F1@suse.de> List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alexander Graf Cc: Anthony Liguori , kvm-devel , qemu-devel@nongnu.org, Javier Guerra Giraldez , Mohammed Gamal , Cam Macdonell Alexander Graf wrote: > Also since -net user does support samba exporting already, This I'm interested in. Last time I tried to use it, the "smb=" option didn't work because Samba refused to run when launched with qemu's mini config file and launched as a regular user. It needed access to various hard-coded root-owned directories, and spewed lots of errors about it into its logs. On closer inspection, those directories were hard-coded and could not be changed by the config file, nor could the features they were for be disabled. Even if I gave it permission to write to those, by running kvm/qemu as root, there was plenty of reason to worry that each instance of qemu-spawned Samba may interfere with the others and with the host's own.... starting with errors spewed into log files by both Sambas. So I had to give up on -net user,smb= completely :-( Is this something that you at SuSE have fixed or simply never encountered? My problems were with Debian and Ubuntu installations. I suspect they might have "fixed" some Samba problems by patching in different problems. -- Jamie