GNU bug report logs - #26797
qemu looks for smbd at /usr/sbin

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix; Reported by: Ricardo Wurmus <rekado@HIDDEN>; Keywords: easy; dated Sat, 6 May 2017 10:27:02 UTC; Maintainer for guix is bug-guix@HIDDEN.
Added tag(s) easy. Request was from ludo@HIDDEN (Ludovic Courtès) to control <at> debbugs.gnu.org. Full text available.

Message received at 26797 <at> debbugs.gnu.org:


Received: (at 26797) by debbugs.gnu.org; 7 May 2017 15:33:37 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun May 07 11:33:37 2017
Received: from localhost ([127.0.0.1]:60492 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1d7OBl-0000AB-6a
	for submit <at> debbugs.gnu.org; Sun, 07 May 2017 11:33:37 -0400
Received: from eggs.gnu.org ([208.118.235.92]:41675)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ludo@HIDDEN>) id 1d7OBj-00009x-QT
 for 26797 <at> debbugs.gnu.org; Sun, 07 May 2017 11:33:36 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <ludo@HIDDEN>) id 1d7OBb-0007lG-GI
 for 26797 <at> debbugs.gnu.org; Sun, 07 May 2017 11:33:30 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD
 autolearn=disabled version=3.3.2
Received: from fencepost.gnu.org ([2001:4830:134:3::e]:38327)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <ludo@HIDDEN>)
 id 1d7OBb-0007ku-E9; Sun, 07 May 2017 11:33:27 -0400
Received: from reverse-83.fdn.fr ([80.67.176.83]:52362 helo=ribbon)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <ludo@HIDDEN>)
 id 1d7OBa-0000xg-NQ; Sun, 07 May 2017 11:33:27 -0400
From: ludo@HIDDEN (Ludovic =?utf-8?Q?Court=C3=A8s?=)
To: Marius Bakke <mbakke@HIDDEN>
Subject: Re: bug#26797: qemu looks for smbd at /usr/sbin
References: <87zieq2sdx.fsf@HIDDEN> <878tmaw3us.fsf@HIDDEN>
 <87y3uayrkc.fsf@HIDDEN>
X-URL: http://www.fdn.fr/~lcourtes/
X-Revolutionary-Date: 18 =?utf-8?Q?Flor=C3=A9al?= an 225 de la =?utf-8?Q?R?=
 =?utf-8?Q?=C3=A9volution?=
X-PGP-Key-ID: 0x090B11993D9AEBB5
X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc
X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4  0CFB 090B 1199 3D9A EBB5
X-OS: x86_64-unknown-linux-gnu
Date: Sun, 07 May 2017 17:33:24 +0200
In-Reply-To: <87y3uayrkc.fsf@HIDDEN> (Marius Bakke's message of "Sat, 06
 May 2017 16:42:59 +0200")
Message-ID: <87k25sptq3.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2001:4830:134:3::e
X-Spam-Score: -5.0 (-----)
X-Debbugs-Envelope-To: 26797
Cc: Ricardo Wurmus <rekado@HIDDEN>, 26797 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -5.0 (-----)

Marius Bakke <mbakke@HIDDEN> skribis:

> Ludovic Court=C3=A8s <ludo@HIDDEN> writes:
>
>> Ricardo Wurmus <rekado@HIDDEN> skribis:
>>
>>> Qemu comes with support for sharing files with a guest via Samba.  This
>>> is done by appending something like this to the qemu-system-*
>>> invocation:
>>>
>>>     =E2=80=A6 -net user,smb=3D$HOME/Downloads -net nic
>>>
>>> Qemu needs to be told *at configure time* where the smbd executable will
>>> be at runtime.  By default this is /usr/sbin/smbd.  Users can work
>>> around this problem by installing the =E2=80=9Csamba=E2=80=9D package a=
nd creating a
>>> link from /usr/sbin/smbd to the actual executable.
>>>
>>> It would be better to fix this, but this would require adding samba as a
>>> dependency to Qemu, so that the location can be set at configure time.
>>> Alternatively, we could patch Qemu to look for smbd depending on an
>>> environment variable.
>>
>> See commit b344c505f4dff2ecbe981f0a0a3c3d67b222dcca, which removed the
>> dependency and Samba.  Prior to that commit, QEMU recorded the absolute
>> file name of =E2=80=98smbd=E2=80=99.
>>
>> The problem is that Samba is big:
>>
>> --8<---------------cut here---------------start------------->8---
>> $ guix size qemu |tail -1
>> total: 710.5 MiB
>> $ guix size qemu samba |tail -1
>> total: 1203.5 MiB
>> --8<---------------cut here---------------end--------------->8---
>>
>> Thus it=E2=80=99d be best if we modified QEMU to search for =E2=80=98smb=
d=E2=80=99 in $PATH.
>
> Tangentially, would it make sense to add a "qemu-full" package? I'd like
> to add RBD support when Ceph is stable on Hydra, but that adds another
> ~300MiB to the closure (and a very expensive dependency..).

The day after someone will suggest adding =E2=80=9Cqemu-fuller=E2=80=9D.  ;=
-)

Seriously yes, why not; just wondering whether it should be called
=E2=80=9Cqemu-ceph-enabled=E2=80=9D or something along these lines.

Ludo=E2=80=99.




Information forwarded to bug-guix@HIDDEN:
bug#26797; Package guix. Full text available.

Message received at 26797 <at> debbugs.gnu.org:


Received: (at 26797) by debbugs.gnu.org; 6 May 2017 18:48:58 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat May 06 14:48:58 2017
Received: from localhost ([127.0.0.1]:58552 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1d74lG-0007UE-Dy
	for submit <at> debbugs.gnu.org; Sat, 06 May 2017 14:48:58 -0400
Received: from out4-smtp.messagingengine.com ([66.111.4.28]:33733)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <leo@HIDDEN>) id 1d74lD-0007U5-FH
 for 26797 <at> debbugs.gnu.org; Sat, 06 May 2017 14:48:56 -0400
Received: from compute4.internal (compute4.nyi.internal [10.202.2.44])
 by mailout.nyi.internal (Postfix) with ESMTP id 7F1DC209FA;
 Sat,  6 May 2017 14:48:53 -0400 (EDT)
Received: from frontend2 ([10.202.2.161])
 by compute4.internal (MEProxy); Sat, 06 May 2017 14:48:53 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=famulari.name;
 h=cc:content-type:date:from:in-reply-to:message-id:mime-version
 :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc
 :x-sasl-enc; s=mesmtp; bh=oQTQLYuXgGqcEXi6qhBV0Y5pEqsIGe+y7xEK9m
 dpmHg=; b=PxiGJsVmolQnkHpXHKl9wtDlTuPE4lyuOmQ/YfS/w6dqPLUJNTO69F
 V7/mACufEA0dgz3FR7L3n78398A0yZsJYgurtKXum3homROzFUS6EjF1O6A9cekC
 D544LAM3Y2IjEretz1gLk8gM5hk69N19Kl9vA+PBgipq9e0sl1cYg=
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
 messagingengine.com; h=cc:content-type:date:from:in-reply-to
 :message-id:mime-version:references:subject:to:x-me-sender
 :x-me-sender:x-sasl-enc:x-sasl-enc; s=fm1; bh=oQTQLYuXgGqcEXi6qh
 BV0Y5pEqsIGe+y7xEK9mdpmHg=; b=WMvpGLYlan0tH3+xPR9bWroaRM7UqdlE6h
 BhbPG4jTTVEEsizS63s+uVPKg6+Novr7H5Lh+O+o6ZYsAxpaBAreDpod91ytNexH
 xlOyFtAjpSCJOgjn9vKNz1nVkpBFv3F3MyUsJS+ZZhzy1Y6P2RuXgES0ebROj7Tv
 7AtaV6q80Iyi4cEuk97jzUuqYhGs4wZ45y0TmvL6pWYtDixk1ggXdPaiExD/EuYq
 NFI1//mvLW4cXxMhZEEMkz0IKqVTyq6D+sZr72zJZYEhVZzyiaUzfG5L8WlBhO0S
 z5824tlH3EO+m+RdTM1kEayHBdRRH3X9erJikSXQSwEHUEhNEKDw==
X-ME-Sender: <xms:lRoOWYfVBmlsc-7c5C3Hb4sE9wN4WNjOeq7gRMoDht2l_tus1NXqew>
X-Sasl-enc: pWwWlK88CjJIzHtdFmg7wP8id299PC6ea5Fstx/k6ft7 1494096533
Received: from localhost (c-73-165-108-70.hsd1.pa.comcast.net [73.165.108.70])
 by mail.messagingengine.com (Postfix) with ESMTPA id 38BE42473A;
 Sat,  6 May 2017 14:48:53 -0400 (EDT)
Date: Sat, 6 May 2017 14:48:50 -0400
From: Leo Famulari <leo@HIDDEN>
To: Marius Bakke <mbakke@HIDDEN>
Subject: Re: bug#26797: qemu looks for smbd at /usr/sbin
Message-ID: <20170506184850.GA22485@jasmine>
References: <87zieq2sdx.fsf@HIDDEN> <878tmaw3us.fsf@HIDDEN>
 <87y3uayrkc.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha256;
 protocol="application/pgp-signature"; boundary="cNdxnHkX5QqsyA0e"
Content-Disposition: inline
In-Reply-To: <87y3uayrkc.fsf@HIDDEN>
User-Agent: Mutt/1.8.2 (2017-04-18)
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 26797
Cc: Ricardo Wurmus <rekado@HIDDEN>,
 Ludovic =?iso-8859-1?Q?Court=E8s?= <ludo@HIDDEN>, 26797 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.7 (/)


--cNdxnHkX5QqsyA0e
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sat, May 06, 2017 at 04:42:59PM +0200, Marius Bakke wrote:
> Ludovic Court=C3=A8s <ludo@HIDDEN> writes:
>=20
> > Ricardo Wurmus <rekado@HIDDEN> skribis:
> >
> >> Qemu comes with support for sharing files with a guest via Samba.  This
> >> is done by appending something like this to the qemu-system-*
> >> invocation:
> >>
> >>     =E2=80=A6 -net user,smb=3D$HOME/Downloads -net nic
> >>
> >> Qemu needs to be told *at configure time* where the smbd executable wi=
ll
> >> be at runtime.  By default this is /usr/sbin/smbd.  Users can work
> >> around this problem by installing the =E2=80=9Csamba=E2=80=9D package =
and creating a
> >> link from /usr/sbin/smbd to the actual executable.
> >>
> >> It would be better to fix this, but this would require adding samba as=
 a
> >> dependency to Qemu, so that the location can be set at configure time.
> >> Alternatively, we could patch Qemu to look for smbd depending on an
> >> environment variable.
> >
> > See commit b344c505f4dff2ecbe981f0a0a3c3d67b222dcca, which removed the
> > dependency and Samba.  Prior to that commit, QEMU recorded the absolute
> > file name of =E2=80=98smbd=E2=80=99.
> >
> > The problem is that Samba is big:
> >
> > --8<---------------cut here---------------start------------->8---
> > $ guix size qemu |tail -1
> > total: 710.5 MiB
> > $ guix size qemu samba |tail -1
> > total: 1203.5 MiB
> > --8<---------------cut here---------------end--------------->8---
> >
> > Thus it=E2=80=99d be best if we modified QEMU to search for =E2=80=98sm=
bd=E2=80=99 in $PATH.
>=20
> Tangentially, would it make sense to add a "qemu-full" package? I'd like
> to add RBD support when Ceph is stable on Hydra, but that adds another
> ~300MiB to the closure (and a very expensive dependency..).

If qemu-full is something that would be generically useful, sure.
Otherwise, maybe you could bring it to the potluck!

--cNdxnHkX5QqsyA0e
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAABCAAdFiEEsFFZSPHn08G5gDigJkb6MLrKfwgFAlkOGo8ACgkQJkb6MLrK
fwhQ+w/9GtqkkWzKpFngQwN7cua/ROOIqssygBNMpA8NwTtAm6klU8yIVKhmKA3l
PwQoYqKTz1aDC6DoUaDwqof3wRMvS/OdxSXnk4GZn3BbBvCXackCUYYPzJsfGkuC
JKw2NmRvk2+ucu57CDmJNks+xb3RBz30ZRWuPVWApK7/3Wuh3QGTBGc5PpuB1qoP
2JXHEwJJdKaA7zdSWF7m7sLDj/9DBCxXDgsXEwBQRTLdHYQWtqDXSXlJiPVrILkf
cCqzqOF4bgMIRgtbMxQaJXeW6YnACatxlavnJPVwqy++VlqvYZ7ZGGxVPKKpYfm2
RwpPKxlSKGFxH4jTbHLkyS9Og8P9k8gL6uueslZ0G740i7Pi9uyarmcVYhOtmuKB
5Ppf1dL3J24XhLtMTMBbcsozPPWjy/WVxyO5UaQARJXU21Hk3prFsO3VTwO2OfpI
FoZtAYO/ry5F9IEAUpGkVb4qm2dy83IDGQOsSgbK7CpUJoncz9wiIUkojsCliQ6V
Ozajws4F4lJGOg5C+aFGUg3IdH9vXQG4jzy4ii+9mDYVzBBgrLxge0wird/jy3cm
lkBIhPRoIu78rJsCmCAnXHy8j2OlmRFJglAHy6UG1277FKRzwWAm+Mb5kumFwRNV
Ox3Pcafo8QdVdZKyInSdwXVgo3NmFQc2j1tCP5ockErYN7FP/Qk=
=TrJV
-----END PGP SIGNATURE-----

--cNdxnHkX5QqsyA0e--




Information forwarded to bug-guix@HIDDEN:
bug#26797; Package guix. Full text available.

Message received at 26797 <at> debbugs.gnu.org:


Received: (at 26797) by debbugs.gnu.org; 6 May 2017 14:43:04 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat May 06 10:43:03 2017
Received: from localhost ([127.0.0.1]:58174 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1d70vH-00010z-OY
	for submit <at> debbugs.gnu.org; Sat, 06 May 2017 10:43:03 -0400
Received: from out4-smtp.messagingengine.com ([66.111.4.28]:34073)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <mbakke@HIDDEN>) id 1d70vF-00010Z-Er
 for 26797 <at> debbugs.gnu.org; Sat, 06 May 2017 10:43:02 -0400
Received: from compute5.internal (compute5.nyi.internal [10.202.2.45])
 by mailout.nyi.internal (Postfix) with ESMTP id 15A46207C6;
 Sat,  6 May 2017 10:43:01 -0400 (EDT)
Received: from frontend1 ([10.202.2.160])
 by compute5.internal (MEProxy); Sat, 06 May 2017 10:43:01 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com; h=
 cc:content-type:date:from:in-reply-to:message-id:mime-version
 :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc
 :x-sasl-enc; s=fm1; bh=JkwXbL9nYKZ+4/DUt1dlRuegHOIDw3/y2Q4UMRSH3
 /8=; b=v1m5wYUfIsngkpH4IO/L7YJ6OQTIjgwnIKbKqnADA8pz5GfLtQWPBaujM
 4IOvMdsBPUrtsd8kxGh6Gmpd304TQJa2/U5WLs904V9GrcY/aG4oh/iJGtSdaFpH
 WjKbbDzHJGEPb3DIiNyObRWkdO/9+Px78rvqVX57GTvaQj/Er1naWZNLu5PiChrm
 9s2ONUudAUlDSPSsv0HtOlJxwSTZThyHVVNdPu4KdOR7pbIvyibP1pxI40iOom2+
 vVaINdzmo9mYYlQwrL/aZmYD9eAGm4+MshmAf1pkcXMlHvJ6EV2pe0eZNw/lZdjF
 GR2qKUt8OqghFUviMONWoF0lHkiwg==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
 messagingengine.com; h=cc:content-type:date:from:in-reply-to
 :message-id:mime-version:references:subject:to:x-me-sender
 :x-me-sender:x-sasl-enc:x-sasl-enc; s=fm1; bh=JkwXbL9nYKZ+4/DUt1
 dlRuegHOIDw3/y2Q4UMRSH3/8=; b=lHvecwZ0TWrLwXSPQyjRgxQAnSppF1/29l
 iB7cClnibNMN6mbmStpsUUSbZVd/7+60gTC+5rKalOCSwDlCie8TCBqe+EzMyB6/
 DJpv2VUmnHIBQ+cQfD5ta2/aVEipxOTflyY3Lv1V+KsouteP3qZCVwVivEBJnlQU
 GuTqoRFcBBnOLXG8zwg4xOSJCeO+KUc0vdgBwXYchCtQQGCr//5YezHbbeMnyhr1
 9nCYy7A5KHVyISETQIQE2kQIuni8yw2569xvwwy31kzhlP/C/fo8Ul5MDn0X8CAO
 5j6ywbGvzL5txFbSrtcmQClSXv77HOBcS5FTsnewkgJpV0Ritp5g==
X-ME-Sender: <xms:9eANWccygMdbT3SiOPgBWmQoadiF8znU8CM_yKAEIOVQ-i-eOlHzcQ>
X-Sasl-enc: EBjxynmgwLj4zxBDVigBSo7zDMel9cFj8wNDTC83Jb6D 1494081780
Received: from localhost (unknown [188.113.81.93])
 by mail.messagingengine.com (Postfix) with ESMTPA id A85F67E266;
 Sat,  6 May 2017 10:43:00 -0400 (EDT)
From: Marius Bakke <mbakke@HIDDEN>
To: Ludovic =?utf-8?Q?Court=C3=A8s?= <ludo@HIDDEN>, Ricardo Wurmus
 <rekado@HIDDEN>
Subject: Re: bug#26797: qemu looks for smbd at /usr/sbin
In-Reply-To: <878tmaw3us.fsf@HIDDEN>
References: <87zieq2sdx.fsf@HIDDEN> <878tmaw3us.fsf@HIDDEN>
User-Agent: Notmuch/0.24.1 (https://notmuchmail.org) Emacs/25.2.1
 (x86_64-unknown-linux-gnu)
Date: Sat, 06 May 2017 16:42:59 +0200
Message-ID: <87y3uayrkc.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-=";
 micalg=pgp-sha512; protocol="application/pgp-signature"
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 26797
Cc: 26797 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.7 (/)

--=-=-=
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

Ludovic Court=C3=A8s <ludo@HIDDEN> writes:

> Ricardo Wurmus <rekado@HIDDEN> skribis:
>
>> Qemu comes with support for sharing files with a guest via Samba.  This
>> is done by appending something like this to the qemu-system-*
>> invocation:
>>
>>     =E2=80=A6 -net user,smb=3D$HOME/Downloads -net nic
>>
>> Qemu needs to be told *at configure time* where the smbd executable will
>> be at runtime.  By default this is /usr/sbin/smbd.  Users can work
>> around this problem by installing the =E2=80=9Csamba=E2=80=9D package an=
d creating a
>> link from /usr/sbin/smbd to the actual executable.
>>
>> It would be better to fix this, but this would require adding samba as a
>> dependency to Qemu, so that the location can be set at configure time.
>> Alternatively, we could patch Qemu to look for smbd depending on an
>> environment variable.
>
> See commit b344c505f4dff2ecbe981f0a0a3c3d67b222dcca, which removed the
> dependency and Samba.  Prior to that commit, QEMU recorded the absolute
> file name of =E2=80=98smbd=E2=80=99.
>
> The problem is that Samba is big:
>
> --8<---------------cut here---------------start------------->8---
> $ guix size qemu |tail -1
> total: 710.5 MiB
> $ guix size qemu samba |tail -1
> total: 1203.5 MiB
> --8<---------------cut here---------------end--------------->8---
>
> Thus it=E2=80=99d be best if we modified QEMU to search for =E2=80=98smbd=
=E2=80=99 in $PATH.

Tangentially, would it make sense to add a "qemu-full" package? I'd like
to add RBD support when Ceph is stable on Hydra, but that adds another
~300MiB to the closure (and a very expensive dependency..).

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAlkN4PMACgkQoqBt8qM6
VPo7Qgf/Ycu+D5obukPqjgaU6O4Qgg5EmdZdUtAYDNCVPRz6tFTDmW3JR7nwDYN4
IlHgReQNGtMmdzyPx6iCY5Ib0bz2G6qG3+tXZEXsIINPCoSpYVk3qVM0U8Yqu3qQ
B6fIg08ymE6epoHsPaU0CMk7C1k1aXGk17gO4FYM6o/uB6N8Yz+68jq1f19p9XHl
GwZ8kGggau3xq1s8QZYSJvEhvuK3dpC4ywpvZoMuSnyUKMBEIhqcjF/jEv13CzkQ
E9XzrdDsRaQE5B3c2MVAeoXUyXDAB9AEzLB11oBDE7xiNfwCW815+EpDjE2mz5zg
ugjGLjqcJVy8rckA/jibDiZCQhN4BQ==
=3vxK
-----END PGP SIGNATURE-----
--=-=-=--




Information forwarded to bug-guix@HIDDEN:
bug#26797; Package guix. Full text available.

Message received at 26797 <at> debbugs.gnu.org:


Received: (at 26797) by debbugs.gnu.org; 6 May 2017 13:04:00 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat May 06 09:04:00 2017
Received: from localhost ([127.0.0.1]:57306 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1d6zNQ-0006xF-76
	for submit <at> debbugs.gnu.org; Sat, 06 May 2017 09:04:00 -0400
Received: from sender-of-o51.zoho.com ([135.84.80.216]:21007)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rekado@HIDDEN>) id 1d6zNN-0006x6-M2
 for 26797 <at> debbugs.gnu.org; Sat, 06 May 2017 09:03:58 -0400
Received: from localhost (port-92-200-17-209.dynamic.qsc.de [92.200.17.209])
 by mx.zohomail.com with SMTPS id 1494075834750148.81763288762102;
 Sat, 6 May 2017 06:03:54 -0700 (PDT)
References: <87zieq2sdx.fsf@HIDDEN> <878tmaw3us.fsf@HIDDEN>
User-agent: mu4e 0.9.18; emacs 25.1.1
From: Ricardo Wurmus <rekado@HIDDEN>
To: Ludovic =?utf-8?Q?Court=C3=A8s?= <ludo@HIDDEN>
Subject: Re: bug#26797: qemu looks for smbd at /usr/sbin
In-reply-to: <878tmaw3us.fsf@HIDDEN>
X-URL: https://elephly.net
X-PGP-Key: https://elephly.net/rekado.pubkey
X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6  2150 197A 5888 235F ACAC
Date: Sat, 06 May 2017 15:03:51 +0200
Message-ID: <87y3ua2l3c.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-ZohoMailClient: External
X-Spam-Score: -1.8 (-)
X-Debbugs-Envelope-To: 26797
Cc: 26797 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.8 (-)


Ludovic Courtès <ludo@HIDDEN> writes:

> See commit b344c505f4dff2ecbe981f0a0a3c3d67b222dcca, which removed the
> dependency and Samba.  Prior to that commit, QEMU recorded the absolute
> file name of ‘smbd’.
>
> The problem is that Samba is big:
>
> --8<---------------cut here---------------start------------->8---
> $ guix size qemu |tail -1
> total: 710.5 MiB
> $ guix size qemu samba |tail -1
> total: 1203.5 MiB
> --8<---------------cut here---------------end--------------->8---

Right, that’s not good.

> Thus it’d be best if we modified QEMU to search for ‘smbd’ in $PATH.

I agree!  I can’t work on this right now, unfortunately, but I’ll
revisit this at some point in the future if nobody else beats me to it.

Thanks for your input!

--
Ricardo

GPG: BCA6 89B6 3655 3801 C3C6  2150 197A 5888 235F ACAC
https://elephly.net





Information forwarded to bug-guix@HIDDEN:
bug#26797; Package guix. Full text available.

Message received at 26797 <at> debbugs.gnu.org:


Received: (at 26797) by debbugs.gnu.org; 6 May 2017 12:46:02 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat May 06 08:46:02 2017
Received: from localhost ([127.0.0.1]:57295 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1d6z62-0006WZ-B7
	for submit <at> debbugs.gnu.org; Sat, 06 May 2017 08:46:02 -0400
Received: from eggs.gnu.org ([208.118.235.92]:47898)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ludo@HIDDEN>) id 1d6z60-0006Vy-GU
 for 26797 <at> debbugs.gnu.org; Sat, 06 May 2017 08:46:00 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <ludo@HIDDEN>) id 1d6z5p-00046X-Tg
 for 26797 <at> debbugs.gnu.org; Sat, 06 May 2017 08:45:54 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_40,RP_MATCHES_RCVD
 autolearn=disabled version=3.3.2
Received: from fencepost.gnu.org ([2001:4830:134:3::e]:49552)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <ludo@HIDDEN>)
 id 1d6z5p-00046O-Q8; Sat, 06 May 2017 08:45:49 -0400
Received: from reverse-83.fdn.fr ([80.67.176.83]:49178 helo=ribbon)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <ludo@HIDDEN>)
 id 1d6z5p-0001kw-6W; Sat, 06 May 2017 08:45:49 -0400
From: ludo@HIDDEN (Ludovic =?utf-8?Q?Court=C3=A8s?=)
To: Ricardo Wurmus <rekado@HIDDEN>
Subject: Re: bug#26797: qemu looks for smbd at /usr/sbin
References: <87zieq2sdx.fsf@HIDDEN>
X-URL: http://www.fdn.fr/~lcourtes/
X-Revolutionary-Date: 17 =?utf-8?Q?Flor=C3=A9al?= an 225 de la =?utf-8?Q?R?=
 =?utf-8?Q?=C3=A9volution?=
X-PGP-Key-ID: 0x090B11993D9AEBB5
X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc
X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4  0CFB 090B 1199 3D9A EBB5
X-OS: x86_64-unknown-linux-gnu
Date: Sat, 06 May 2017 14:45:47 +0200
In-Reply-To: <87zieq2sdx.fsf@HIDDEN> (Ricardo Wurmus's message of "Sat,
 06 May 2017 12:26:18 +0200")
Message-ID: <878tmaw3us.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2001:4830:134:3::e
X-Spam-Score: -5.0 (-----)
X-Debbugs-Envelope-To: 26797
Cc: 26797 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -5.0 (-----)

Ricardo Wurmus <rekado@HIDDEN> skribis:

> Qemu comes with support for sharing files with a guest via Samba.  This
> is done by appending something like this to the qemu-system-*
> invocation:
>
>     =E2=80=A6 -net user,smb=3D$HOME/Downloads -net nic
>
> Qemu needs to be told *at configure time* where the smbd executable will
> be at runtime.  By default this is /usr/sbin/smbd.  Users can work
> around this problem by installing the =E2=80=9Csamba=E2=80=9D package and=
 creating a
> link from /usr/sbin/smbd to the actual executable.
>
> It would be better to fix this, but this would require adding samba as a
> dependency to Qemu, so that the location can be set at configure time.
> Alternatively, we could patch Qemu to look for smbd depending on an
> environment variable.

See commit b344c505f4dff2ecbe981f0a0a3c3d67b222dcca, which removed the
dependency and Samba.  Prior to that commit, QEMU recorded the absolute
file name of =E2=80=98smbd=E2=80=99.

The problem is that Samba is big:

--8<---------------cut here---------------start------------->8---
$ guix size qemu |tail -1
total: 710.5 MiB
$ guix size qemu samba |tail -1
total: 1203.5 MiB
--8<---------------cut here---------------end--------------->8---

Thus it=E2=80=99d be best if we modified QEMU to search for =E2=80=98smbd=
=E2=80=99 in $PATH.

WDYT?

Ludo=E2=80=99.




Information forwarded to bug-guix@HIDDEN:
bug#26797; Package guix. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 6 May 2017 10:26:41 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat May 06 06:26:41 2017
Received: from localhost ([127.0.0.1]:57190 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1d6wvB-0001LR-3c
	for submit <at> debbugs.gnu.org; Sat, 06 May 2017 06:26:41 -0400
Received: from eggs.gnu.org ([208.118.235.92]:51148)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rekado@HIDDEN>) id 1d6wv9-0001LE-EH
 for submit <at> debbugs.gnu.org; Sat, 06 May 2017 06:26:39 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <rekado@HIDDEN>) id 1d6wv3-0007KB-AL
 for submit <at> debbugs.gnu.org; Sat, 06 May 2017 06:26:34 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_40 autolearn=disabled
 version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:33088)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <rekado@HIDDEN>) id 1d6wv3-0007Jx-8F
 for submit <at> debbugs.gnu.org; Sat, 06 May 2017 06:26:33 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:42099)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <rekado@HIDDEN>) id 1d6wv2-0006Yk-4i
 for bug-guix@HIDDEN; Sat, 06 May 2017 06:26:33 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <rekado@HIDDEN>) id 1d6wux-0007H6-7s
 for bug-guix@HIDDEN; Sat, 06 May 2017 06:26:32 -0400
Received: from sender-of-o51.zoho.com ([135.84.80.216]:21059)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <rekado@HIDDEN>) id 1d6wux-0007GH-1M
 for bug-guix@HIDDEN; Sat, 06 May 2017 06:26:27 -0400
Received: from localhost (port-92-200-17-209.dynamic.qsc.de [92.200.17.209])
 by mx.zohomail.com with SMTPS id 1494066381216312.64935607505674;
 Sat, 6 May 2017 03:26:21 -0700 (PDT)
User-agent: mu4e 0.9.18; emacs 25.1.1
From: Ricardo Wurmus <rekado@HIDDEN>
To: bug-guix@HIDDEN
Subject: qemu looks for smbd at /usr/sbin
X-URL: https://elephly.net
X-PGP-Key: https://elephly.net/rekado.pubkey
X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6  2150 197A 5888 235F ACAC
Date: Sat, 06 May 2017 12:26:18 +0200
Message-ID: <87zieq2sdx.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-ZohoMailClient: External
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy]
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -4.0 (----)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -4.0 (----)

Qemu comes with support for sharing files with a guest via Samba.  This
is done by appending something like this to the qemu-system-*
invocation:

    … -net user,smb=$HOME/Downloads -net nic

Qemu needs to be told *at configure time* where the smbd executable will
be at runtime.  By default this is /usr/sbin/smbd.  Users can work
around this problem by installing the “samba” package and creating a
link from /usr/sbin/smbd to the actual executable.

It would be better to fix this, but this would require adding samba as a
dependency to Qemu, so that the location can be set at configure time.
Alternatively, we could patch Qemu to look for smbd depending on an
environment variable.

--
Ricardo

GPG: BCA6 89B6 3655 3801 C3C6  2150 197A 5888 235F ACAC
https://elephly.net





Acknowledgement sent to Ricardo Wurmus <rekado@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guix@HIDDEN. Full text available.
Report forwarded to bug-guix@HIDDEN:
bug#26797; Package guix. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 8 May 2017 14:45:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.