Bug#1006603: evolution: Can't lock mbox file: The reported error was “Could not lock “/var/mail/adrian””

2022-02-28 Thread Patrice Duroux
Hi,

Probably the same as https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1004484
which points to the possible problem source and also a temporary solution.

Regards,
Patrice

On Mon, 28 Feb 2022 11:04:33 +0100 Adrian Immanuel Kiess 
wrote:
> Package: evolution
> Version: 3.43.2-2
> Severity: normal
> 
> Dear Maintainer,
> 
>    * What led up to the situation?
>  Upgrading Evolution some months ago
>    * What exactly did you do (or not do) that was effective (or
>  ineffective)?
>  apt -u dist-upgrade
>    * What was the outcome of this action?
>  Evolution is unable to lock the mbox file in /var/mail/adrian and reports
> error
>    * What outcome did you expect instead?
>  Evolution being able to read and lock mbox mail file in /var/mail
> 
> in the recent Evolution mail reader on Debian/testing, I can't read my local
> mails stored in /var/mail/adrian.
> 
> The error Evolution spits out is this:
> 
> Failed to refresh folder “adr...@lan.dac : INBOX”.
> 
> The reported error was “Could not lock “/var/mail/adrian””.
> 
> Here is the directory listing of /var/mail on my system:
> 
> root@g6 /var/mail # ls -lah
> total 1,4M
> drwxrwsr-x  2 root mail 4,0K 28 févr. 07:43 ./
> drwxr-xr-x 17 root root 4,0K 18 oct.  11:49 ../
> -rw-rw  1 adrian   mail    0 28 févr. 07:44 adrian
> 
> Reading the mail with Sylpheed works fine.
> 
> I searched the Internet with Google, but could not find a solution.
> 
> I would be very gladful for help or fix.
> 
> Sincerely,
> 
> Adrian Kiess
> 
> 
> -- System Information:
> Debian Release: bookworm/sid
>   APT prefers testing
>   APT policy: (990, 'testing')
> Architecture: amd64 (x86_64)
> Foreign Architectures: i386
> 
> Kernel: Linux 5.16.0-1-amd64 (SMP w/4 CPU threads; PREEMPT)
> Kernel taint flags: TAINT_WARN
> Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE not
set
> Shell: /bin/sh linked to /bin/dash
> Init: systemd (via /run/systemd/system)
> LSM: AppArmor: enabled
> 
> Versions of packages evolution depends on:



Bug#1006603: evolution: Can't lock mbox file: The reported error was “Could not lock “/var/mail/adrian””

2022-02-28 Thread Adrian Immanuel Kiess
Package: evolution
Version: 3.43.2-2
Severity: normal

Dear Maintainer,

   * What led up to the situation?
 Upgrading Evolution some months ago
   * What exactly did you do (or not do) that was effective (or
 ineffective)?
 apt -u dist-upgrade
   * What was the outcome of this action?
 Evolution is unable to lock the mbox file in /var/mail/adrian and reports
error
   * What outcome did you expect instead?
 Evolution being able to read and lock mbox mail file in /var/mail

in the recent Evolution mail reader on Debian/testing, I can't read my local
mails stored in /var/mail/adrian.

The error Evolution spits out is this:

Failed to refresh folder “adr...@lan.dac : INBOX”.

The reported error was “Could not lock “/var/mail/adrian””.

Here is the directory listing of /var/mail on my system:

root@g6 /var/mail # ls -lah
total 1,4M
drwxrwsr-x  2 root mail 4,0K 28 févr. 07:43 ./
drwxr-xr-x 17 root root 4,0K 18 oct.  11:49 ../
-rw-rw  1 adrian   mail0 28 févr. 07:44 adrian

Reading the mail with Sylpheed works fine.

I searched the Internet with Google, but could not find a solution.

I would be very gladful for help or fix.

Sincerely,

Adrian Kiess


-- System Information:
Debian Release: bookworm/sid
  APT prefers testing
  APT policy: (990, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.16.0-1-amd64 (SMP w/4 CPU threads; PREEMPT)
Kernel taint flags: TAINT_WARN
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages evolution depends on:
ii  dbus   1.12.22-1
ii  evolution-common   3.43.2-2
ii  evolution-data-server  3.43.2-1
ii  libc6  2.33-7
ii  libcamel-1.2-633.43.2-1
ii  libclutter-gtk-1.0-0   1.8.4-4+b1
ii  libecal-2.0-1  3.43.2-1
ii  libedataserver-1.2-26  3.43.2-1
ii  libevolution   3.43.2-2
ii  libglib2.0-0   2.70.4-1
ii  libgtk-3-0 3.24.31-1
ii  libical3   3.0.14-1
ii  libnotify4 0.7.9-3
ii  libsoup2.4-1   2.74.2-3
ii  libxml22.9.12+dfsg-6
ii  psmisc 23.4-2

Versions of packages evolution recommends:
ii  evolution-plugin-bogofilter  3.43.2-2
ii  evolution-plugin-pstimport   3.43.2-2
ii  evolution-plugins3.43.2-2
ii  yelp 42~beta-2

Versions of packages evolution suggests:
pn  evolution-ews   
ii  evolution-plugins-experimental  3.43.2-2
ii  gnupg   2.2.27-3
pn  network-manager 

-- debconf information:
  evolution/kill_processes:
  evolution/needs_shutdown: