trackerd running under "user" after "user" logs out
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tracker (Ubuntu) |
Fix Released
|
High
|
Unassigned |
Bug Description
Tracker starts as user is logged into the system, however keeps running after the user logs out. This is not very convenient when users /home/ dir is remotely mounted and needs to be unmounted when the user logs out. The umount will report "device busy" and lsof will report
root@shmu:~# lsof | grep /home/marcel
trackerd 5672 marcel cwd DIR 0,22 0 2 /home/marcel
trackerd 5672 marcel 3uW REG 0,22 0 19115 /home/marcel/
trackerd 5672 marcel 4uw REG 0,22 0 19340 /home/marcel/
trackerd 5672 marcel 5u REG 0,23 1024 37305 /home/marcel/
trackerd 5672 marcel 6r DIR 0,23 0 22687 /home/marcel/
and therefore the system will keep the dir mounted after the user logs out - this might also be a potential security issue
my installation uses pam_mount to mount remote cifs (smbfs) dirs
sincerely,
Marcel Hecko
Related branches
Changed in tracker: | |
importance: | Undecided → High |
status: | New → Incomplete |
Changed in tracker: | |
status: | Incomplete → In Progress |
hi,
under normal usage trackerd should exit when dbus session bus closes down (which it should do when you logout as it is user specific)
dbus-session bus should be started after X login and exit when logged out - is this the case?
Another potential problem is that lastest trackerd pauses when it detects external disk activity to minimise slowdown of other apps so it's possible trackerd is sleeping instead of exiting. I will make sure it wont pause when exiting but cant say if that fixes your problem (if you did not have this problem with previous version of tracker then it may well be the case)