From debbugs-submit-bounces@debbugs.gnu.org Sat May 06 06:26:41 2017 Received: (at submit) by debbugs.gnu.org; 6 May 2017 10:26:41 +0000 Received: from localhost ([127.0.0.1]:57190 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d6wvB-0001LR-3c for submit@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 ) id 1d6wv9-0001LE-EH for submit@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 ) id 1d6wv3-0007KB-AL for submit@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 ) id 1d6wv3-0007Jx-8F for submit@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 ) id 1d6wv2-0006Yk-4i for bug-guix@gnu.org; Sat, 06 May 2017 06:26:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d6wux-0007H6-7s for bug-guix@gnu.org; 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 ) id 1d6wux-0007GH-1M for bug-guix@gnu.org; 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 To: bug-guix@gnu.org 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@elephly.net> 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@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" 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 From debbugs-submit-bounces@debbugs.gnu.org Sat May 06 08:46:02 2017 Received: (at 26797) by debbugs.gnu.org; 6 May 2017 12:46:02 +0000 Received: from localhost ([127.0.0.1]:57295 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d6z62-0006WZ-B7 for submit@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 ) id 1d6z60-0006Vy-GU for 26797@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 ) id 1d6z5p-00046X-Tg for 26797@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 ) 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 ) id 1d6z5p-0001kw-6W; Sat, 06 May 2017 08:45:49 -0400 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Ricardo Wurmus Subject: Re: bug#26797: qemu looks for smbd at /usr/sbin References: <87zieq2sdx.fsf@elephly.net> 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@elephly.net> (Ricardo Wurmus's message of "Sat, 06 May 2017 12:26:18 +0200") Message-ID: <878tmaw3us.fsf@gnu.org> 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@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) 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 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. From debbugs-submit-bounces@debbugs.gnu.org Sat May 06 09:04:00 2017 Received: (at 26797) by debbugs.gnu.org; 6 May 2017 13:04:00 +0000 Received: from localhost ([127.0.0.1]:57306 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d6zNQ-0006xF-76 for submit@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 ) id 1d6zNN-0006x6-M2 for 26797@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@elephly.net> <878tmaw3us.fsf@gnu.org> User-agent: mu4e 0.9.18; emacs 25.1.1 From: Ricardo Wurmus To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: bug#26797: qemu looks for smbd at /usr/sbin In-reply-to: <878tmaw3us.fsf@gnu.org> 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@elephly.net> 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@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.8 (-) Ludovic Courtès 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 From debbugs-submit-bounces@debbugs.gnu.org Sat May 06 10:43:03 2017 Received: (at 26797) by debbugs.gnu.org; 6 May 2017 14:43:04 +0000 Received: from localhost ([127.0.0.1]:58174 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d70vH-00010z-OY for submit@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 ) id 1d70vF-00010Z-Er for 26797@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: 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 To: Ludovic =?utf-8?Q?Court=C3=A8s?= , Ricardo Wurmus Subject: Re: bug#26797: qemu looks for smbd at /usr/sbin In-Reply-To: <878tmaw3us.fsf@gnu.org> References: <87zieq2sdx.fsf@elephly.net> <878tmaw3us.fsf@gnu.org> 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@fastmail.com> 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@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Ludovic Court=C3=A8s writes: > 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 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----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Sat May 06 14:48:58 2017 Received: (at 26797) by debbugs.gnu.org; 6 May 2017 18:48:58 +0000 Received: from localhost ([127.0.0.1]:58552 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d74lG-0007UE-Dy for submit@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 ) id 1d74lD-0007U5-FH for 26797@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: 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 To: Marius Bakke Subject: Re: bug#26797: qemu looks for smbd at /usr/sbin 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" Content-Disposition: inline In-Reply-To: <87y3uayrkc.fsf@fastmail.com> User-Agent: Mutt/1.8.2 (2017-04-18) X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 26797 Cc: Ricardo Wurmus , Ludovic =?iso-8859-1?Q?Court=E8s?= , 26797@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" 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 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-- From debbugs-submit-bounces@debbugs.gnu.org Sun May 07 11:33:37 2017 Received: (at 26797) by debbugs.gnu.org; 7 May 2017 15:33:37 +0000 Received: from localhost ([127.0.0.1]:60492 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d7OBl-0000AB-6a for submit@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 ) id 1d7OBj-00009x-QT for 26797@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 ) id 1d7OBb-0007lG-GI for 26797@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 ) 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 ) id 1d7OBa-0000xg-NQ; Sun, 07 May 2017 11:33:27 -0400 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Marius Bakke Subject: Re: bug#26797: qemu looks for smbd at /usr/sbin References: <87zieq2sdx.fsf@elephly.net> <878tmaw3us.fsf@gnu.org> <87y3uayrkc.fsf@fastmail.com> 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@fastmail.com> (Marius Bakke's message of "Sat, 06 May 2017 16:42:59 +0200") Message-ID: <87k25sptq3.fsf@gnu.org> 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 , 26797@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) Marius Bakke skribis: > Ludovic Court=C3=A8s writes: > >> 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 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. From debbugs-submit-bounces@debbugs.gnu.org Mon May 08 10:30:30 2017 Received: (at control) by debbugs.gnu.org; 8 May 2017 14:30:30 +0000 Received: from localhost ([127.0.0.1]:34461 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d7jgD-0006E8-Uw for submit@debbugs.gnu.org; Mon, 08 May 2017 10:30:30 -0400 Received: from eggs.gnu.org ([208.118.235.92]:43608) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d7jgC-0006Dt-FA for control@debbugs.gnu.org; Mon, 08 May 2017 10:30:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d7jg6-0000Ga-OR for control@debbugs.gnu.org; Mon, 08 May 2017 10:30:23 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:52651) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d7jg6-0000GW-Ll for control@debbugs.gnu.org; Mon, 08 May 2017 10:30:22 -0400 Received: from reverse-83.fdn.fr ([80.67.176.83]:57048 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1d7jg5-0005cA-AD for control@debbugs.gnu.org; Mon, 08 May 2017 10:30:22 -0400 Date: Mon, 08 May 2017 16:30:19 +0200 Message-Id: <87zienl8uc.fsf@gnu.org> To: control@debbugs.gnu.org From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: control message for bug #26797 MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit 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: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) tags 26797 easy From debbugs-submit-bounces@debbugs.gnu.org Tue Apr 07 15:22:43 2020 Received: (at 26797-done) by debbugs.gnu.org; 7 Apr 2020 19:22:43 +0000 Received: from localhost ([127.0.0.1]:50912 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jLto2-0008P1-Qp for submit@debbugs.gnu.org; Tue, 07 Apr 2020 15:22:43 -0400 Received: from wout3-smtp.messagingengine.com ([64.147.123.19]:34885) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jLto0-0008OX-Pe for 26797-done@debbugs.gnu.org; Tue, 07 Apr 2020 15:22:41 -0400 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id E69D44AF; Tue, 7 Apr 2020 15:22:34 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Tue, 07 Apr 2020 15:22:35 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com; h= from:to:subject:in-reply-to:references:date:message-id :mime-version:content-type; s=fm2; bh=3zaVkhcisZruwCiwIINk5opKX9 FO19cAhfOE/Q9jpSM=; b=twAgDcZedLvx5iPhjGTcls2O1dA2ieF7ldIvTXfH0q DqalGmQR2pAA9+vPgR6Uac/4Lj5580LHL/WPmVhBCBNLeavE/AJTjbSC1F2h+q/L IjkHUd+v2jYre7zx30C6EnK/xRVZCeOcc65RzNXgTALC1ptet8OiLtLSG9VG7g6H HYYcxpuVLf//wvFsB3XY11UqbXVqg7h8d4NX6GDcR0eqmoiKomPaXvzsb4nLsuyZ WJChrpi5lzyekR4riht3XItcJvHlo0ZtNILambWTt2A8dflfxY+rk0fOUlOhsWTv o2Xp1MAhpa0xAPm8BSpuwVHme16d5phUZlt47uPWl8zA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=3zaVkh cisZruwCiwIINk5opKX9FO19cAhfOE/Q9jpSM=; b=15/P3pOhcj6QV6CfvndGjs 5j46H6NIGussQ29O5hUvCt/A2lU7hWDv2IP/K9sf9fuxvAOgY/3dr1Xq6DHl0uhL mQ3d3GWyW9EeFVEYJUA/Cgz1j3laI6+soaGuoCyDymbvq4w1rXiwwlMX+DaSQzPB NNvAocbvGIPiTU3pam/E9AiNPis3YXUH96vV/jIi1IPYtpywtDgD5M+lZH7ASgOx NRy5v4bGVgIzWxAy30SFa/K8O9AyZ+SpKkB7ziQO9lWB2yD8iUw4w7tDOEJoRF7y Mekd+Gxn5pKvi0vV7sivuQ2LRgnk660AUOsA8Yv2Lg+Vv5t983O5tOyTmZJ2zNgw == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduhedrudehgddufeehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvffujghffgffkfggtgesghdtre ertderjeenucfhrhhomhepofgrrhhiuhhsuceurghkkhgvuceomhgsrghkkhgvsehfrghs thhmrghilhdrtghomheqnecukfhppeekgedrvddtvddrieekrdejheenucevlhhushhtvg hrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehmsggrkhhkvgesfhgrshht mhgrihhlrdgtohhm X-ME-Proxy: Received: from localhost (ti0006q161-2604.bb.online.no [84.202.68.75]) by mail.messagingengine.com (Postfix) with ESMTPA id 0ED1F3280059; Tue, 7 Apr 2020 15:22:33 -0400 (EDT) From: Marius Bakke To: Ricardo Wurmus , 26797-done@debbugs.gnu.org Subject: Re: bug#26797: qemu looks for smbd at /usr/sbin In-Reply-To: <87zieq2sdx.fsf@elephly.net> References: <87zieq2sdx.fsf@elephly.net> User-Agent: Notmuch/0.29.3 (https://notmuchmail.org) Emacs/26.3 (x86_64-pc-linux-gnu) Date: Tue, 07 Apr 2020 21:22:32 +0200 Message-ID: <87a73nm77r.fsf@devup.no> 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-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Ricardo Wurmus writes: > 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. This was fixed by Rutger back in 84276503059d46c0a42240f8770f59090614d863 and 0e5d0f66b56221b7de49ab28b607633e413c9110. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAl6M0vgACgkQoqBt8qM6 VPrw3Qf+LZRfN6fKmlOG+cDI2x1Uk/aBp17zBKDhDCEsmMbTgS0uuahRu5wZPqlR /GVks1qCy6dG4Yr3Td0FoYsUnn9vjacPkA3MHLdyXbbAN/samFik4FdbdGCl3yUO LDmJufHGaVvp3c9ok4EAY+HL2pdWIqnnzYMF28xmZ6+/ye+4ibp2WfIeYGfNnrRE F7C8G5JURrAuhKKdAAc6oqIe/LXNwdJT5+1fkvZClHyD9iYvgGw6rMNNF9SVueVg rN2Tt/jAfFM3qiIdRkb32qWOFANcnK92zCZtOKU2VmZMnFHmMFuNnB4Xu9i9KIXA AgVivDfUshXZXpzz6TJZ1nJFT4jPug== =pFGw -----END PGP SIGNATURE----- --=-=-=-- From unknown Sat Sep 13 23:21:37 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 06 May 2020 11:24:08 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator