qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: John Coiner <jcoiner@stanfordalumni.org>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [patch] make '-smb $HOME' work
Date: Sat, 08 Oct 2005 16:15:44 -0400	[thread overview]
Message-ID: <434828F0.2010705@stanfordalumni.org> (raw)
In-Reply-To: <20051008194449.GC4612@kalmia.hozed.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

      reply	other threads:[~2005-10-08 20:16 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-08 19:30 [Qemu-devel] [patch] make '-smb $HOME' work John Coiner
2005-10-08 19:44 ` Troy Benjegerdes
2005-10-08 20:15   ` John Coiner [this message]

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=434828F0.2010705@stanfordalumni.org \
    --to=jcoiner@stanfordalumni.org \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).