Steffen Kaiser
2009-Jun-15 09:18 UTC
[Dovecot] Dovecot v1.2 rawlog in dovecot.conf trouble
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello, using Dovecot v1.2 changeset: 9126:b745911012bb This line in dovecot.conf make trouble (wrapped in mail): mail_executable = /usr/local/dovecot-1.2.rc5unpatched/libexec/dovecot/rawlog /usr/local/dovecot-1.2.rc5unpatched/libexec/dovecot/imap # sbin/dovecot -F Fio_loop_handle_add: epoll_ctl(1, 0): Operation not permitted Error: imap dump-capability process killed with signal 13 Fatal: Invalid configuration in /usr/local/dovecot-1.2.rc5unpatched/etc/dovecot.conf If I remove rawlog from dovecot.conf, dovecot -F starts up nicely. ============= I strace'd the problem and finally the following program is exec'ed (wrapped in mail): bunch of env-vars /usr/local/dovecot-1.2.rc5unpatched/libexec/dovecot/rawlog /usr/local/dovecot-1.2.rc5unpatched/libexec/dovecot/imap '[dump-capability' '??]' When I start this line (incl. all the env vars) as root, I get: * BAD [ALERT] imap binary must not be started from inetd, use imap-login instead. When I remove rawlog, I get: ILoading modules from directory: /usr/local/dovecot-1.2.rc5unpatched/lib/dovecot/imap [snip] IMAP4rev1 [...snip...] What I interprete as OK. Bye, - -- Steffen Kaiser -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iQEVAwUBSjYR2nWSIuGy1ktrAQJH5QgAu8lB/k2fC1ebjzJyU9Sl/8BCf4XwdjkP Z6GGtLi5wZFlW2kGyNr9gJ4Cb5VXQjzs32MKu5h1yH4uLPagy9m6TJzikp4zdiMl lt7HRxZcSA/eVzEx/HZeoezv9hBzqwP9uGJ0G1drORHqfSqPKFjWER3HhDOfAeEe MQcA9onTe08bAB3+95vHCih5Sy7c7sjKgFVUv1NOhKp/cRaALZB7LUZQhaJEOyQ8 fwtXniXCF9JRfkjmpoZT2nRSBd+M6DrSjBshCyWEQOfCX0PgeYM0ytwCsTgGUH6V xj18c0dTUuaf/G8FPzL3c8O3bbFwFlgn7b+0MvhDQdcOAiYnDjUmLA==cTQj -----END PGP SIGNATURE-----
On Mon, 2009-06-15 at 11:18 +0200, Steffen Kaiser wrote:> mail_executable = > /usr/local/dovecot-1.2.rc5unpatched/libexec/dovecot/rawlog > /usr/local/dovecot-1.2.rc5unpatched/libexec/dovecot/imap > > # sbin/dovecot -F > Fio_loop_handle_add: epoll_ctl(1, 0): Operation not permittedThis happens only if you have /tmp/dovecot.rawlog directory. Why do you have that? -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 197 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20090615/c79735e0/attachment-0002.bin>
Steffen Kaiser
2009-Jun-16 07:02 UTC
[Dovecot] Dovecot v1.2 rawlog in dovecot.conf trouble
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Mon, 15 Jun 2009, Timo Sirainen wrote:> On Mon, 2009-06-15 at 11:18 +0200, Steffen Kaiser wrote: >> mail_executable >> /usr/local/dovecot-1.2.rc5unpatched/libexec/dovecot/rawlog >> /usr/local/dovecot-1.2.rc5unpatched/libexec/dovecot/imap >> >> # sbin/dovecot -F >> Fio_loop_handle_add: epoll_ctl(1, 0): Operation not permitted > > This happens only if you have /tmp/dovecot.rawlog directory. Why do youOh, you are right. Works now.> have that?I don't remember creating one... Bye, - -- Steffen Kaiser -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iQEVAwUBSjdDfXWSIuGy1ktrAQLQiQf/fd4dC53m2wgeXsBLJbStd3PoU2pjvB8t Zuxg3ZgmishZo1RF7yW4hJmeIkNVach9p6IkVPmB3q2Wmk7EsdvQBQbslMePyUJK G4O/4kt1eUgMRXMM7YEJ8gRAPQFtvBFbqLdeMerNLhKewt51jouvsyBP0TFWV64s kQBkNGpMjWEq0C8p13jeUjSn1fFumOUALCrp9MsAat0xX7PPoP9bPGl0h+ULVtGD 3jmx15JJwmCm4vsvw+1IfesI4mZj+JeRZQW1xb5taErWezYGy79tRnDgVoy6bBgq f1pbY3ySyMRphtoPKnzMf/PiMCFoZOp8b4HkSJC1+cJkNv1IQeSfnw==9Q+Q -----END PGP SIGNATURE-----