From unknown Sat Aug 16 16:01:25 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#42036 <42036@debbugs.gnu.org> To: bug#42036 <42036@debbugs.gnu.org> Subject: Status: Failed to mount fuse sshfs Reply-To: bug#42036 <42036@debbugs.gnu.org> Date: Sat, 16 Aug 2025 23:01:25 +0000 retitle 42036 Failed to mount fuse sshfs reassign 42036 guix submitter 42036 Oleg Pykhalov severity 42036 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Wed Jun 24 16:37:12 2020 Received: (at submit) by debbugs.gnu.org; 24 Jun 2020 20:37:12 +0000 Received: from localhost ([127.0.0.1]:39222 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1joC8t-00057t-ST for submit@debbugs.gnu.org; Wed, 24 Jun 2020 16:37:12 -0400 Received: from lists.gnu.org ([209.51.188.17]:39850) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1joC8r-00057i-1c for submit@debbugs.gnu.org; Wed, 24 Jun 2020 16:37:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58564) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1joC8q-00041m-PZ for bug-guix@gnu.org; Wed, 24 Jun 2020 16:37:08 -0400 Received: from mail-lj1-x230.google.com ([2a00:1450:4864:20::230]:41570) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1joC8p-0006ew-Bb for bug-guix@gnu.org; Wed, 24 Jun 2020 16:37:08 -0400 Received: by mail-lj1-x230.google.com with SMTP id 9so4051044ljc.8 for ; Wed, 24 Jun 2020 13:37:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:mime-version; bh=4VzYaUtyNTCl2JBrQg0YbPgnsysVAxPcHatrg/JRpNM=; b=RqWbpyJbtFA4NelHllZ6iI6/01BQcNWmVk3B9+anFP5tjPsctwtSJj2UD3THklTNSZ ory0F6jwbmU4uQjlOEKB+5eHpJyoI07ixltUfyjFp4nBDQERYq6j84Oukk4qp9kp0LQD lfWgWoKEIKEpnujp0pFjbitK3kiKcN/R3lQAEvhJWXbzojL3MhjhNwhcsk8It9p3elY0 ITgjDnLLra5Tv/E/e9+KvJazJoe69NykBPGbHER6MAYrT9ravhFvSm6jtcF8+2gyB8Pe i6QThE83BlCI5xqTOVJhYoZoWF6zA28bgaDtGf5GDFentyLeWBpeA/G2cqw80DSczjUW PyhQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version; bh=4VzYaUtyNTCl2JBrQg0YbPgnsysVAxPcHatrg/JRpNM=; b=V2rY3CTNygpWfC/Y0N5Szsy15IgmEFEX4CS6EsFy07O/i3j2V6mT8HWu/DRJNPLF54 KohQC1ifYQoOC2KRzbj3vMDqzsRHT6CV+x+DZ385dMaNkRvYGnJOcqcoU70N7ncSPrAh VLJg3hxerwPmMy9w9ZtJZ5o0I/YL7iZv0b73G2DN9HcBAouRnuVtyENuDYzg0l5LX8J/ Gh7dk6WfJIck4y18ROhivmyD7dNAvtKEt7MnS6+QIdr3/ubmIZ8ttICaVE/QbFDTZ9+z HOJC69Z3tTOGUrsd3HJtAbfCi23+cI1K3KYJL5zKna0FE4ekW2xzAYP2EGpOzKXzb00Z sP/A== X-Gm-Message-State: AOAM5310Obdon1o3lFQJgtPeUc0anT/5qkXe60Gve7Snmhi7lLFRMNUE jEZzafWMKngzlh3hQb2IAzEeCEV8 X-Google-Smtp-Source: ABdhPJwBG0jTTARU5U/reT0Y6saJ+u9+GbNk0qkHvHBOfuqifPOCeA53/K+S47E4vtNmBJmCRu2pyg== X-Received: by 2002:a2e:8ed3:: with SMTP id e19mr15787224ljl.72.1593031024413; Wed, 24 Jun 2020 13:37:04 -0700 (PDT) Received: from guixsd (ppp91-122-98-213.pppoe.avangarddsl.ru. [91.122.98.213]) by smtp.gmail.com with ESMTPSA id k22sm5488787lfg.69.2020.06.24.13.37.03 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Jun 2020 13:37:03 -0700 (PDT) From: Oleg Pykhalov To: bug-guix Subject: Failed to mount fuse sshfs Date: Wed, 24 Jun 2020 23:36:57 +0300 Message-ID: <87pn9o19qu.fsf@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Received-SPF: pass client-ip=2a00:1450:4864:20::230; envelope-from=go.wigust@gmail.com; helo=mail-lj1-x230.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-Spam-Score: 0.7 (/) 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: -2.3 (--) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable =E2=80=98mount -t fuse -o rw,allow_other,debug sshfs#user@host: /mnt=E2=80= =99 which could be used byself or by =E2=80=98autofs=E2=80=99 cannot find =E2=80=98ss= h=E2=80=99 and =E2=80=98sshfs=E2=80=99 binaries. A workaround are symlinks: /bin/ssh -> /gnu/store/...-openssh-8.3p1/bin/ssh /bin/sshfs -> /gnu/store/...-sshfs-2.10/bin/sshfs --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEcjhxI46s62NFSFhXFn+OpQAa+pwFAl7zuWkACgkQFn+OpQAa +pyl1w//aRkDasiboHaKx9WGjLuwxHCJ9sdZwDEPLu5RDKzwXQ833C2s+Y0lxZap DS4rGJ3yKQU/BrQhManir97KUSjA31D8PSe8R/qnQc7Bof3323D4s82DJGcgGsEO olVpN3QvF1Mwf+nhp97+rGWI5BzLhXTbtW1NHKpJAB0RgYBdoH1EkH2SfyV+cff2 BSx4jNVAIvlFIE13nRSvUwDVlQNK0CQE56U4sZT00e6BzPWw+AlCPgIculmS6EUo CowT71QkRUCyaT6Yknojf0fXSJ+OKImbYOp3e8cmVCnInUIY+omubZQXgLcvEY8J 3CQs/LZ/p5zv6mqbzJl9xN9l6AcYWh7Ph4WU5dVp/F8Jtt9IMufYXaUqWotv3pp2 SRUKxnOT00XrthLaxjUpb1StPwDIh4zuDNSorstDIBMzli339vEj8ypS1nEn2Ui1 nvIWkh9rOyj6B2yZEiF1SZqDuftTqFW/H5HsehEmgr9Mm6XYP4p68hpXyjN15iKd 0q+mLsNudNZnbo6CbYF0zaLNoA1pIqo9VnO/e7ACN4rZ5LWyhs2IcRCLxcEVJn2m jU3B3Zjxvz8gkom+iyJ8gF8CUgDxQGLHGlHryr0obmdPMpqbjsMogIvppaI23nGH 1Wcrj9BCQ1RNGXhz0mTWvHhyrK7Do/Vp935LSftv7EoJpC6BMQw= =QLDW -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Thu Jun 25 06:28:16 2020 Received: (at 42036) by debbugs.gnu.org; 25 Jun 2020 10:28:16 +0000 Received: from localhost ([127.0.0.1]:39751 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1joP7A-0004Qz-JJ for submit@debbugs.gnu.org; Thu, 25 Jun 2020 06:28:16 -0400 Received: from flashner.co.il ([178.62.234.194]:33044) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1joP78-0004Qn-D3 for 42036@debbugs.gnu.org; Thu, 25 Jun 2020 06:28:15 -0400 Received: from localhost (unknown [31.210.181.184]) by flashner.co.il (Postfix) with ESMTPSA id 549CA4005F; Thu, 25 Jun 2020 10:28:08 +0000 (UTC) Date: Thu, 25 Jun 2020 13:27:30 +0300 From: Efraim Flashner To: Oleg Pykhalov Subject: Re: bug#42036: Failed to mount fuse sshfs Message-ID: <20200625102730.GA21908@E5400> References: <87pn9o19qu.fsf@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="fUYQa+Pmc3FrFX/N" Content-Disposition: inline In-Reply-To: <87pn9o19qu.fsf@gmail.com> X-PGP-Key-ID: 0x41AAE7DCCA3D8351 X-PGP-Key: https://flashner.co.il/~efraim/efraim_flashner.asc X-PGP-Fingerprint: A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 42036 Cc: 42036@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.0 (-) --fUYQa+Pmc3FrFX/N Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jun 24, 2020 at 11:36:57PM +0300, Oleg Pykhalov wrote: > =E2=80=98mount -t fuse -o rw,allow_other,debug sshfs#user@host: /mnt=E2= =80=99 which > could be used byself or by =E2=80=98autofs=E2=80=99 cannot find =E2=80=98= ssh=E2=80=99 and =E2=80=98sshfs=E2=80=99 > binaries. A workaround are symlinks: > /bin/ssh -> /gnu/store/...-openssh-8.3p1/bin/ssh > /bin/sshfs -> /gnu/store/...-sshfs-2.10/bin/sshfs I'm not clear on the usage of sshfs, but I just tried 'sshfs efraim@other-machine: mnt/' and it worked without any issues. --=20 Efraim Flashner =D7=90=D7=A4=D7=A8=D7=99=D7=9D = =D7=A4=D7=9C=D7=A9=D7=A0=D7=A8 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --fUYQa+Pmc3FrFX/N Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAl70fA8ACgkQQarn3Mo9 g1Gmhw//See/ShLUnY/JYsJvljmUz2XVykUF8G9qNlHykf5fseUjz0wHaDX0Kwij XfMZKuquZ64DHD9mp3DPPJSDoPgjHT0s9dLDw8zM/I6RTj4fsKl8uB0QrX5ek9Yl l0E5XSAiktSxbCH4uRDl49bWcvDe2Vj8e8ix1HqZ6OCDqrefvSJu5xRIDDNEVi+e R+SgGJoFnC1I5ecWEAWzNCeJJZSRpoPIMdb+hlodEo49BzmiOrORFrqQvZwgN7VO lTTURK4Ai+ZwOCGDr89G8cC1S+V5L2fQnj7KlEPr4jO679ybp7FdUju+0VzWnoBa R4vFu/3T6eP5XFWgQoiFQw3tncIv4d65dOhypjx/0JnjVCEI8kNOe8/ZE+zu895k ePzqYvpBTv9ly+FNzkiNR9PeMJmCIISmrJ7wIhMFv3eTGcfn4cCjKhTzDg5ZnReN +jLRVIQo4/QLfogQx4HgJ17Oxg64dAqEM9KQxqJ7EnZwajzNjxK95qVRZ+tVtDyU jl3dzBfFttg7tFA27LsFT2uJx1Lr88sbKJiAoBgWm5e8TPtvHkoKI3X6yCZ0srdS 1N6UDKh2BRY8+fCYF4Ly7R9Sc2toeMx8CJqnHklJumwlvbpFTBrODLDMMn6ec5pg nba9+An+MsdcjCRskRs8Qppioxcs6atYiwFuzCk7X93OS/bLsGg= =+vSA -----END PGP SIGNATURE----- --fUYQa+Pmc3FrFX/N-- From debbugs-submit-bounces@debbugs.gnu.org Thu Jun 25 08:46:55 2020 Received: (at 42036) by debbugs.gnu.org; 25 Jun 2020 12:46:55 +0000 Received: from localhost ([127.0.0.1]:39882 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1joRHL-0003eV-Mz for submit@debbugs.gnu.org; Thu, 25 Jun 2020 08:46:55 -0400 Received: from tobias.gr ([80.241.217.52]:49172) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1joRHG-0003eH-7V for 42036@debbugs.gnu.org; Thu, 25 Jun 2020 08:46:54 -0400 Received: by tobias.gr (OpenSMTPD) with ESMTP id da15ec91; Thu, 25 Jun 2020 12:46:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=tobias.gr; h=from:to:cc :subject:references:in-reply-to:date:message-id:mime-version :content-type; s=2018; i=me@tobias.gr; bh=IomiMXKVwOVNEvNBnBajUc Vp6wKt3dwJLtJSZ4TJKUM=; b=X+hPtwxJ42EOtUkNSvFIyhBYFTz1H/5IWFbCMa J9G4nZw1y/1xGV2mi610inz3y9hCYU/nd2V69XLcUqVGTLbvXzrDolEMiaUEBcc6 xvEInPtfsGkibeB41BY130GJW3MmLWxxZ2aAPMrLqNcaa1BVezNcxruYhIOFx6/t F4kxtPjovoLNrm6kc7k/x9sL11xjiEUbCouCieT32sO/S/Ei53RDf90BwH/sW9yH tBDkwfoIRdOPcUwc6zVFmo1vtbejs7k2/RdxGsBS9yH2zW2XRx4nK3LAzEjBrB4X xSz6XP05qTPf1kJO5q1bsHcIU2DMwpSg/dw7Z4y3ycZuZytQ== Received: by submission.tobias.gr (OpenSMTPD) with ESMTPSA id 1bf9d125 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO); Thu, 25 Jun 2020 12:46:50 +0000 (UTC) BIMI-Selector: v=BIMI1; s=default; From: Tobias Geerinckx-Rice To: Efraim Flashner Subject: Re: bug#42036: Failed to mount fuse sshfs References: <87pn9o19qu.fsf@gmail.com> <20200625102730.GA21908@E5400> In-reply-to: <20200625102730.GA21908@E5400> Date: Thu, 25 Jun 2020 14:46:46 +0200 Message-ID: <87bll7b9e1.fsf@nckx> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 42036 Cc: Oleg Pykhalov , 42036@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: -3.3 (---) --=-=-= Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Efraim Flashner =E5=86=99=E9=81=93=EF=BC=9A > I'm not clear on the usage of sshfs, but I just tried 'sshfs > efraim@other-machine: mnt/' and it worked without any issues. Right. The bug is mount(8) not finding it because it(?) only=20 looks in /bin, apparently. This poses a problem with e.g. autofs. However, Oleg: are you sure it looks *only* in /bin? Did you=20 install =E2=80=98sshfs=E2=80=99 to your user profile (=E2=80=98guix install= =E2=80=99 or a=20 manifest) or system profile (the =E2=80=98packages=E2=80=99 field of your=20 =E2=80=98operating-system=E2=80=99)? Try the latter. See =E2=80=98Scheme = Procedure:=20 udisks-service=E2=80=99 in the (guix)Desktop Services section of the=20 manual. Kind regards, T G-R --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQT12iAyS4c9C3o4dnINsP+IT1VteQUCXvSctgAKCRANsP+IT1Vt eUP2AQCFz4l883CDIexIayCfGzcjT4d4ZtTjGLZCMaaua7OWFAD/euEf/NWm55Cu 4vaTuROBqgVpM15OHPLU4h2YRQD8Qgw= =NHr0 -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Fri Jun 26 02:01:21 2020 Received: (at 42036) by debbugs.gnu.org; 26 Jun 2020 06:01:21 +0000 Received: from localhost ([127.0.0.1]:41727 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1johQP-0000ky-Aa for submit@debbugs.gnu.org; Fri, 26 Jun 2020 02:01:21 -0400 Received: from mail-lj1-f172.google.com ([209.85.208.172]:42220) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1johQM-0000kf-FI for 42036@debbugs.gnu.org; Fri, 26 Jun 2020 02:01:20 -0400 Received: by mail-lj1-f172.google.com with SMTP id h22so1894409lji.9 for <42036@debbugs.gnu.org>; Thu, 25 Jun 2020 23:01:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=1tOf0oQeQg3AC0+dudy272HmmTibFkscpS97BdG0WZM=; b=LouHzNaMd1BrRJvutTHR3QiFrS9n8btxRPwlqaPT41//nNW/WpEF/11NYnqFImv6RT 0bJx/WzgukFPWbGm534BkK5pkWNBZmmsQhIZnJu//btxRp7O9g4VoKyUhW5OS4lMRtwb JRaRhWNiD4WQqzN9m9WZ35Kudr3EEXFhUUrg21XfLbZBfkkIdmqLCXP9u+Hh0ww8plh6 /A+bOBVUSMC6L0uQ8IStZzh/NPT3eEtKMEI1CAvHrvqM+UBAZ1D1VrlzdpO1kg249/yw wrHE2BVr2ZyfuaYArI/0pq6JU+LsJiSGIIc38Q94WwN2R6Toos26/AHU4e7SGc7fHeWo 4ucg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=1tOf0oQeQg3AC0+dudy272HmmTibFkscpS97BdG0WZM=; b=ogorvsgbn9TCLgVWerVXjXKxRI6gcC4slK2ZMSWcP6smBZgF0JxO5+dFDZCP0GKHkm hsnp2Fv8/88+Ft0UrZJodes6vVOSogW3wiUHUDleWkEYu1dXtK15kGs3pzt5WhNVFKkn rSg4EcRg2AWhHqHqc2LX8x7Ie/W8NSjtBv+FIO+FlrCfSKawNEEEJ+5CuuyOXmWdJmRJ ox6JKD1bCLqRE/eb0WGAXMO3JYtz2ax3M0GxAzxcphSxRXLmMhB3YF/wsOq9DNmIMB48 577dqsqThNa+Y3ZJn/oLxTiszf37Om8DgHj/HO6hRY0UfBKoCQKZY50k9fJ8juannF00 3T3Q== X-Gm-Message-State: AOAM533yUG2LPwNwleiT3ukMSLvkKsVsOKqEHMOScNGJqfXmikfyVe0w uRa/i9jsJkx+jYxMnqIhmQj4Lc2zDa0= X-Google-Smtp-Source: ABdhPJyTH21lFQBR7vxaIOs2TeFRFeGJqTAFhPW2YfM5sd1k4WK9bVepsA+GpMaZ/IH4GAzisTv8pg== X-Received: by 2002:a2e:b5ab:: with SMTP id f11mr493697ljn.438.1593151271885; Thu, 25 Jun 2020 23:01:11 -0700 (PDT) Received: from guixsd (ppp91-122-98-213.pppoe.avangarddsl.ru. [91.122.98.213]) by smtp.gmail.com with ESMTPSA id h18sm861866lji.136.2020.06.25.23.01.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Jun 2020 23:01:10 -0700 (PDT) From: Oleg Pykhalov To: Tobias Geerinckx-Rice Subject: Re: bug#42036: Failed to mount fuse sshfs References: <87pn9o19qu.fsf@gmail.com> <20200625102730.GA21908@E5400> <87bll7b9e1.fsf@nckx> Date: Fri, 26 Jun 2020 09:01:05 +0300 In-Reply-To: <87bll7b9e1.fsf@nckx> (Tobias Geerinckx-Rice's message of "Thu, 25 Jun 2020 14:46:46 +0200") Message-ID: <877dvujrha.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 42036 Cc: Efraim Flashner , 42036@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.0 (-) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi, Tobias Geerinckx-Rice writes: > Efraim Flashner =E5=86=99=E9=81=93=EF=BC=9A >> I'm not clear on the usage of sshfs, but I just tried 'sshfs >> efraim@other-machine: mnt/' and it worked without any issues. > > Right. The bug is mount(8) not finding it because it(?) only looks in /b= in, > apparently. This poses a problem with e.g. autofs. > > However, Oleg: are you sure it looks *only* in /bin? Did you install =E2= =80=98sshfs=E2=80=99 > to your user profile (=E2=80=98guix install=E2=80=99 or a manifest) or sy= stem profile (the > =E2=80=98packages=E2=80=99 field of your =E2=80=98operating-system=E2=80= =99)? I tried to install in Guix system profile via =E2=80=98packages=E2=80=99 fi= eld. No success to run mount. Then I added to =E2=80=98services=E2=80=99 field: =2D-8<---------------cut here---------------start------------->8--- ;; mount -t fuse and autofs (extra-special-file "/bin/sshfs" (file-append sshfs "/bin/sshfs")) (extra-special-file "/bin/ssh" (file-append openssh "/bin/ssh")) =2D-8<---------------cut here---------------end--------------->8--- which works without problems. I didn't have an idea to install them in non-priveleged user profile, because I tested with a =E2=80=98root=E2=80=99 account. Here is a =E2=80=98mount -t=E2=80=98 strace: =2D-8<---------------cut here---------------start------------->8--- oleg@guixsd ~$ mount -t fuse -o rw,allow_other sshfs#oleg@workstation:/home= /oleg /tmp/f /gnu/store/pwcp239kjf7lnj5i4lkdzcfcxwcfyk72-bash-minimal-5.0.16/bin/sh: ssh= fs: command not found execve("/gnu/store/pwcp239kjf7lnj5i4lkdzcfcxwcfyk72-bash-minimal-5.0.16/bin= /sh", ["/gnu/store/pwcp239kjf7lnj5i4lkdzcfcxwcfyk72-bash-minimal-5.0.16/bin= /sh", "-c", "'sshfs' 'oleg@workstation:/home/oleg' '/tmp/f' '-o' 'rw,allow_= other,dev,suid'"], 0x961430 /* 74 vars */) =3D 0 ... stat(".", {st_mode=3DS_IFDIR|0755, st_size=3D20480, ...}) =3D 0 stat("/usr/local/bin/sshfs", 0x7ffed0ac1c90) =3D -1 ENOENT (No such file or= directory) stat("/usr/local/sbin/sshfs", 0x7ffed0ac1c90) =3D -1 ENOENT (No such file o= r directory) stat("/usr/bin/sshfs", 0x7ffed0ac1c90) =3D -1 ENOENT (No such file or dire= ctory) stat("/usr/sbin/sshfs", 0x7ffed0ac1c90) =3D -1 ENOENT (No such file or dire= ctory) stat("/bin/sshfs", 0x7ffed0ac1c90) =3D -1 ENOENT (No such file or dire= ctory) stat("/sbin/sshfs", 0x7ffed0ac1c90) =3D -1 ENOENT (No such file or dire= ctory) stat(".", {st_mode=3DS_IFDIR|0755, st_size=3D20480, ...}) =3D 0 stat("./sshfs", 0x7ffed0ac1c90) =3D -1 ENOENT (No such file or dire= ctory) =2D-8<---------------cut here---------------end--------------->8--- --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEcjhxI46s62NFSFhXFn+OpQAa+pwFAl71jyEACgkQFn+OpQAa +pyjFRAAhUR2xPd6i+0KZNroQvyHaq8i2AXykW3iE42ryngHTNwqZbqz3e+v738N Sfp+1QwrX1CwOterzznBc/I3jA3YGmg4pzMgOQ8COnyytLe7h7eOUFNNSeiFmuDE KhP0S50rXxhw71bTfVUE8buYh6Vw+Jrjhfw26YxwvIbW+t54fuIHAZD0BcrbI3/2 Uc87IoZoKRKA3xjMfmkjoctMQBuEQBny2hS+hsc9SkpedvIVj/MrJpFjQ7DJHBS8 sJE/ZtNmF6XRKOhbBJpqMDlQWaMqqiheRqH5RPneMs2PQneB6SYSwtPmG5eclsxd hU/wpqdrKOi9FR2uU7pU6gn6kXatfk1e6/Q/BC8VgI756fyqZX6JZkKYqgm2Xegl COA0DK/TPqF8DgCjeQOtqLvziOExBO7Or58KF/I7b8KXkd5jD25iI61v2GR1hGpR NrV06CmM1s+LvTUr8kMDjEcXTzoB8G6UM9tnB8BGcroVZUG+Gc7jbivqJom3HJkz V3HmVmVnC8PYrfW/2Xz0BiaxsfGfTl5SY6XIS1r2qLQaatSUTr7UETndqel9MdsN cv10Bgq8YQQMEJeNtkfSxbT02CXyTtMGAOJqWORv0We1igE/Lg70/ABUTLz5lYQS QQSB20vNQs38sMRSdR/71pVyYeDVViI4xU+i1Ut/QKd6rW3maec= =ifFa -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Sun Jun 28 07:49:31 2020 Received: (at 42036) by debbugs.gnu.org; 28 Jun 2020 11:49:31 +0000 Received: from localhost ([127.0.0.1]:45536 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jpVoR-0006qS-0h for submit@debbugs.gnu.org; Sun, 28 Jun 2020 07:49:31 -0400 Received: from tobias.gr ([80.241.217.52]:53164) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jpVoP-0006qJ-M5 for 42036@debbugs.gnu.org; Sun, 28 Jun 2020 07:49:30 -0400 Received: by tobias.gr (OpenSMTPD) with ESMTP id a8e32cf5; Sun, 28 Jun 2020 11:49:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=tobias.gr; h=from:to:cc :subject:references:in-reply-to:date:message-id:mime-version :content-type; s=2018; i=me@tobias.gr; bh=B+Oi3n4t/rI726Fn9oIgpV 12ogOdvqU1U2+TE1BszVU=; b=OSWceAv5/XiWhmQP164p/y8Kgv+z8sJ/hjn+QE hGwMSMn+1qwyBSkjMxQuiRGkii1Y+U22U16av/wGxkacZp0486HzFekomA4gH5lF VuS/9FhuKTpwNZpVsaP2AZq8lDIx6mw+gRDkrHnd+mUTATeOApXEmYWvnIhiz3xS iFrjZj87EYxQRBlozwLeqciIlGdkr5L0KkIJVxuAtgXSuR7rQGx6SVB4KbWwAgh6 eyieVAGLnI2tSIkN4bAgm8x4K38zK2c1nBtMb6FS1HO86Xr95UcscrUBrK/Zb11P G8mplpv0ah15BPbMQffRhSYQpBVLGocsDn2XgsohRKVdo6PA== Received: by submission.tobias.gr (OpenSMTPD) with ESMTPSA id c9880e88 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO); Sun, 28 Jun 2020 11:49:31 +0000 (UTC) BIMI-Selector: v=BIMI1; s=default; From: Tobias Geerinckx-Rice To: Oleg Pykhalov Subject: Re: bug#42036: Failed to mount fuse sshfs References: <87pn9o19qu.fsf@gmail.com> <20200625102730.GA21908@E5400> <87bll7b9e1.fsf@nckx> <877dvujrha.fsf@gmail.com> In-reply-to: <877dvujrha.fsf@gmail.com> Date: Sun, 28 Jun 2020 13:49:26 +0200 Message-ID: <87r1tzquk9.fsf@nckx> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 42036 Cc: Efraim Flashner , 42036@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: -3.3 (---) --=-=-= Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Oleg Pykhalov =E5=86=99=E9=81=93=EF=BC=9A > Tobias Geerinckx-Rice writes: >> However, Oleg: are you sure it looks *only* in /bin? [=E2=80=A6] > Here is a =E2=80=98mount -t=E2=80=98 strace: > --8<---------------cut=20 > here---------------start------------->8--- > oleg@guixsd ~$ mount -t fuse -o rw,allow_other=20 > sshfs#oleg@workstation:/home/oleg /tmp/f > /gnu/store/pwcp239kjf7lnj5i4lkdzcfcxwcfyk72-bash-minimal-5.0.16/bin/sh:=20 > sshfs: command not found > > execve("/gnu/store/pwcp239kjf7lnj5i4lkdzcfcxwcfyk72-bash-minimal-5.0.16/b= in/sh",=20 > ["/gnu/store/pwcp239kjf7lnj5i4lkdzcfcxwcfyk72-bash-minimal-5.0.16/bin/sh"= ,=20 > "-c", "'sshfs' 'oleg@workstation:/home/oleg' '/tmp/f' '-o'=20 > 'rw,allow_other,dev,suid'"], 0x961430 /* 74 vars */) =3D 0 > ... > stat(".", {st_mode=3DS_IFDIR|0755, st_size=3D20480, ...}) =3D 0 > stat("/usr/local/bin/sshfs", 0x7ffed0ac1c90) =3D -1 ENOENT (No=20 > such file or directory) > stat("/usr/local/sbin/sshfs", 0x7ffed0ac1c90) =3D -1 ENOENT (No=20 > such file or directory) > stat("/usr/bin/sshfs", 0x7ffed0ac1c90) =3D -1 ENOENT (No such=20 > file or directory) > stat("/usr/sbin/sshfs", 0x7ffed0ac1c90) =3D -1 ENOENT (No such=20 > file or directory) > stat("/bin/sshfs", 0x7ffed0ac1c90) =3D -1 ENOENT (No such=20 > file or directory) > stat("/sbin/sshfs", 0x7ffed0ac1c90) =3D -1 ENOENT (No such=20 > file or directory) > stat(".", {st_mode=3DS_IFDIR|0755, st_size=3D20480, ...}) =3D 0 > stat("./sshfs", 0x7ffed0ac1c90) =3D -1 ENOENT (No such=20 > file or directory) > --8<---------------cut=20 > here---------------end--------------->8--- Thanks! This part comes from mount.fuse, right? mount calls mount.fuse with $PATH unset. mount.fuse calls=20 /bin/sh -c sshfs =E2=80=A6, which uses /usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin:. by default. Not very useful on Guix Systems. I'm considering the best place to fix this: util-linux (probably),=20 fuse (it would only affect mount.fuse, but maybe we want that kind=20 of control), or bash (almost certainly not). Kind regards, T G-R --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQT12iAyS4c9C3o4dnINsP+IT1VteQUCXviDxgAKCRANsP+IT1Vt ed8wAQCAh2DYh48K9/5svDD6vwyNUNf0NgXWwS3qUGU/uLT3VwEA8C7BgtX0524o XwfAB0vmfKRDvxPwnH6JD6DdskPsqQg= =pz4R -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Mon May 16 02:51:56 2022 Received: (at 42036) by debbugs.gnu.org; 16 May 2022 06:51:57 +0000 Received: from localhost ([127.0.0.1]:51517 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nqUaC-0006vy-Or for submit@debbugs.gnu.org; Mon, 16 May 2022 02:51:56 -0400 Received: from wp224.webpack.hosteurope.de ([80.237.132.231]:41104) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nqUaB-0006vp-9f for 42036@debbugs.gnu.org; Mon, 16 May 2022 02:51:55 -0400 Received: from www.rohleder.de ([37.61.204.227]); authenticated by wp224.webpack.hosteurope.de running ExIM with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) id 1nqUa9-0006Er-98; Mon, 16 May 2022 08:51:53 +0200 Received: from [192.168.1.3] (helo=micha) by www.rohleder.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1nqUZe-0003Xv-HH; Mon, 16 May 2022 08:51:53 +0200 From: Michael Rohleder To: Oleg Pykhalov Subject: Re: bug#42036: Failed to mount fuse sshfs References: <87pn9o19qu.fsf@gmail.com> <20200625102730.GA21908@E5400> <87bll7b9e1.fsf@nckx> <877dvujrha.fsf@gmail.com> Date: Mon, 16 May 2022 08:51:51 +0200 In-Reply-To: <877dvujrha.fsf@gmail.com> (Oleg Pykhalov's message of "Fri, 26 Jun 2020 09:01:05 +0300") Message-ID: <8735haotq0.fsf@rohleder.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-bounce-key: webpack.hosteurope.de;mike@rohleder.de;1652683915;5650e784; X-HE-SMSGID: 1nqUa9-0006Er-98 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 42036 Cc: 42036@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.7 (-) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Oleg Pykhalov writes: > I tried to install in Guix system profile via =E2=80=98packages=E2=80=99 = field. No > success to run mount. For me, the trick was to install fuse in the system profile (to find mount.fuse3). =2D-=20 Some people claim that the UNIX learning curve is steep, but at least you only have to climb it once. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQFFBAEBCAAvFiEEdV4t5dDVhcUueCgwfHr/vv7yyyUFAmKB9IcRHG1pa2VAcm9o bGVkZXIuZGUACgkQfHr/vv7yyyVr7Af/XF5q2IMSovratMgHJHKLPIFxOjd6MWkR d6SOAa4bFh0vLlgU888EEVT8TzJ5Sr3oTeKjD+ECAcqKWFYRk1D4zixH8nTgy92q wC1C2BOkwRA8g1NuSu6ckeXPH3nSAiFvSIJmyGPxsC1S+q6/nXwwx+626j37ErIu mEZDQf7gI9jed9QZ5N3NPklIiuifpIzSnUuqLMuO/lAbdFmlEGOsgYMwapr8KNl5 Bv4YRXadmze/TD4z2I9Z/qx3o/uX3z4mqHugrHX7jxWdYm6wIhbVGxSkMhbEm9n/ dBzkEeckHW7IjYy+lqTdy0VlKmwGV1jgyYFUTzWnqJksc1DxHwc4fg== =oJzL -----END PGP SIGNATURE----- --=-=-=--