From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id qEYHCvSD+F7gSgAA0tVLHw (envelope-from ) for ; Sun, 28 Jun 2020 11:50:12 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id sGDVBfSD+F7aQgAA1q6Kng (envelope-from ) for ; Sun, 28 Jun 2020 11:50:12 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id A2F5C940225 for ; Sun, 28 Jun 2020 11:50:11 +0000 (UTC) Received: from localhost ([::1]:56052 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jpVp3-0000jp-Ut for larch@yhetil.org; Sun, 28 Jun 2020 07:50:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40982) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jpVow-0000jf-Bz for bug-guix@gnu.org; Sun, 28 Jun 2020 07:50:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:33990) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jpVow-0001GN-3A for bug-guix@gnu.org; Sun, 28 Jun 2020 07:50:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jpVov-0006rJ-VH for bug-guix@gnu.org; Sun, 28 Jun 2020 07:50:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#42036: Failed to mount fuse sshfs Resent-From: Tobias Geerinckx-Rice Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sun, 28 Jun 2020 11:50:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42036 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Oleg Pykhalov Cc: Efraim Flashner , 42036@debbugs.gnu.org Received: via spool by 42036-submit@debbugs.gnu.org id=B42036.159334497126320 (code B ref 42036); Sun, 28 Jun 2020 11:50:01 +0000 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; 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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -3.3 (---) X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" Reply-to: Tobias Geerinckx-Rice From: Tobias Geerinckx-Rice via Bug reports for GNU Guix X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=tobias.gr header.s=2018 header.b=OSWceAv5; dmarc=none; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Spam-Score: -1.61 X-TUID: MbSzV13gAYWE --=-=-= 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----- --=-=-=--