[Dovecot] Login Fails: epoll_ctl(1, 7): Operation not permitted
Working on setting up dovecot and having trouble logging in. I get an error in logs (below) indicating Operation not Permitted. auth_debug doesn't help.
Ideas?
# dovecot --version 1.1.7
# dovecot -n # 1.1.7: /etc/dovecot/dovecot.conf # OS: Linux 2.6.29-gentoo-r5 i686 Gentoo Base System release 1.12.11.1 listen: *,[::] ssl_cert_file: /etc/ssl/dovecot/server.pem ssl_key_file: /etc/ssl/dovecot/server.key login_dir: /var/run/dovecot/login login_executable: /usr/libexec/dovecot/imap-login mail_location: maildir:~/.maildir auth default: verbose: yes debug: yes passdb: driver: pam args: * userdb: driver: passwd
Log (server name is adapter, I know it's an odd name...): Jul 9 20:44:48 adapter dovecot: auth(default): new auth connection: pid=11185 Jul 9 20:44:48 adapter dovecot: Fatal: imap-login: io_loop_handle_add: epoll_ctl(1, 7): Operation not permitted Jul 9 20:44:48 adapter dovecot: auth(default): new auth connection: pid=11186 Jul 9 20:44:48 adapter dovecot: auth(default): new auth connection: pid=11187 Jul 9 20:44:48 adapter dovecot: Fatal: imap-login: io_loop_handle_add: epoll_ctl(1, 7): Operation not permitted Jul 9 20:44:48 adapter dovecot: Fatal: imap-login: io_loop_handle_add: epoll_ctl(1, 7): Operation not permitted
-- Thomas Suckow
Upgraded to 1.1.16(Unstable) and it seems to be working. Thanks!
Now to go and find why Gentoo considers it unstable.
Thomas Suckow
On Thu, Jul 9, 2009 at 9:09 PM, Timo Sirainentss@iki.fi wrote:
On Jul 9, 2009, at 11:44 PM, Thomas Suckow wrote:
# dovecot --version 1.1.7
..
Jul 9 20:44:48 adapter dovecot: Fatal: imap-login: io_loop_handle_add: epoll_ctl(1, 7): Operation not permitted
I remember fixing something that caused this bug. Try upgrading.
On 7/10/2009 2:21 AM, Thomas Suckow wrote:
Upgraded to 1.1.16(Unstable) and it seems to be working. Thanks!
Now to go and find why Gentoo considers it unstable.
Sorry, missed your reply...
Looks like it is unstable because the dovecot maintainer is awol...
Hopefully someone will pick it up soon...
--
Best regards,
Charles Marcus I.T. Director Media Brokers International, Inc. 678.514.6200 x224 678.514.6299 fax
I would pick it up if I knew anything about maintaining a Gentoo package.
Thomas Suckow
On Fri, Jul 10, 2009 at 7:32 AM, Charles MarcusCMarcus@media-brokers.com wrote:
On 7/10/2009 2:21 AM, Thomas Suckow wrote:
Upgraded to 1.1.16(Unstable) and it seems to be working. Thanks!
Now to go and find why Gentoo considers it unstable.
Sorry, missed your reply...
Looks like it is unstable because the dovecot maintainer is awol...
Hopefully someone will pick it up soon...
--
Best regards,
Charles Marcus I.T. Director Media Brokers International, Inc. 678.514.6200 x224 678.514.6299 fax
On Sat, Jul 11, 2009 at 8:11 AM, Thomas Suckow
I would pick it up if I knew anything about maintaining a Gentoo package.
This is simple ebuild diff, for dovecot version 1.2.0, if you want to try 1.2* branch. You can simple made this ebuild working with 1.2.1 but be aware, that compiling will fail with managesieve use flag enabled. Version 1.2.0 leaks this problem. --- dovecot-1.1.16.ebuild 2009-07-11 11:50:12.000000000 +0300 +++ dovecot-1.2.0.ebuild 2009-07-10 22:37:28.000000000 +0300 @@ -7,14 +7,14 @@ MY_P="${P/_/.}" MY_PV12=$(get_version_component_range 1-2 ${PV}) S="${WORKDIR}/${MY_P}" -SIEVE="dovecot-sieve-1.1.6" +SIEVE="dovecot-1.2-sieve-0.1.7" SIEVE_S="${WORKDIR}/${SIEVE}" -MANAGESIEVE_PATCH="managesieve-0.10.6" -MANAGESIEVE="managesieve-0.10.6" +MANAGESIEVE_PATCH="managesieve-0.11.6" +MANAGESIEVE="managesieve-0.11.6" MANAGESIEVE_S="${WORKDIR}/${PN}-${MY_PV12}-${MANAGESIEVE}" SRC_URI="http://dovecot.org/releases/${MY_PV12}/${MY_P}.tar.gz -sieve? ( http://dovecot.org/releases/sieve/${SIEVE}.tar.gz ) +sieve? ( http://www.rename-it.nl/${PN}/${MY_PV12}/${SIEVE}.tar.gz ) managesieve? ( http://www.rename-it.nl/${PN}/${MY_PV12}/${MY_P}-${MANAGESIEVE_PATCH}.diff.gz http://www.rename-it.nl/${PN}/${MY_PV12}/${PN}-${MY_PV12}-${MANAGESIEVE}.tar.gz)" @@ -25,7 +25,7 @@ LICENSE="LGPL-2.1" KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86 ~x86-fbsd" -IUSE="berkdb debug doc ipv6 kerberos ldap managesieve mbox mysql pop3d pam postgres sieve sqlite3 ssl suid vpopmail" +IUSE="berkdb debug doc ipv6 kerberos ldap managesieve mbox mysql pam postgres sieve sqlite3 ssl suid vpopmail" # Developer documentation, controlled by the doc USE flag DEVDOCS="auth-protocol index multiaccess securecoding" @@ -49,7 +49,7 @@ unpack ${A} cd "${S}" if use managesieve; then - epatch "${WORKDIR}"/${MY_P}-${MANAGESIEVE_PATCH}.diff + epatch "${WORKDIR}"/${PN}-1.2.0-${MANAGESIEVE_PATCH}.diff eautoreconf fi } @@ -81,7 +81,6 @@ $(use_with ldap) \ $(use_with mysql) \ $(use_with pam) \ - $(use_with pop3d) \ $(use_with postgres pgsql) \ $(use_with sqlite3 sqlite) \ $(use_with vpopmail) \
On 7/11/2009 4:57 AM, Nikita Koshikov wrote:
I would pick it up if I knew anything about maintaining a Gentoo package.
This is simple ebuild diff, for dovecot version 1.2.0, if you want to try
Thanks Nikita...
There is actually an open bug about this with an ebuild attached to it:
http://bugs.gentoo.org/show_bug.cgi?id=276480
But like I said... I really really dislike having to do anything manually like this - I just don't trust myself enough to not do something dumb...
--
Best regards,
Charles
On 7/10/2009 12:09 AM, Timo Sirainen wrote:
On Jul 9, 2009, at 11:44 PM, Thomas Suckow wrote:
# dovecot --version 1.1.7 .. Jul 9 20:44:48 adapter dovecot: Fatal: imap-login: io_loop_handle_add: epoll_ctl(1, 7): Operation not permitted
I remember fixing something that caused this bug. Try upgrading.
1.1.16 is available in ~, so add that to your package.keywords file...
But it looks like the gentoo > dovecot maintainer has gone missing... :(
--
Best regards,
Charles
participants (4)
-
Charles Marcus
-
Nikita Koshikov
-
Thomas Suckow
-
Timo Sirainen