Package: dovecot-imapd
Version: 1:1.2.5-1
Severity: grave
I run dovecot directly, without passing through a TCP socket, on my laptop to
provide direct access to a mail spool in my home directory, with preauth:
/usr/sbin/dovecot --exec-mail imap
This previously worked just fine, but now fails as both a privileged and
unprivileged user due to epoll returning -EPERM:
epoll_ctl(6, EPOLL_CTL_ADD, 0, {EPOLLIN|EPOLLPRI|EPOLLERR|EPOLLHUP,
{u32=9753488, u64=9753488}}) = -1 EPERM (Operation not permitted)
Note that it tries the operation of FD 0, STDIN, which is attached to the
shell in the interactive test, or to a pipe otherwise.
mail.log contains:
Sep 15 16:03:31 krosp IMAP(daniel): : Fatal: io_loop_handle_add: epoll_ctl(1,
0): Operation not permitted
The only references to this I can find are historic, and suggest this was an
issue elsewhere but is now fixed.
I am running the stock Debian/unstable kernel, nothing special.
Please find attached a full strace of the Dovecot run that fails.
This is pretty serious for me, because it prevents this *documented* mode of
operation from working under, as far as I can tell, any circumstances.
Downgrading to the version from stable, 1.2.24-2, resolves the problem.
Regards,
Daniel
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable'), (101, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.30-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages dovecot-imapd depends on:
ii dovecot-common 1:1.2.5-1 secure mail server that supports m
ii libc6 2.9-26 GNU C Library: Shared libraries
ii libssl0.9.8 0.9.8k-5 SSL shared libraries
dovecot-imapd recommends no packages.
dovecot-imapd suggests no packages.
-- no debconf information
--
✣ Daniel Pittman ✉ [email protected] ☎ +61 401 155 707
♽ made with 100 percent post-consumer electrons
Looking for work? Love Perl? In Melbourne, Australia? We are hiring.
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]