Bug#217255: problems with umount and nautilus

Sven Luther Sven Luther <sven.luther@wanadoo.fr>, 217255@bugs.debian.org
Wed, 12 Nov 2003 18:22:54 +0100


On Wed, Nov 12, 2003 at 06:00:09PM +0100, Sebastien Bacher wrote:
> Sven Luther <sven.luther@wanadoo.fr> writes:
> 
> > How to reproduce it :
> >
> >   1) Insert CD.
> >   2) right mouse button on the desktop, select volumes and CD-ROM.
> >   3) double click on CD icon to open nautilus.
> >   4) Browse to one of the files, and open it (tested with nautilus).
> >   5) Close nautilus window.
> >   6) Try ejecting the cdrom => Error message saying the CD is in use.
> 
> Work fine here ...

Well, evidently. 

> >> Nautilus doesn't use fam on read-only media, so I think it's not a
> >> nautilus bug, but a fam bug.
> >
> > Seriously, i have trouble following the logic, we have the premises :
> >
> >   Nautilus doesn't use fam for read-only media.
> 
> Yes, according to the upstreams.

Which may or may not be true.

> >   The bug appears in nautilus with read-only media.
> 
> No bug on upstreams' boxes and I can't reproduce it too. So I was try to
> guess if something in the background can grab the device ...

Yes, i understand, Difficult to track bugs, but bugs nonetheless.

Another data point. I have latin1 french locale. Probably Matthieu
Baechler has too.

> > Therefore :
> >
> >   It can't be a fam bug since it is not used. 
> 
> Look on the second comment in the bug report that point a fam
> problem. Could you try the lsof to see what's holding the device ?

How do i check that. lsof | grep scd0 doesn't show anything, and lsof
shows _loads_ of stuff. What do i have to look for ?

> > But then, i don't really care about fam, the gnome maintainers are
> > supposed to make a working gnome desktop, and this include a working CD
> > mounting with nautilus. Having to reboot to be able to remove the CD is
> > just wrong, please fix this.
> 
> I'm trying to reproduce it to fix it yes, but neither upstreams or me
> can reproduce it, so it's not easy ...

So, let's search at what difference between my setup and yours.

> > BTW, i have a scsi CD-ROM drive, but i suppose this doesn't influence
> > anything.
> 
> I'm not sure, but I don't think it makes a difference.

Try enabling the ide-scsi emulation for your cdrom drive, and we will
know.

Friendly,

Sven Luther