! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Thunar hangs on startup when unavailable network shares are in bookmarks
Status:
RESOLVED: MOVED

Comments

Description Luca Steinke 2016-02-24 11:11:02 CET
Apparently, when using x-systemd-automount, Thunar seems to somehow access the share and doesn't respond on startup. Journal shows:

-- Subject: Unit mnt-server-data.mount has begun start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit mnt-server-data.mount has begun starting up.
Feb 24 11:01:13 my-computer mount[1730]: Unable to find suitable address.
Feb 24 11:01:13 my-computer systemd[1]: mnt-server-data.mount: Mount process exited, code=exited status=32
Feb 24 11:01:13 my-computer systemd[1]: Failed to mount /mnt/server/data.
-- Subject: Unit mnt-server-data.mount has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit mnt-server-data.mount has failed.
-- 
-- The result is failed.

steps to reproduce: /etc/fstab:

# systemd automounts
//192.168.1.10/data   /mnt/server/data cifs    credentials=/etc/samba/credentials/server,noauto,x-systemd.automount,x-systemd.device-timeout=7 0 0
UUID=9A7C301A7C2FF025	/mnt/win10	ntfs-3g noauto,x-systemd.automount,remove_hiberfile	0 0


→ you don't need a real (samba) share, because it has to be not available for this bug to occur anyway. Seems to be related to #12265 – apparently for all network shares. Thunar doesn't respond after the timeout, too.
Comment 1 alexxcons editbugs 2018-09-12 23:50:33 CEST
Thanks for reporting and sorry for the late reply !

I cannot reproduce the bug via samba, since I dont have a samba share.
As far as I can see, I first need to add a bookmark for a samba share.

I added a reply on #12265 ... I believe both bugs are about the same problem, and I have a nfs mount .. so I replied there.

Could you please take a try for the suggestions there ?
https://bugzilla.xfce.org/show_bug.cgi?id=12265#c1
Comment 2 alexxcons editbugs 2020-04-13 15:34:59 CEST
*** Bug 16687 has been marked as a duplicate of this bug. ***
Comment 3 alexxcons editbugs 2020-04-13 15:38:57 CEST
*** Bug 15789 has been marked as a duplicate of this bug. ***
Comment 4 Harald Judt editbugs 2020-04-13 22:53:21 CEST
I can see this issue with thunar-1.8.14 and a hanging sshfs resource, but don't know of a way to reproduce the problem.
Comment 5 Git Bot editbugs 2020-05-26 23:25:46 CEST
-- GitLab Migration Automatic Message --

This bug has been migrated to xfce.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.xfce.org/xfce/thunar/-/issues/129.

Please create an account or use an existing account on one of our supported OAuth providers. 

If you want to fork to submit patches and merge requests please continue reading here: https://docs.xfce.org/contribute/dev/git/start#gitlab_forks_and_merge_requests

Also feel free to reach out to us on the mailing list https://mail.xfce.org/mailman/listinfo/xfce4-dev

Bug #12467

Reported by:
Luca Steinke
Reported on: 2016-02-24
Last modified on: 2020-05-26
Duplicates (2):
  • 15789 Hangs when Places/Bookmark target is autofs and doesn't exist/not available
  • 16687 Very long start with cifs and nfs bookmarks

People

Assignee:
Xfce Bug Triage
CC List:
7 users

Version

Version:
1.6.10

Attachments

Additional information