Bug 147577 - beagle kmail backend seems to leave lots of files in /tmp
Summary: beagle kmail backend seems to leave lots of files in /tmp
Status: RESOLVED FIXED
: 148341 (view as bug list)
Alias: None
Product: SUSE Linux 10.1
Classification: openSUSE
Component: GNOME (show other bugs)
Version: Beta 3
Hardware: Other Other
: P5 - None : Critical (vote)
Target Milestone: ---
Assignee: Joe Shaw
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 140732
  Show dependency treegraph
 
Reported: 2006-02-02 11:13 UTC by Forgotten User ZhJd0F0L3x
Modified: 2006-02-06 11:54 UTC (History)
1 user (show)

See Also:
Found By: Component Test
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
output of "beagle-query suse-labs" (21.63 KB, text/plain)
2006-02-02 21:23 UTC, Forgotten User ZhJd0F0L3x
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Forgotten User ZhJd0F0L3x 2006-02-02 11:13:39 UTC
beagle seems to leave lots of files in /tmp:
seife@strolchi:~> ls -l /tmp/tmp*tmp|tail
-r-------- 1 seife suse     189 2006-02-01 22:20 /tmp/tmpe3ea505.tmp
-r-------- 1 seife suse     719 2006-02-01 22:17 /tmp/tmpe445d3f.tmp
-r-------- 1 seife suse     935 2006-02-01 22:21 /tmp/tmpe4af40.tmp
-r-------- 1 seife suse     189 2006-02-01 22:19 /tmp/tmpe4f4c1d.tmp
-r-------- 1 seife suse     808 2006-02-01 22:21 /tmp/tmpe9e067f.tmp
-r-------- 1 seife suse    1160 2006-02-01 22:09 /tmp/tmpefb749b.tmp
-r-------- 1 seife suse     997 2006-02-01 22:21 /tmp/tmpf55f67f.tmp
-r-------- 1 seife suse     697 2006-02-01 22:07 /tmp/tmpfd7675c.tmp
-r-------- 1 seife suse     969 2006-02-01 22:17 /tmp/tmpfe6b0cd.tmp
-r-------- 1 seife suse    1701 2006-02-01 22:19 /tmp/tmpfffea17.tmp
seife@strolchi:~> ls -l /tmp/tmp*tmp|wc
    612    4896   42752
seife@strolchi:~>

the only thing i remember starting yesterday around 22:00 was me trying out kerry and clicking on the "start beagle daemon" link.
Comment 1 Joe Shaw 2006-02-02 15:54:41 UTC
This bug was fixed for beagle 0.2.0.

http://bugzilla.gnome.org/show_bug.cgi?id=322106
http://mail.gnome.org/archives/dashboard-hackers/2006-January/msg00051.html

What version do you have installed?
Comment 2 Forgotten User ZhJd0F0L3x 2006-02-02 17:11:28 UTC
seife@strolchi:~/projects/machineinstall> beagled --version
Ignoring unknown argument '--version'
Debug: Starting Beagle Daemon (version 0.2.1)

unknown argument --version is also "nice" :-)
This is beta3.
Comment 3 Joe Shaw 2006-02-02 18:02:53 UTC
What kind of data is contained in those files?  Any idea what backend (beagled --list-backends) they might have come from?
Comment 4 Forgotten User ZhJd0F0L3x 2006-02-02 18:39:44 UTC
it looks like they are from digesting a mbox file stored in my home somewhere.
They are the mime-parts of the mails. In case of something that was a zipfile, it is the zip directory listing.
If needed, i can tar them up and attach as a private attachment.
Comment 5 Joe Shaw 2006-02-02 19:07:06 UTC
Hmm, that was one of the cases I tested with, so it really should be fixed.

Yes, can you please zip that up and attach it?  Do you know if it's being indexed by the kmail backend or the filesystem backend?  (beagle-index-info might help here, or running beagle-query --verbose <filename>)
Comment 6 Forgotten User ZhJd0F0L3x 2006-02-02 20:36:20 UTC
Created attachment 66259 [details]
/tmp/tmp*tmp

seife@strolchi:~> beagle-index-info 
Index information:
Name: KMail
Count: 1792
Indexing: False

Name: Files
Count: 40977
Indexing: False

Name: GaimLog
Count: 0
Indexing: False

Name: IndexingService
Count: 0
Indexing: False

Name: Tomboy
Count: 0
Indexing: False

Name: Blam
Count: 0
Indexing: False

Name: Liferea
Count: 0
Indexing: False

Name: Akregator
Count: 30
Indexing: False

Name: KonquerorHistory
Count: 17
Indexing: False

Name: Kopete
Count: 3
Indexing: False

Name: Google
Count: -1
Indexing: False


seife@strolchi:~> beagle-query --verbose ./Mail/suse-labs
Elapsed time: 0,719s
Total hits: 0
Comment 7 Joe Shaw 2006-02-02 20:43:46 UTC
Ok, I'll see what I can track down.

BTW, the beagle-query search should be for "suse-labs", not a path. :)
Comment 8 Forgotten User ZhJd0F0L3x 2006-02-02 21:23:49 UTC
Created attachment 66263 [details]
output of "beagle-query suse-labs"

no problem, just tell me what you need ;-)
Comment 9 Joe Shaw 2006-02-02 21:30:26 UTC
Ok, I can dup this now.  It appears to be an issue with the KMail backend, which would explain why I had never seen it before.
Comment 10 Joe Shaw 2006-02-02 23:24:58 UTC
I checked a fix into CVS.  I'll generate a patch for the package tomorrow.
Comment 11 Joe Shaw 2006-02-03 20:41:06 UTC
Submitted to STABLE.  Thanks Stefan for helping me track this down.
Comment 12 Michael Meeks 2006-02-06 11:54:26 UTC
*** Bug 148341 has been marked as a duplicate of this bug. ***