Re: [Evolution] [Fwd: Re: local mail spool still unaccessible with evo 3.4.4.-1]

On Tue, 2012-10-30 at 22:44 +0000, Pete Biggs wrote:

I see the following with strace:

This indicates a bug in someone's code. You must ensure an error is NULL before it's set.
The overwriting error message was: Could not lock '/var/mail/<user>'

And that is the root of all your problems.

Check the ownership and permissions on the /var/mail/<user> file - it
should be owned by <user>. group should be "mail", and permissions
should be -rw-rw---- (i.e. rw by user and group, no world permissions).

They are:
-rw-rw---- 1 <user> mail 95684923 Oct 31 07:02 /var/mail/<user>

and ls -ld /var/mail shows:
drwxrwsr-x 2 root mail 4096 Oct 31 07:21 /var/mail/

and <user> is in the group mail.

I suspect that at some point you have upgraded or changed your distro
and although you have used the same username, the UID of that user has
changed - hence the mail spool file is called the correct thing, but is
not owned by the correct user.

I believe the UID has been the same for a long time. The problems
started in end of June, probably with the upgrade from evo 3.4.2 to

More strace output:
[pid 16240] open("/var/mail/<user>", O_RDWR|O_LARGEFILE) = 33
[pid 16240] open("/tmp/spool.camel.7JY6MW", O_RDWR|O_CREAT|O_EXCL|
O_LARGEFILE, 0600) = 35

(evolution:16230): camel-local-provider-WARNING **: Didn't get the next
message where I expected (543185) got 0 instead
[pid 16240] unlink("/tmp/spool.camel.7JY6MW") = 0

(evolution:16230): camel-WARNING **: CamelSpoolStore::get_folder_sync()
set its GError but then reported success

(evolution:16230): camel-WARNING **: Error message was: Summary and
folder mismatch, even after a sync
[pid 16240]
access("/home/<user>/.local/share/evolution/mail/<evo_uid>/folders.db-journal", F_OK) = -1 ENOENT (No such 
file or directory)
[pid 16240]
access("/home/<user>/.local/share/evolution/mail/<evo_uid>/folders.db-wal", F_OK) = -1 ENOENT (No such file 
or directory)

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]