Thomas Suckow
2009-Jul-10 03:44 UTC
[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
Timo Sirainen
2009-Jul-10 04:09 UTC
[Dovecot] Login Fails: epoll_ctl(1, 7): Operation not permitted
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 permittedI remember fixing something that caused this bug. Try upgrading.
Thomas Suckow
2009-Jul-10 06:21 UTC
[Dovecot] Login Fails: epoll_ctl(1, 7): Operation not permitted
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 Sirainen<tss at 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. > >
Charles Marcus
2009-Jul-10 14:30 UTC
[Dovecot] Login Fails: epoll_ctl(1, 7): Operation not permitted
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
Charles Marcus
2009-Jul-10 14:32 UTC
[Dovecot] Login Fails: epoll_ctl(1, 7): Operation not permitted
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
Thomas Suckow
2009-Jul-11 05:11 UTC
[Dovecot] Login Fails: epoll_ctl(1, 7): Operation not permitted
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 Marcus<CMarcus at 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 >
Nikita Koshikov
2009-Jul-11 08:57 UTC
[Dovecot] Login Fails: epoll_ctl(1, 7): Operation not permitted
On Sat, Jul 11, 2009 at 8:11 AM, Thomas Suckow <tsuckow at gmail.com> 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 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) \
Reasonably Related Threads
- Fatal: imap-login: io_loop_handle_add: epoll_ctl(1, 4): Operation not permitted
- v1.2.beta2: Fatal: io_loop_handle_add: epoll_ctl(1, 10): Bad file descriptor
- 1.2.beta4: Fatal: io_loop_handle_add: epoll_ctl(1, 11): Bad file descriptor
- pop3-login: Fatal: io_loop_handle_add: epoll_ctl(1, 5):
- dovecot 1.2.beta1: Fatal: io_loop_handle_add: epoll_ctl(1, 11): Bad file descriptor