System-hang when browsing unconnected network share

Open
#1,378 48 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Quiet
Tech stack
linux

Research direction

No source file or test is named. Start by reproducing Nemo bookmark access with the listed CIFS/systemd automount setup while off the network, then read the 48-comment thread for diagnostics. Done means an unavailable bookmarked share reports an error without hanging the system.

Written by the indexing model from the issue text.

Description

BUG

What happens

I have Nemo bookmarks for shares on my local network. Those shares are controller, on the Linux side (they point to a Windows computer) by systemd and Samba and my fstab. Relevant part of the latter:

# Desktop
//192.168.1.51/Desktop	/mnt/Windows_Desktop	cifs	credentials=/home/nicholas/.smbcredentials,uid=1000,gid=1000,iocharset=utf8,rw,x-systemd.automount,noauto	0 0

# My Documents
//192.168.1.51/My\040Documents	/mnt/Windows_Docs	cifs	credentials=/home/nicholas/.smbcredentials,uid=1000,gid=1000,iocharset=utf8,rw,x-systemd.automount,noauto	0 0

# Y drive
//192.168.1.51/y	/mnt/Windows_Y	cifs	credentials=/home/nicholas/.smbcredentials,uid=1000,gid=1000,iocharset=utf8,rw,x-systemd.automount,noauto	0 0

# E drive
//192.168.1.51/Backup	/mnt/Windows_E	cifs	credentials=/home/nicholas/.smbcredentials,uid=1000,gid=1000,iocharset=utf8,rw,x-systemd.automount,noauto	0 0

When I am away from home, naturally I cannot connect to the local network. Yet, if I try to - via a Nemo bookmark - the whole system hangs. I have to press the reset button on the laptop computer.

What should happen

I should get an error mesage and the system should not hang. I hope the problem is with my particular setup. Otherwise, this is a serious bug - though, even if the problem is with my setup, surely it should be easier to create network shares (or at least ones that, unlike normal Samba shares, do not temporarily freeze the system when they are unavailable - though note that such a temporary freeze would be better than the hard-reset-necessitating situation that I am experiencing).

My system
Mint 18.1 x64. Nemo 3.2.2.

Dominant language
C
Stars
1.6k
Forks
368
Avg merge
4d 4h
Merged PRs (30d)
2

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from linuxmint/nemo

All issues in linuxmint/nemo

Similar issues

More C issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.