evolution deletes spamd socket file when creating new temp files
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Evolution |
Fix Released
|
Medium
|
|||
evolution (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
After a while, evolution stops using spamassassin for junk mail detection.
Here is what happens:
1- Evolution creates spamd socket and pid file in ~/.cache/
2- When creating a new temporary directory to open an email attachment, evolution notices that the socket and pid file are more than 2 hours old, and deletes them, breaking spamassassin integration
See TEMP_EXPIRE in e-util/e-mktemp.c.
The problem is that it's using st.st_atime, but that's no longer getting updated on Ubuntu and/or with ext4.
This is my directory before opening an attachment:
mdeslaur@
total 24
drwxr-xr-x 5 mdeslaur mdeslaur 4096 Jun 18 12:49 .
drwx------ 6 mdeslaur mdeslaur 4096 Apr 10 2011 ..
drwx------ 2 mdeslaur mdeslaur 4096 Jun 18 12:49 evolution-
drwx------ 2 mdeslaur mdeslaur 4096 Jun 18 10:40 evolution-
drwx------ 2 mdeslaur mdeslaur 4096 Jun 18 11:14 evolution-
-rw-rw-r-- 1 mdeslaur mdeslaur 5 Jun 18 11:13 spamd-pid-
srw-rw-rw- 1 mdeslaur mdeslaur 0 Jun 18 11:13 spamd-socket-
This is after opening an attachment at 13:43:
mdeslaur@
total 16
drwxr-xr-x 4 mdeslaur mdeslaur 4096 Jun 18 13:43 .
drwx------ 6 mdeslaur mdeslaur 4096 Apr 10 2011 ..
drwx------ 2 mdeslaur mdeslaur 4096 Jun 18 12:49 evolution-
drwx------ 2 mdeslaur mdeslaur 4096 Jun 18 13:43 evolution-
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: evolution 3.2.3-0ubuntu6
ProcVersionSign
Uname: Linux 3.2.0-26-generic x86_64
ApportVersion: 2.0.1-0ubuntu9
Architecture: amd64
Date: Mon Jun 18 13:44:41 2012
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Alpha amd64 (20110302)
SourcePackage: evolution
UpgradeStatus: Upgraded to precise on 2012-01-03 (166 days ago)
Changed in evolution: | |
importance: | Unknown → Medium |
status: | Unknown → New |
Changed in evolution: | |
status: | New → Fix Released |
This was fixed a long time ago. Closing.