[Bug 452049] Re: Gnome Places contains filesystems mounted via bind
Lanoxx
452049 at bugs.launchpad.net
Sun Oct 14 22:53:15 UTC 2012
This surprises me, because I am under 12.04 and do see this bug, its
actually present since several years.
The problem lies in the code of glib. Nautilus actually has some code in
place to differentiate between bind mounted mount points and other mount
points. But glib (gio) is not properly handling this case, so the check
in nautilus is never reached.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to glib2.0 in Ubuntu.
https://bugs.launchpad.net/bugs/452049
Title:
Gnome Places contains filesystems mounted via bind
Status in The "G" Library - GLib:
Confirmed
Status in Nautilus:
New
Status in “glib2.0” package in Ubuntu:
Confirmed
Bug description:
Binary package hint: nautilus
What happens:
1. mount a folder a to point b with the -bind option in /etc/fstab, for example:
/media/data /home/username/MyDocuments none bind,user=username,group=username 0 0
2. reboot and then open nautilus
3. nautilus will show the new mount point in the places sidebar but it will give you an error if you click on the mount point:
Unable to mount MyDocuments
mount: according to mtab, /media/data is already mounted on /home/username/MyDocuments
mount failed
What should happen:
1. nautilus should not show these binded folders since they are well accessible through the filesystem
2. if the mounted folder (e.g. /mount/data) is a block device then it will appear in the places sidebar anyway and thus it is not necessary to show the mount point again
3. if the mounted folder is a normal folder from an existing file system then its accessible both from the original location and the newly binded location, thus the is no need to show it in places again
4. this is quite annoying
Additional Information:
This bug persists in Lucid
ProblemType: Bug
Architecture: amd64
Date: Thu Oct 15 12:04:11 2009
DistroRelease: Ubuntu 10.04
Package: nautilus 2.30
To manage notifications about this bug go to:
https://bugs.launchpad.net/glib/+bug/452049/+subscriptions
More information about the foundations-bugs
mailing list