aboutsummaryrefslogtreecommitdiff
path: root/util/qemu-config.c
diff options
context:
space:
mode:
authorMichael Buesch <m@bues.ch>2014-04-27 14:54:12 +0400
committerMichael Tokarev <mjt@tls.msk.ru>2014-04-28 08:55:32 +0400
commitb87b8a8b32518df9e5285f9b3d4f9d9a0c426a06 (patch)
tree7a2e779f9d9d5dd8b2ea714efca6463af6b0236f /util/qemu-config.c
parent7a30842186274a139c2dd8de5c0a43a8d638c8a6 (diff)
slirp/smb: Move ncalrpc directory to tmp
The smbd forked by qemu still uses the default ncalrpc directory in /var/run/samba. This may lead to problems, if /var/run/samba does not exist (for example if /var/run is a tmpfs and the host smbd was not started). This leads to the following error message from samba and an unworkable smbd: Failed to create pipe directory /var/run/samba/ncalrpc - No such file or directory Fix this by pointing smbd to /tmp/qemu-smb.%d.%d/ncalrpc as ncalrpc directory. Smbd will create the actual ncalrpc subdirectory on its own. Signed-off-by: Michael Buesch <m@bues.ch> Cc: Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru> (Applying this to -trivial because it _is_ rather trivial and because Jan does not reply for months)
Diffstat (limited to 'util/qemu-config.c')
0 files changed, 0 insertions, 0 deletions