[Pkg-mutt-maintainers] Bug#884858: mutt: q and $ fail with: rename: No such file or directory (errno = 2)
Adam Borowski
kilobyte at angband.pl
Wed Dec 20 15:39:43 UTC 2017
Package: mutt
Version: 1.7.2-1
Severity: normal
Hi!
Sometimes, quite rarely, operations that would commit operations on a
directory (such as q or $) fail with:
rename: No such file or directory (errno = 2)
with no way to save changes. This results in doubled mails that were moved
elsewhere, restoration of deleted mails and similar loss of status updates.
I use Maildir; there's also a dovecot running on the server with Thunderbird
connected to it over IMAP, although it hasn't been interacted with in any
way (I use it as a glorified biff, and sometimes to handle broken HTML mails
from a business critter).
Attached strace says:
write(1, "\r\33[59dWriting /home/kilobyte/Mai"..., 39) = 39
stat("/home/kilobyte/Maildir/new", {st_mode=S_IFDIR|0700, st_size=0, ...}) = 0
stat("/home/kilobyte/Maildir/cur", {st_mode=S_IFDIR|0700, st_size=41524, ...}) = 0
lstat("/home", {st_mode=S_IFDIR|0755, st_size=68, ...}) = 0
lstat("/home/kilobyte", {st_mode=S_IFDIR|0755, st_size=2568, ...}) = 0
lstat("/home/kilobyte/Maildir", {st_mode=S_IFDIR|0700, st_size=1914, ...}) = 0
write(1, "\r\33[37m\33[40mWriting /home/kilobyt"..., 69) = 69
rename("/home/kilobyte/Maildir/new/1513779272.2794_0.tartarus", "/home/kilobyte/Maildir/cur/1513779272.2794_0.tartarus:2,") = -1 ENOENT (No such file or directory)
write(1, "\rrename: No such file or directo"..., 46) = 46
As Maildir is designed to allow concurrent access, changes from other
processes (such as dovecot here, another instance of mutt, etc) are
expected. Thus, it's not reasonable to make the user lose any unrelated
modifications to other mails.
Meow!
-- System Information:
Debian Release: 9.3
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable-debug'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 4.9.0-4-amd64 (SMP w/8 CPU cores)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE=C.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)
Versions of packages mutt depends on:
ii libassuan0 2.4.3-2
ii libc6 2.24-11+deb9u1
ii libcomerr2 1.43.4-2
ii libgnutls30 3.5.8-5+deb9u3
ii libgpg-error0 1.26-2
ii libgpgme11 1.8.0-3+b2
ii libgssapi-krb5-2 1.15-1+deb9u1
ii libidn11 1.33-1
ii libk5crypto3 1.15-1+deb9u1
ii libkrb5-3 1.15-1+deb9u1
ii libncursesw5 6.0+20161126-1+deb9u1
ii libnotmuch4 0.23.7-3
ii libsasl2-2 2.1.27~101-g0780600+dfsg-3
ii libtinfo5 6.0+20161126-1+deb9u1
ii libtokyocabinet9 1.4.48-11+b1
Versions of packages mutt recommends:
ii libsasl2-modules 2.1.27~101-g0780600+dfsg-3
ii locales 2.24-11+deb9u1
ii mime-support 3.60
Versions of packages mutt suggests:
pn aspell | ispell <none>
ii ca-certificates 20161130+nmu1
ii exim4-daemon-heavy [mail-transport-agent] 4.89-2+deb9u2
ii gnupg 2.1.18-8~deb9u1
pn mixmaster <none>
ii openssl 1.1.0f-3+deb9u1
pn urlview <none>
Versions of packages mutt is related to:
ii mutt 1.7.2-1
-- no debconf information
More information about the Pkg-mutt-maintainers
mailing list