[Bug 452049] Re: Gnome Places contains filesystems mounted via bind
The Precise Pangolin has reached end of life, so this bug will not be fixed for that release ** Changed in: glib2.0 (Ubuntu Precise) Status: Triaged => Won't Fix -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to glib2.0 in Ubuntu. https://bugs.launchpad.net/bugs/452049 Title: Gnome Places contains filesystems mounted via bind To manage notifications about this bug go to: https://bugs.launchpad.net/glib/+bug/452049/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 452049] Re: Gnome Places contains filesystems mounted via bind
** Changed in: glib Status: Confirmed => Fix Released -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to glib2.0 in Ubuntu. https://bugs.launchpad.net/bugs/452049 Title: Gnome Places contains filesystems mounted via bind To manage notifications about this bug go to: https://bugs.launchpad.net/glib/+bug/452049/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 452049] Re: Gnome Places contains filesystems mounted via bind
This bug was fixed in the package glib2.0 - 2.35.4-0ubuntu5 --- glib2.0 (2.35.4-0ubuntu5) raring; urgency=low * debian/patches/git_fix_gvariant_tuple_checking.patch: - should fix a dconf-service segfault issue (lp: #1105102) -- Sebastien BacherFri, 25 Jan 2013 18:08:29 +0100 ** Changed in: glib2.0 (Ubuntu) Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to glib2.0 in Ubuntu. https://bugs.launchpad.net/bugs/452049 Title: Gnome Places contains filesystems mounted via bind To manage notifications about this bug go to: https://bugs.launchpad.net/glib/+bug/452049/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 452049] Re: Gnome Places contains filesystems mounted via bind
Correct me if I am wrong, but I am assuming that the effort does not increase if the fix is backported to two lines instead of one? This is probably a mostly automatic procedure, or not? And it could after all make a few people happy :) -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to glib2.0 in Ubuntu. https://bugs.launchpad.net/bugs/452049 Title: Gnome Places contains filesystems mounted via bind To manage notifications about this bug go to: https://bugs.launchpad.net/glib/+bug/452049/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 452049] Re: Gnome Places contains filesystems mounted via bind
> It would be quite nice to get this fix pack ported to quantal and precise. Given its only a two liner I assume there wont be much if any side effects to this patch. that's why a "precise" line was added to the bug table, I'm unsure it's worth backporting on nonLTS (e.g quantal) though, that bug has 0 duplicate and 3 affected people, it's pretty much a corner case impacting very few people -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to glib2.0 in Ubuntu. https://bugs.launchpad.net/bugs/452049 Title: Gnome Places contains filesystems mounted via bind To manage notifications about this bug go to: https://bugs.launchpad.net/glib/+bug/452049/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 452049] Re: Gnome Places contains filesystems mounted via bind
It would be quite nice to get this fix pack ported to quantal and precise. Given its only a two liner I assume there wont be much if any side effects to this patch. -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to glib2.0 in Ubuntu. https://bugs.launchpad.net/bugs/452049 Title: Gnome Places contains filesystems mounted via bind To manage notifications about this bug go to: https://bugs.launchpad.net/glib/+bug/452049/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 452049] Re: Gnome Places contains filesystems mounted via bind
** Branch linked: lp:ubuntu/raring-proposed/glib2.0 -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to glib2.0 in Ubuntu. https://bugs.launchpad.net/bugs/452049 Title: Gnome Places contains filesystems mounted via bind To manage notifications about this bug go to: https://bugs.launchpad.net/glib/+bug/452049/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 452049] Re: Gnome Places contains filesystems mounted via bind
** Changed in: nautilus Status: New => Fix Released -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to glib2.0 in Ubuntu. https://bugs.launchpad.net/bugs/452049 Title: Gnome Places contains filesystems mounted via bind To manage notifications about this bug go to: https://bugs.launchpad.net/glib/+bug/452049/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 452049] Re: Gnome Places contains filesystems mounted via bind
** Also affects: glib2.0 (Ubuntu Precise) Importance: Undecided Status: New ** Changed in: glib2.0 (Ubuntu Precise) Status: New => Triaged ** Changed in: glib2.0 (Ubuntu Precise) Importance: Undecided => Low -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to glib2.0 in Ubuntu. https://bugs.launchpad.net/bugs/452049 Title: Gnome Places contains filesystems mounted via bind To manage notifications about this bug go to: https://bugs.launchpad.net/glib/+bug/452049/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 452049] Re: Gnome Places contains filesystems mounted via bind
@Otus: raring is tracking the current unstable glib so that fix will land with the next release ** Changed in: glib2.0 (Ubuntu) Status: Confirmed => Fix Committed -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to glib2.0 in Ubuntu. https://bugs.launchpad.net/bugs/452049 Title: Gnome Places contains filesystems mounted via bind To manage notifications about this bug go to: https://bugs.launchpad.net/glib/+bug/452049/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 452049] Re: Gnome Places contains filesystems mounted via bind
The upstream bug has now a working patch for the problem. If it cannot be backported then it should probably arrive in Gnome 3.8 --- a/gio/gunixmounts.c +++ b/gio/gunixmounts.c + /* We ignore bind fstab entries, as we ignore bind mounts anyway */ + if (hasmntopt (mntent, "bind")) +continue; + Maybe some of the Ubuntu developers can look at it, and commend if this patch is eligible for a Stable Release Update? -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to glib2.0 in Ubuntu. https://bugs.launchpad.net/bugs/452049 Title: Gnome Places contains filesystems mounted via bind To manage notifications about this bug go to: https://bugs.launchpad.net/glib/+bug/452049/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 452049] Re: Gnome Places contains filesystems mounted via bind
Like Michael Weimann, I only started seeing this under 12.10. Ubuntu 12.04 was fine, although I copied my fstab over. Maybe the bug used to be quite specific, but now applies more generally. One difference I see from the OP is that my mounts are all root: /media/data/folder /home/username/folder bindbind0 0 -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to glib2.0 in Ubuntu. https://bugs.launchpad.net/bugs/452049 Title: Gnome Places contains filesystems mounted via bind To manage notifications about this bug go to: https://bugs.launchpad.net/glib/+bug/452049/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 452049] Re: Gnome Places contains filesystems mounted via bind
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 Desktop Bugs, which is subscribed to glib2.0 in Ubuntu. https://bugs.launchpad.net/bugs/452049 Title: Gnome Places contains filesystems mounted via bind To manage notifications about this bug go to: https://bugs.launchpad.net/glib/+bug/452049/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 452049] Re: Gnome Places contains filesystems mounted via bind
Since the update to Ubuntu 12.10 beta this bug affects me. Under 12.04 the behavior was as expected: bind mounted directories were not shown as devices. -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to glib2.0 in Ubuntu. https://bugs.launchpad.net/bugs/452049 Title: Gnome Places contains filesystems mounted via bind To manage notifications about this bug go to: https://bugs.launchpad.net/glib/+bug/452049/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 452049] Re: Gnome Places contains filesystems mounted via bind
** Changed in: glib Status: Unknown => Confirmed -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to glib2.0 in ubuntu. https://bugs.launchpad.net/bugs/452049 Title: Gnome Places contains filesystems mounted via bind -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 452049] Re: Gnome Places contains filesystems mounted via bind
** Bug watch added: Debian Bug tracker #601784 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=601784 ** Also affects: glib via http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=601784 Importance: Unknown Status: Unknown -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to glib2.0 in ubuntu. https://bugs.launchpad.net/bugs/452049 Title: Gnome Places contains filesystems mounted via bind -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 452049] Re: Gnome Places contains filesystems mounted via bind
Ack, my fault. In the glib source, subdirectory 'gio', see 'gunixmounts.c' and company. -- Gnome Places contains filesystems mounted via bind https://bugs.launchpad.net/bugs/452049 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to glib2.0 in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 452049] Re: Gnome Places contains filesystems mounted via bind
I can not find a file called giounixmounts.c where is this located? can you provide a link or path in the git repository? -- Gnome Places contains filesystems mounted via bind https://bugs.launchpad.net/bugs/452049 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to glib2.0 in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 452049] Re: Gnome Places contains filesystems mounted via bind
Er, check that,. The check might go in 'g_volume_monitor_get_volumes()', 'g_volume_can_mount()', 'g_volume_get_mount()', and maybe' g_volume_get_drive()' functions. -- Gnome Places contains filesystems mounted via bind https://bugs.launchpad.net/bugs/452049 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to glib2.0 in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 452049] Re: Gnome Places contains filesystems mounted via bind
Hello all. Thank you for working on this bug, I have been working on it for the past few days and this thread clears things up quite a bit. Since reading this, I took a look at some gio code and was thinking one of the functions in 'giounixmounts.c' might be of some assistance in determining if the volume is already mounted? For instance, in my case I have an fstab entry for '/dev/sdX' mounted at mount point '/av', then later a bind mount for 'device' /av at mount point '/export/av' (for NFS sharing with other machines on the LAN). A list of all mounted volumes can be gotten via 'g_unix_mounts_get () ' in 'giounixmounts.c', which has logic to deal with bind mounts. Perhaps check somewhere to insure that the places menu is not populated with this entry that is about to be mounted if GUnixMountPoint (/av) is equal to a previously mounted GUnixMountEntry (/av). -- Gnome Places contains filesystems mounted via bind https://bugs.launchpad.net/bugs/452049 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to glib2.0 in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 452049] Re: Gnome Places contains filesystems mounted via bind
** Changed in: nautilus Status: Unknown => New ** Changed in: nautilus Importance: Unknown => Medium -- Gnome Places contains filesystems mounted via bind https://bugs.launchpad.net/bugs/452049 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to glib2.0 in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 452049] Re: Gnome Places contains filesystems mounted via bind
i have just linked the upstream bug and changed the package to glib2.0 as this is not directly a nautilus bug (also nautilus might need to be changed too, once this is fixed upstream). ** Also affects: nautilus via https://bugzilla.gnome.org/show_bug.cgi?id=625552 Importance: Unknown Status: Unknown ** Package changed: nautilus (Ubuntu) => glib2.0 (Ubuntu) -- Gnome Places contains filesystems mounted via bind https://bugs.launchpad.net/bugs/452049 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to glib2.0 in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 452049] Re: Gnome Places contains filesystems mounted via bind
Today I have had some time to investigate this problem. It seems the bug originates from glib and is not actually a bug in nautilus, the reason is that mount points that are mounted with the bind option dont the a GMount mount point assigned from glib. I have explained the behaviour here: https://bugzilla.gnome.org/show_bug.cgi?id=625552 If g_volume_get_mount() would return a GMount pointer for the mount point then nautilus would display the file as mounted and not try to mount it again. Unfortunately there seems to be no way to check the mount options of a given mount point in glib. ** Bug watch added: GNOME Bug Tracker #625552 https://bugzilla.gnome.org/show_bug.cgi?id=625552 -- Gnome Places contains filesystems mounted via bind https://bugs.launchpad.net/bugs/452049 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to nautilus in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 452049] Re: Gnome Places contains filesystems mounted via bind
I have marked the bug as confirmed since I was able to reproduce it on three different computers. ** Description changed: - Binary package hint: mountall + Binary package hint: nautilus What happens: - 1. In the Gnome panel I click on Places and I see two folders that I have mounted in fstab with - bind /.../a to /.../b - bind /.../a to /.../c - 2. When I click either of these folders I get the following error (with different destination path): - Error - Unable to mount MyDocuments - mount: according to mtab, /media/E/MyDocuments is already mounted on /home/username/MyDocuments + 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: - Since these binds are specified in fstab it should not be necessary to mount them at all since they get mounted automatically at boot time. Therefore these entries are unneccessary in the Places menu and should be removed. + 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 9.10 - Package: mountall 0.2.2 - ProcEnviron: - PATH=(custom, no user) - LANG=en_US.UTF-8 - SHELL=/bin/bash - ProcVersionSignature: Ubuntu 2.6.31-14.46-generic - SourcePackage: mountall - Uname: Linux 2.6.31-14-generic x86_64 + DistroRelease: Ubuntu 10.04 + Package: nautilus 2.30 ** Changed in: nautilus (Ubuntu) Status: Incomplete => Confirmed -- Gnome Places contains filesystems mounted via bind https://bugs.launchpad.net/bugs/452049 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to nautilus in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 452049] Re: Gnome Places contains filesystems mounted via bind
the mounting seems to be done in libnautilus-private/nautilus-file-operations.c, in the function nautilus_file_operations_mount_volume_full Maybe it would help to check if the volume is actually mountable or whether it is mounted with the bind option. I have no experience with compiling nautilus but maybe someone can take a look at this function? Also g_volume_can_mount might be useful? Just a thought. -- Gnome Places contains filesystems mounted via bind https://bugs.launchpad.net/bugs/452049 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to nautilus in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 452049] Re: Gnome Places contains filesystems mounted via bind
Now already three month have passed and this bug is still marked as incomplete. Am I the only one that has this bug? Or can nobody reproduce it? I am still having this bug on my pc, even with all current updates. -- Gnome Places contains filesystems mounted via bind https://bugs.launchpad.net/bugs/452049 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to nautilus in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 452049] Re: Gnome Places contains filesystems mounted via bind
Hi, just wondering if you need further information as the bug is still marked as incomplete? -- Gnome Places contains filesystems mounted via bind https://bugs.launchpad.net/bugs/452049 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to nautilus in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
Re: [Bug 452049] Re: Gnome Places contains filesystems mounted via bind
See my Log attached. I only removed one ftp mount point which containted a username. The rest is as is. Sebastien Bacher wrote: > Thank you for your bug report, could you get a gvfs-mount -li log? > > ** Changed in: nautilus (Ubuntu) >Importance: Undecided => Low > > ** Changed in: nautilus (Ubuntu) >Status: New => Incomplete > ** Attachment added: "nautilus.log" http://launchpadlibrarian.net/33760454/nautilus.log -- Gnome Places contains filesystems mounted via bind https://bugs.launchpad.net/bugs/452049 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to nautilus in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 452049] Re: Gnome Places contains filesystems mounted via bind
Thank you for your bug report, could you get a gvfs-mount -li log? ** Changed in: nautilus (Ubuntu) Importance: Undecided => Low ** Changed in: nautilus (Ubuntu) Status: New => Incomplete -- Gnome Places contains filesystems mounted via bind https://bugs.launchpad.net/bugs/452049 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to nautilus in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 452049] Re: Gnome Places contains filesystems mounted via bind
Since they're already mounted, this can't be a mountall bug - it's a nautilus bug for showing them and getting itself confused ** Package changed: mountall (Ubuntu) => nautilus (Ubuntu) -- Gnome Places contains filesystems mounted via bind https://bugs.launchpad.net/bugs/452049 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to nautilus in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs