From mboxrd@z Thu Jan 1 00:00:00 1970 From: Leo Famulari Subject: bug#26797: qemu looks for smbd at /usr/sbin Date: Sat, 6 May 2017 14:48:50 -0400 Message-ID: <20170506184850.GA22485@jasmine> References: <87zieq2sdx.fsf@elephly.net> <878tmaw3us.fsf@gnu.org> <87y3uayrkc.fsf@fastmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="cNdxnHkX5QqsyA0e" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36672) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d74lL-0002IN-7d for bug-guix@gnu.org; Sat, 06 May 2017 14:49:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d74lK-0001Le-6c for bug-guix@gnu.org; Sat, 06 May 2017 14:49:03 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:60353) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1d74lK-0001La-3O for bug-guix@gnu.org; Sat, 06 May 2017 14:49:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1d74lJ-0007UW-OP for bug-guix@gnu.org; Sat, 06 May 2017 14:49:01 -0400 Sender: "Debbugs-submit" Resent-Message-ID: Content-Disposition: inline In-Reply-To: <87y3uayrkc.fsf@fastmail.com> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Marius Bakke Cc: 26797@debbugs.gnu.org --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 writes: >=20 > > Ricardo Wurmus 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--