From: Michael Tokarev <mjt@tls.msk.ru>
To: Jan Kiszka <jan.kiszka@siemens.com>
Cc: qemu-devel <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] slirp-smb broken with Samba 4.1
Date: Sat, 25 Oct 2014 00:43:22 +0400 [thread overview]
Message-ID: <544AB9EA.7050809@msgid.tls.msk.ru> (raw)
In-Reply-To: <544AAF6D.2060101@msgid.tls.msk.ru>
On 10/24/2014 11:58 PM, Michael Tokarev wrote:
> My 4.1.11 version tries to open /var/log/samba/log.smbd.bin file and
> gives up. After I created that file and chowned it to me it works.
(that .bin comes from /me renaming smbd to smbd.bin to run it under
strace from a tiny shell wrapper under original name).
I just sent a small patch which adds a command-line switch to smbd.
It looks like if smbd needs to log something before it parses smb.conf,
it will log to /var/log/samba/log.$progname, but if that fails smbd
will exit.
And together with samba4 something else has been upgraded on my
system (or maybe samba started to load/init more stuff), so now when
smbd loads its libraries and initializes stuff it tries to warn about
obsolete name /etc/pkcs11/modules/gnome-keyring-module and does that
_before_ reading smb.conf.
That patch makes my samba to work.
So my conclusion about missing inetd mode was wrong.
But I really wonder if we should run a helper script to set things
up instead of hardcoding it all into qemu binary... It is so much
easier to modify and debug the script.
> What error are you getting when run it as root?
Is there anything else missing on your side?
/mjt
next prev parent reply other threads:[~2014-10-24 20:43 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-24 16:55 [Qemu-devel] slirp-smb broken with Samba 4.1 Jan Kiszka
2014-10-24 18:29 ` Michael Tokarev
2014-10-24 19:58 ` Michael Tokarev
2014-10-24 20:43 ` Michael Tokarev [this message]
2014-10-25 7:23 ` Jan Kiszka
2014-11-03 12:22 ` Peter Wu
2014-11-03 12:58 ` Michael Tokarev
2014-11-03 19:46 ` [Qemu-devel] Improved shared folders support (was: Re: slirp-smb broken with Samba 4.1) Peter Wu
2014-11-04 6:13 ` [Qemu-devel] Improved shared folders support Michael Tokarev
2014-11-05 17:29 ` Peter Wu
2014-11-04 22:53 ` [Qemu-devel] slirp-smb broken with Samba 4.1 Peter Wu
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=544AB9EA.7050809@msgid.tls.msk.ru \
--to=mjt@tls.msk.ru \
--cc=jan.kiszka@siemens.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.