[Dovecot] environment variables required for startup
Marshal Newrock
marshal at idealso.com
Sat Jan 27 16:19:36 UTC 2007
On Sat, 27 Jan 2007 14:31:49 +0200
Timo Sirainen <tss at iki.fi> wrote:
> On Sat, 2007-01-27 at 00:02 -0500, Marshal Newrock wrote:
>
> > {EPOLLIN|EPOLLPRI|EPOLLERR|EPOLLHUP, {u32=135127920,
> > u64=135127920}}) = 0 18945 rt_sigaction(SIGTERM, {0x80ba3c0, [],
> > 0}, NULL, 8) = 0 18945 rt_sigaction(SIGPIPE, {SIG_IGN}, NULL, 8) = 0
> > 18945 rt_sigaction(SIGALRM, {0x80b9ec0, [], 0}, NULL, 8) = 0
> > 18945 epoll_ctl(4, EPOLL_CTL_ADD, 2, {EPOLLERR|EPOLLHUP,
> > {u32=135128016, u64=135128016}}) = -1 EPERM (Operation not
> > permitted)
>
> epoll() not permitted? I guess SELinux rules are disallowing them. Fix
> them or disable SELinux.
SELinux is not enabled at all on this machine.
> > 18945 write(2, "\1Fio_loop_handle_add: epoll_ctl(1, 2): Operation
> > not permitted\ n", 63) = 63
> ..
> > 18944 write(2, "Error: ", 7) = 7
> > 18944 write(2, "imap dump-capability process returned 89", 40) = 40
> > 18944 write(2, "\n", 1) = 1
>
> So it didn't log the errors, but it did write them to stderr. Didn't
> it print them to screen? If not, I think Gentoo's init script should
> be fixed.
This isn't with the init script. Currently, I'm just using monit to
force dovecot restarts, as that's much easier to do remotely - I'd have
to be at the console to see if it outputs anything additional when it
boots. I started monit with its verbose flag to see if it logs
anything additional, but it doesn't. I also tried running it as a
foreground process, but then the problem doesn't occur.
--
Marshal Newrock
Ideal Solution, LLC - http://www.idealso.com
More information about the dovecot
mailing list