all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#47716: gio mount broken, again.
@ 2021-04-11 18:29 raingloom
  2022-07-12 15:29 ` Maxim Cournoyer
  2022-07-14 20:05 ` Maxim Cournoyer
  0 siblings, 2 replies; 5+ messages in thread
From: raingloom @ 2021-04-11 18:29 UTC (permalink / raw)
  To: 47716

```
$ gio mount sftp://whatever
$ ls /run/user/$UID/gvfs/
```
prints nothing.

Same thing happens if I mount it from the Nautilus file manager.

This bug has appeared before and I still have no idea how it was fixed,
which is not great. I'll do a bisect soon. Should probably add a system
test for it so it doesn't break again.

In the meantime, if whoever fixed it the last time could look into it
again, I'd be very thankful. Using sshfs manually works but isn't great.




^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#47716: gio mount broken, again.
  2021-04-11 18:29 bug#47716: gio mount broken, again raingloom
@ 2022-07-12 15:29 ` Maxim Cournoyer
  2022-07-12 20:04   ` Csepp
  2022-07-14 20:05 ` Maxim Cournoyer
  1 sibling, 1 reply; 5+ messages in thread
From: Maxim Cournoyer @ 2022-07-12 15:29 UTC (permalink / raw)
  To: raingloom; +Cc: 47716

Hi,

raingloom <raingloom@riseup.net> writes:

> ```
> $ gio mount sftp://whatever
> $ ls /run/user/$UID/gvfs/
> ```
> prints nothing.
>
> Same thing happens if I mount it from the Nautilus file manager.
>
> This bug has appeared before and I still have no idea how it was fixed,
> which is not great. I'll do a bisect soon. Should probably add a system
> test for it so it doesn't break again.
>
> In the meantime, if whoever fixed it the last time could look into it
> again, I'd be very thankful. Using sshfs manually works but isn't great.

glib has seen 3 ugrades in Guix since you reported this issue (2.68.3
then 2.70 then 2.70.2).  Do you still have the issue?

How do you setup the server; is a running OpenSSH server sufficient?

Thanks,

Maxim




^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#47716: gio mount broken, again.
  2022-07-12 15:29 ` Maxim Cournoyer
@ 2022-07-12 20:04   ` Csepp
  2022-07-14 12:45     ` Csepp
  0 siblings, 1 reply; 5+ messages in thread
From: Csepp @ 2022-07-12 20:04 UTC (permalink / raw)
  To: Maxim Cournoyer; +Cc: 47716, raingloom


Maxim Cournoyer <maxim.cournoyer@gmail.com> writes:

> Hi,
>
> raingloom <raingloom@riseup.net> writes:
>
>> ```
>> $ gio mount sftp://whatever
>> $ ls /run/user/$UID/gvfs/
>> ```
>> prints nothing.
>>
>> Same thing happens if I mount it from the Nautilus file manager.
>>
>> This bug has appeared before and I still have no idea how it was fixed,
>> which is not great. I'll do a bisect soon. Should probably add a system
>> test for it so it doesn't break again.
>>
>> In the meantime, if whoever fixed it the last time could look into it
>> again, I'd be very thankful. Using sshfs manually works but isn't great.
>
> glib has seen 3 ugrades in Guix since you reported this issue (2.68.3
> then 2.70 then 2.70.2).  Do you still have the issue?
>
> How do you setup the server; is a running OpenSSH server sufficient?
>
> Thanks,
>
> Maxim

I haven't done the bisect yet (ugh, why is time), but yes, the problem
still persists. Mostly same system config. gvfs is included in system
profile.
Yep, running OpenSSH is enough.
The system I'm currently writing from very much has the issue and is
about... okay, so it's from june 21, so not as fresh as I thought, but
relatively fresh.




^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#47716: gio mount broken, again.
  2022-07-12 20:04   ` Csepp
@ 2022-07-14 12:45     ` Csepp
  0 siblings, 0 replies; 5+ messages in thread
From: Csepp @ 2022-07-14 12:45 UTC (permalink / raw)
  To: Maxim Cournoyer; +Cc: 47716, raingloom


Csepp <raingloom@riseup.net> writes:

> Maxim Cournoyer <maxim.cournoyer@gmail.com> writes:
>
>> Hi,
>>
>> raingloom <raingloom@riseup.net> writes:
>>
>>> ```
>>> $ gio mount sftp://whatever
>>> $ ls /run/user/$UID/gvfs/
>>> ```
>>> prints nothing.
>>>
>>> Same thing happens if I mount it from the Nautilus file manager.
>>>
>>> This bug has appeared before and I still have no idea how it was fixed,
>>> which is not great. I'll do a bisect soon. Should probably add a system
>>> test for it so it doesn't break again.
>>>
>>> In the meantime, if whoever fixed it the last time could look into it
>>> again, I'd be very thankful. Using sshfs manually works but isn't great.
>>
>> glib has seen 3 ugrades in Guix since you reported this issue (2.68.3
>> then 2.70 then 2.70.2).  Do you still have the issue?
>>
>> How do you setup the server; is a running OpenSSH server sufficient?
>>
>> Thanks,
>>
>> Maxim
>
> I haven't done the bisect yet (ugh, why is time), but yes, the problem
> still persists. Mostly same system config. gvfs is included in system
> profile.
> Yep, running OpenSSH is enough.
> The system I'm currently writing from very much has the issue and is
> about... okay, so it's from june 21, so not as fresh as I thought, but
> relatively fresh.

Upgraded system and user profiles and the issue is still present.




^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#47716: gio mount broken, again.
  2021-04-11 18:29 bug#47716: gio mount broken, again raingloom
  2022-07-12 15:29 ` Maxim Cournoyer
@ 2022-07-14 20:05 ` Maxim Cournoyer
  1 sibling, 0 replies; 5+ messages in thread
From: Maxim Cournoyer @ 2022-07-14 20:05 UTC (permalink / raw)
  To: raingloom; +Cc: 47716-done

Hi,

raingloom <raingloom@riseup.net> writes:

> ```
> $ gio mount sftp://whatever
> $ ls /run/user/$UID/gvfs/
> ```
> prints nothing.

Note that it seem to work if you are using the GNOME desktop.

> Same thing happens if I mount it from the Nautilus file manager.
>
> This bug has appeared before and I still have no idea how it was fixed,
> which is not great. I'll do a bisect soon. Should probably add a system
> test for it so it doesn't break again.
>
> In the meantime, if whoever fixed it the last time could look into it
> again, I'd be very thankful. Using sshfs manually works but isn't great.

gvfs is now using fusermount3, but we were only adding 'fusermount' as a
setuid-program by default.

After adding fusermount3 from fuse@3 to /run/setuid-programs, it appears
to work:

$ guix shell glib:bin gvfs dbus fuse gnome-keyring
[env] PATH=/run/setuid-programs:$PATH dbus-run-session bash
[env] gio mount sftp://some-host:2345
( prompts for credentials )
ls /run/user/1000/gvfs/sftp:host=some-host,port=2345/
bin/   dev/  gnu/   [...]

I've pushed this as commit cbdfa54c77.

Closing.

Maxim




^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-07-14 20:06 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-11 18:29 bug#47716: gio mount broken, again raingloom
2022-07-12 15:29 ` Maxim Cournoyer
2022-07-12 20:04   ` Csepp
2022-07-14 12:45     ` Csepp
2022-07-14 20:05 ` Maxim Cournoyer

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.