Your message dated Sun, 27 Sep 2009 19:32:50 +0000
with message-id <e1mrzui-0000el...@ries.debian.org>
and subject line Bug#546695: fixed in dovecot 1:1.2.5-2
has caused the Debian Bug report #546695,
regarding dovecot-imapd: dovecot epoll fails with -EPERM for "dovecot 
--exec-mail imap" at the shell
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
546695: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=546695
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
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            ✉ dan...@rimspace.net            ☎ +61 401 155 707
               ♽ made with 100 percent post-consumer electrons
   Looking for work?  Love Perl?  In Melbourne, Australia?  We are hiring.



--- End Message ---
--- Begin Message ---
Source: dovecot
Source-Version: 1:1.2.5-2

We believe that the bug you reported is fixed in the latest version of
dovecot, which is due to be installed in the Debian FTP archive:

dovecot-common_1.2.5-2_amd64.deb
  to pool/main/d/dovecot/dovecot-common_1.2.5-2_amd64.deb
dovecot-dev_1.2.5-2_amd64.deb
  to pool/main/d/dovecot/dovecot-dev_1.2.5-2_amd64.deb
dovecot-imapd_1.2.5-2_amd64.deb
  to pool/main/d/dovecot/dovecot-imapd_1.2.5-2_amd64.deb
dovecot-pop3d_1.2.5-2_amd64.deb
  to pool/main/d/dovecot/dovecot-pop3d_1.2.5-2_amd64.deb
dovecot_1.2.5-2.diff.gz
  to pool/main/d/dovecot/dovecot_1.2.5-2.diff.gz
dovecot_1.2.5-2.dsc
  to pool/main/d/dovecot/dovecot_1.2.5-2.dsc



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 546...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Fabio Tranchitella <kob...@debian.org> (supplier of updated dovecot package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Sun, 27 Sep 2009 20:53:52 +0200
Source: dovecot
Binary: dovecot-common dovecot-dev dovecot-imapd dovecot-pop3d
Architecture: source amd64
Version: 1:1.2.5-2
Distribution: unstable
Urgency: low
Maintainer: Dovecot Maintainers <jaldhar-dove...@debian.org>
Changed-By: Fabio Tranchitella <kob...@debian.org>
Description: 
 dovecot-common - secure mail server that supports mbox and maildir mailboxes
 dovecot-dev - header files for the dovecot mail server
 dovecot-imapd - secure IMAP server that supports mbox and maildir mailboxes
 dovecot-pop3d - secure POP3 server that supports mbox and maildir mailboxes
Closes: 546694 546695
Changes: 
 dovecot (1:1.2.5-2) unstable; urgency=low
 .
   * debian/dpatches/v1.2.5-exec-mail_fix.dpatch: added.
     (Closes: #546694, #546695)
   * debian/dovecot-common.dirs: removed /etc, /etc/ssl/{private,certs}, they
     are handled by openssl; this should fix the piuparts test.
Checksums-Sha1: 
 c0b2c386779d9fc77a8172efda8de22d12bc1680 1627 dovecot_1.2.5-2.dsc
 0c263f314c2ab2b59420430ecbe4223dfeec205d 1024025 dovecot_1.2.5-2.diff.gz
 0a1869b1deb94496d952b65437c56240ee7d657b 5576448 
dovecot-common_1.2.5-2_amd64.deb
 f34a7db7cc6b1d91809074cb8c6929a5db9091ca 645284 dovecot-dev_1.2.5-2_amd64.deb
 3c24fda8b5d37e12f79cf0a758a12875a8595cc0 1135182 
dovecot-imapd_1.2.5-2_amd64.deb
 aeb2be858f401259ac7681bd8fa2ba69388f0cfb 1033672 
dovecot-pop3d_1.2.5-2_amd64.deb
Checksums-Sha256: 
 86551fa6440e2b6e9363ebad2c14327c224364a3f311ac7744dc97eaf0f05e25 1627 
dovecot_1.2.5-2.dsc
 f15625487877342fc6a7d591d47b881c6ab52d9f4d1b0e657678b511a6ba1282 1024025 
dovecot_1.2.5-2.diff.gz
 e2d10fa71a43d3baa0a42325e9b1b021fd91750f6d466ec8b68bdf7c498aaa7c 5576448 
dovecot-common_1.2.5-2_amd64.deb
 eaf737898487e5d528b1772a7817ab6ee796fe12264f223a6050ce7b9da4a2be 645284 
dovecot-dev_1.2.5-2_amd64.deb
 e5cad9bee2acf159989051eda7b6da989a852fbc77d645c6b3e4491ef3dbbc5e 1135182 
dovecot-imapd_1.2.5-2_amd64.deb
 f1a0b624dee92ad8929fad599151aeadec5420938dc64c9dd6138696ebd521af 1033672 
dovecot-pop3d_1.2.5-2_amd64.deb
Files: 
 2a437359886ddab07007b2b5367c3934 1627 mail optional dovecot_1.2.5-2.dsc
 4fd6a7c825f7b6fc357e8709e0128c2a 1024025 mail optional dovecot_1.2.5-2.diff.gz
 46c394c95122f7e14d31b412da5150c0 5576448 mail optional 
dovecot-common_1.2.5-2_amd64.deb
 ade4a766e6864d613c41279beefbfe85 645284 mail optional 
dovecot-dev_1.2.5-2_amd64.deb
 df8388829f468e52a4f5cd678ca2189b 1135182 mail optional 
dovecot-imapd_1.2.5-2_amd64.deb
 6d97d1a1c1a9f66490f6760e6df02013 1033672 mail optional 
dovecot-pop3d_1.2.5-2_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkq/tjoACgkQK/juK3+WFWQ/bwCcDITYQ4PBAEq8oqnn9CXeJiXD
iiUAn2S/qJAN3abEyqu7AZp5gtUprAkK
=gjVU
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to