Ubuntu 18.04 mounted network shares not appearing under devices in file manager

Bug #1773334 reported by Philip Roche on 2018-05-25
This bug affects 5 people
Affects Status Importance Assigned to Milestone
glib2.0 (Ubuntu)

Bug Description

Apologies if this is not the correct package to file this bug/regression against.

On my 18.04 desktop installs (Gnome shell and Ubuntu Mate) when mounting network shares (SMB and NFS) they no longer appear under Devices in file manager (Nautilus or Caja), the mounts do succeed and are accessible at their mount points.

In 16.04 and 17.10 these mounts appeared under Devices (Screenshot of mounted network shares on Ubuntu Mate 17.10 attached)

I am using the following code to mount NFS shares

`sudo mount.nfs /media/philroche/photobackup`

and for SMB shares

`sudo mount.cifs // /media/philroche/photobackup`

Is this a bug/regression, or perhaps it is an intentional change?

I did ask this on IRC in #ubuntu and askubuntu.com but no reply.

Expected behaviour:

I expected the mounted network shares to appear under Devices in File manager

Actual behaviour:

Mounting network shares does succeed as expected but does not appear under Devices in File manager as it did in previous releases.

Requested details:

Description: Ubuntu 18.04 LTS
Release: 18.04
  Installed: 2.7.6-3
  Candidate: 2.7.6-3
  Version table:
 *** 2.7.6-3 500
        500 http://ie.archive.ubuntu.com/ubuntu bionic/main amd64 Packages
        100 /var/lib/dpkg/status

Philip Roche (philroche) wrote :

I also refer you to https://gitlab.gnome.org/GNOME/glib/commit/0d69462 which seems to be the cause.

https://gitlab.gnome.org/GNOME/nautilus/issues/312 refers to this too but I have experienced this in Caja too, not just nautilus.

Philip Roche (philroche) wrote :

Given https://gitlab.gnome.org/GNOME/glib/commit/0d69462 referred to above it does look like an intentional change and nothing to do with udisks2. Please close if this is the case.

d a i s y (daisyd) wrote :

Philip Roche

I have the same issue.

Issue is resolved once I added entry into /etc/fstab.

//ip_add/ShareFolder /media/BACKUP/ cifs credentials=/home/username/.smbcredentials,iocharset=utf8,gid=1000,uid=1000,file_mode=0777,dir_mode=0777,vers=1.0,sec=ntlm 0 0

Here .smbcredentials is a credential file created in home directory with content:

Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in udisks2 (Ubuntu):
status: New → Confirmed
Phillip Susi (psusi) wrote :
affects: udisks2 (Ubuntu) → glib2.0 (Ubuntu)
Changed in glib2.0 (Ubuntu):
importance: Undecided → High
status: Confirmed → Triaged
Phillip Susi (psusi) wrote :

I have patched glib to fix this. Could you try the version in my PPA and verify that it works?

tags: added: bionic
tags: added: rls-bb-incoming
Will Cooke (willcooke) wrote :

We will get this fix as part of the next stable updated.

tags: added: rls-bb-notfixing
removed: rls-bb-incoming
Sebastien Bacher (seb128) wrote :

The issue was fixed in cosmic and the fix was part of that SRU update to bionic

Changed in glib2.0 (Ubuntu):
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers