[Bug 558926] Re: Open files on ejected media cause automount of new media to break
It seems to have been fixed. ** Changed in: linux (Ubuntu) Status: Incomplete => Fix Released ** Changed in: linux Status: New => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/558926 Title: Open files on ejected media cause automount of new media to break To manage notifications about this bug go to: https://bugs.launchpad.net/linux/+bug/558926/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 558926] Re: Open files on ejected media cause automount of new media to break
Phillip Susi, this bug was reported a while ago and there hasn't been any activity in it recently. We were wondering if this is still an issue? If so, could you please test for this with the latest development release of Ubuntu? ISO images are available from http://cdimage.ubuntu.com/daily-live/current/ . If it remains an issue, could you please run the following command in the development release from a Terminal (Applications->Accessories->Terminal), as it will automatically gather and attach updated debug information to this report: apport-collect -p linux Also, could you please test the latest upstream kernel available following https://wiki.ubuntu.com/KernelMainlineBuilds ? It will allow additional upstream developers to examine the issue. Please do not test the daily kernel folder, but the one all the way at the bottom. Once you've tested the upstream kernel, please comment on which kernel version specifically you tested. If this bug is fixed in the mainline kernel, please add the following tags: kernel-fixed-upstream kernel-fixed-upstream-VERSION-NUMBER where VERSION-NUMBER is the version number of the kernel you tested. For example: kernel-fixed-upstream-v3.11.1 This can be done by clicking on the yellow circle with a black pencil icon next to the word Tags located at the bottom of the bug description. As well, please remove the tag: needs-upstream-testing If the mainline kernel does not fix this bug, please add the following tags: kernel-bug-exists-upstream kernel-bug-exists-upstream-VERSION-NUMBER As well, please remove the tag: needs-upstream-testing Once testing of the upstream kernel is complete, please mark this bug's Status as Confirmed. Please let us know your results. Thank you for your understanding. ** Package changed: udisks (Ubuntu) => linux ** Changed in: linux Status: Invalid => New ** Changed in: linux (Ubuntu) Status: Triaged => Incomplete -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/558926 Title: Open files on ejected media cause automount of new media to break To manage notifications about this bug go to: https://bugs.launchpad.net/linux/+bug/558926/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 558926] Re: Open files on ejected media cause automount of new media to break
** Changed in: linux (Ubuntu) Status: New => Triaged -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/558926 Title: Open files on ejected media cause automount of new media to break -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 558926] Re: Open files on ejected media cause automount of new media to break
Hrm... actually it seems to behave a bit differently in maverick. It used to do a lazy unmount of the fs, which removed it from the namespace so no new processes could access the old mount. Now it appears it never unmounts the old disc. I can hit the eject button while a terminal has an open file on the disc and as far as anything can see, the old disc is still there. I can open the drive in my computer in nautilus and still see the files on the disc even though nothing is in the drive. Inserting a new disc has no effect. Nautilus does inform me that the terminal window has files open on the disc when I click the eject button, but when I click unmount anyway, the window just pops right back up again. -- Open files on ejected media cause automount of new media to break https://bugs.launchpad.net/bugs/558926 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 558926] Re: Open files on ejected media cause automount of new media to break
Nothing appears in kern.log after the first disc is initially mounted. Eject, and insert second disc and no new messages appear. For reference, all I've got is: Sep 19 01:50:34 faldara kernel: [30007.432864] UDF-fs: No VRS found Sep 19 01:50:34 faldara kernel: [30007.432869] UDF-fs: No partition found (1) Sep 19 01:50:34 faldara kernel: [30007.471443] ISO 9660 Extensions: Microsoft Joliet Level 3 Sep 19 01:50:34 faldara kernel: [30007.500946] ISOFS: changing to secondary root ** Changed in: linux (Ubuntu) Status: Expired => New ** Tags removed: kj-expired -- Open files on ejected media cause automount of new media to break https://bugs.launchpad.net/bugs/558926 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 558926] Re: Open files on ejected media cause automount of new media to break
** Attachment added: "logs.tar.gz" http://launchpadlibrarian.net/47132697/logs.tar.gz -- Open files on ejected media cause automount of new media to break https://bugs.launchpad.net/bugs/558926 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 558926] Re: Open files on ejected media cause automount of new media to break
The problem seems to be that the kernel STILL can not properly force unmount. If I umount -f /dev/sr0 it fails with -EBUSY. A lazy umount leaves the filesystem still mounted. If I umount -l /dev/sr0 then try to open the drive in nautilus again I get: Error mounting: mount exited with exit code 1: helper failed with: mount: /dev/sr0 already mounted or /media/cdrom0 busy As long as a process keeps an open fd, the filesystem remains mounted ( but hidden from the namespace ), which prevents you from mounting it again, even if new media has been inserted. You also can not use lsof to find what process still has files open since they have been removed from the namespace. There also does not seem to be a way to undo a lazy umount and reattach the mount point to the namespace. -- Open files on ejected media cause automount of new media to break https://bugs.launchpad.net/bugs/558926 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 558926] Re: Open files on ejected media cause automount of new media to break
Hm, the udisks etc. log files look fine (although udev fails to detect the drive capabilities in the last run, but that seems to be an unrelated bug). Still missing /var/log/kern.log after this happens, it might reveal something. -- Open files on ejected media cause automount of new media to break https://bugs.launchpad.net/bugs/558926 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 558926] Re: Open files on ejected media cause automount of new media to break
This bug report was marked as Incomplete and has not had any updated comments for quite some time. As a result this bug is being closed. Please reopen if this is still an issue in the current Ubuntu release http://www.ubuntu.com/getubuntu/download . Also, please be sure to provide any requested information that may have been missing. To reopen the bug, click on the current status under the Status column and change the status back to "New". Thanks. [This is an automated message. Apologies if it has reached you inappropriately; please just reply to this message indicating so.] ** Tags added: kj-expired ** Changed in: linux (Ubuntu) Status: Incomplete => Expired -- Open files on ejected media cause automount of new media to break https://bugs.launchpad.net/bugs/558926 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs