Bug 315368 - nepomuk prevents umount
Summary: nepomuk prevents umount
Status: RESOLVED DUPLICATE of bug 304943
Alias: None
Product: nepomuk
Classification: Miscellaneous
Component: filewatch (show other bugs)
Version: 4.10.0
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Nepomuk Bugs Coordination
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-18 09:53 UTC by Roland Leißa
Modified: 2013-02-19 14:22 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Roland Leißa 2013-02-18 09:53:13 UTC
Sometimes nepomuks owns a process on a mounted device. It is then impossible to umount the device without killing the nepomukservice

Reproducible: Sometimes

Steps to Reproduce:
1. mount SD card, USB stick, whatever with plasma's device notifier 
2. do some work on this device. Copy files over, rename sth and so on
3. umount via plasma's device notifier
Actual Results:  
"Could not unmount the following device: Kingston. One or more files on this device are still open within an application."

Expected Results:  
unmount the device.

$ lsof /dev/mmcblk0p1 
COMMAND   PID   USER   FD   TYPE DEVICE SIZE/OFF NODE NAME
nepomukse 867 roland   20r   DIR  179,1    32768    1 /run/media/roland/Kingston

$ ps aux | grep 867
roland     867  0.2  0.3 449392 27740 ?        SNl  10:34   0:02 /usr/bin/nepomukservicestub nepomukfilewatch
Comment 1 Roland Leißa 2013-02-18 09:56:09 UTC
Oh forgot to say that I have set
"Removable media handling" to "Ignore all removable media".
Comment 2 Vishesh Handa 2013-02-19 14:22:23 UTC

*** This bug has been marked as a duplicate of bug 304943 ***