Bug#236277: and the answer is no, root cannot either

Martin-Éric Racine Martin-Éric Racine , 236277@bugs.debian.org
Sun, 25 Apr 2004 15:18:24 +0300 (EEST)


On Thu, 15 Apr 2004, Sebastien Bacher wrote:

> Martin-Éric Racine <q-funk@pp.fishpool.fi> writes:
> 
> > On Tue, 13 Apr 2004, Debian Bug Tracking System wrote:
> >> A month without news, and probably not a bug in totem, I'm closing thi=
s
> >> bug. Feel free to reopen it with some details if the problem is still
> >> here.
> >
> > All necessary details were provided.  To answer your question, no, kill=
ing
> > Totem and trying to unmount by root won't help either.  As I previously=
 said,
> > the only way to fix it is to reboot.
> 
> Oh ? All the details .. where is the response to this question :
> "Try reproducing the problem, and launch "killall fam" as root. Let me
> know if you can eject the CD afterwards." ?
> 
> Killing totem here is a no sense since he's closed, the problem is
> problably fam ...

So, here's what I did:

1) Insert mixed-media CD in drive.
2) Mount from GNOME desktop (right-click, mount, CD-ROM).
3) Start Totem.
4) Open file, load the MPEG found on the CD.
5) Play the file.
6) Quit Totem.
7) Try to eject the CD from desktop; fails "Could not eject, drive is busy".
8) Try killing FAM:
<q-funk@omena:/home/q-funk>$ ps ax |grep fam
  439 ?        Ss     0:38 /usr/sbin/famd -T 0
<q-funk@omena:/home/q-funk>$ sudo killall famd
<q-funk@omena:/home/q-funk>$ ps ax |grep fam
26233 pts/66   S+     0:00 grep fam
9) Repeat step 7, which now works.

So, basically Totem forgets to release the file it was accessing.



> 
> 
> Cheers,
> 
> Sebastien Bacher
> 

-- 
Martin-Éric Racine, ICT Consultant
http://www.pp.fishpool.fi/~q-funk/