All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jamie Lokier <jamie@shareable.org>
To: Alexander Graf <agraf@suse.de>
Cc: Mohammed Gamal <m.gamal005@gmail.com>,
	Anthony Liguori <aliguori@us.ibm.com>,
	Cam Macdonell <cam@cs.ualberta.ca>,
	qemu-devel@nongnu.org, kvm-devel <kvm@vger.kernel.org>,
	Javier Guerra Giraldez <javier@guerrag.com>
Subject: Re: [Qemu-devel] [GSoC 2010] Pass-through filesystem support.
Date: Mon, 12 Apr 2010 13:04:56 +0100	[thread overview]
Message-ID: <20100412120456.GB18075@shareable.org> (raw)
In-Reply-To: <4D687A08-BD58-4484-8BCC-90B81DE842F1@suse.de>

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

WARNING: multiple messages have this Message-ID (diff)
From: Jamie Lokier <jamie@shareable.org>
To: Alexander Graf <agraf@suse.de>
Cc: Anthony Liguori <aliguori@us.ibm.com>,
	kvm-devel <kvm@vger.kernel.org>,
	qemu-devel@nongnu.org,
	Javier Guerra Giraldez <javier@guerrag.com>,
	Mohammed Gamal <m.gamal005@gmail.com>,
	Cam Macdonell <cam@cs.ualberta.ca>
Subject: Re: [Qemu-devel] [GSoC 2010] Pass-through filesystem support.
Date: Mon, 12 Apr 2010 13:04:56 +0100	[thread overview]
Message-ID: <20100412120456.GB18075@shareable.org> (raw)
In-Reply-To: <4D687A08-BD58-4484-8BCC-90B81DE842F1@suse.de>

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

  reply	other threads:[~2010-04-12 12:05 UTC|newest]

Thread overview: 49+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-08 16:01 [GSoC 2010] Pass-through filesystem support Mohammed Gamal
2010-04-08 16:01 ` [Qemu-devel] " Mohammed Gamal
2010-04-08 16:02 ` Mohammed Gamal
2010-04-08 16:02   ` [Qemu-devel] " Mohammed Gamal
2010-04-08 16:23   ` Stefan Hajnoczi
2010-04-08 16:23     ` [Qemu-devel] " Stefan Hajnoczi
2010-04-09 13:18 ` [Qemu-devel] " Luiz Capitulino
2010-04-09 17:11   ` jvrao
2010-04-09 17:11     ` jvrao
2010-04-09 17:23     ` Mohammed Gamal
2010-04-09 17:23       ` Mohammed Gamal
2010-04-09 21:22 ` Jamie Lokier
2010-04-09 22:17   ` Mohammed Gamal
2010-04-09 22:22     ` Javier Guerra Giraldez
2010-04-09 22:22       ` Javier Guerra Giraldez
2010-04-09 22:34       ` Mohammed Gamal
2010-04-09 22:34         ` Mohammed Gamal
2010-04-10 12:12         ` Jamie Lokier
2010-04-10 12:12           ` Jamie Lokier
2010-04-10 12:42           ` Mohammed Gamal
2010-04-10 12:42             ` Mohammed Gamal
2010-04-11  0:35             ` Javier Guerra Giraldez
2010-04-11  0:35               ` Javier Guerra Giraldez
2010-04-11 22:29               ` Jamie Lokier
2010-04-12  8:15                 ` Mohammed Gamal
2010-04-12  8:15                   ` Mohammed Gamal
2010-04-12  8:59                   ` Alexander Graf
2010-04-12  8:59                     ` Alexander Graf
2010-04-12 12:04                     ` Jamie Lokier [this message]
2010-04-12 12:04                       ` Jamie Lokier
2010-04-12 12:10                       ` Alexander Graf
2010-04-12 12:10                         ` Alexander Graf
2010-04-12 11:58                   ` Jamie Lokier
2010-04-12 11:58                     ` Jamie Lokier
2010-04-12 12:14                     ` Alexander Graf
2010-04-12 12:14                       ` Alexander Graf
2010-04-12 15:43                       ` jvrao
2010-04-12 15:43                         ` jvrao
2010-04-13 19:08                         ` jvrao
2010-04-13 20:17                           ` Mohammed Gamal
2010-04-13 20:17                             ` Mohammed Gamal
2010-04-19 22:54                             ` jvrao
2010-04-20  4:26                               ` Mohammed Gamal
2010-04-20  4:26                                 ` [Qemu-devel] " Mohammed Gamal
2010-04-20 18:36                                 ` jvrao
2010-04-21  4:20                                   ` Mohammed Gamal
2010-04-21  6:33                                     ` jvrao
2010-04-12 15:16   ` jvrao
2010-04-12 15:16     ` jvrao

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20100412120456.GB18075@shareable.org \
    --to=jamie@shareable.org \
    --cc=agraf@suse.de \
    --cc=aliguori@us.ibm.com \
    --cc=cam@cs.ualberta.ca \
    --cc=javier@guerrag.com \
    --cc=kvm@vger.kernel.org \
    --cc=m.gamal005@gmail.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.