[dovecot] dovecot-0.99.8.1 @ old redhat6.2 box
Hi
I have some odd problem with running dovecot. Program dies with message in maillog:
Mar 31 21:04:02 test-box dovecot: Dovecot starting up Mar 31 21:04:04 test-box dovecot: execv(imap-login) failed: Resource temporarily unavailable Mar 31 21:04:04 test-box dovecot: execv(imap-login) failed: Resource temporarily unavailable Mar 31 21:04:04 test-box dovecot: Login process died too early - shutting down Mar 31 21:04:04 test-box dovecot: child 28870 (login) returned error 84 (exec() failed) Mar 31 21:04:04 test-box dovecot: child 28869 (login) returned error 84 (exec() failed) Mar 31 21:04:04 test-box dovecot: execv(imap-login) failed: Resource temporarily unavailable
System is redhat6.2 (with all updates), kernel is 2.2.25 (with openwall patch). Under rh7.3 dovecot launches fine.
On Mon, 2003-03-31 at 22:11, Sebastian Pachuta wrote:
I have some odd problem with running dovecot. Program dies with message in maillog:
Mar 31 21:04:04 test-box dovecot: execv(imap-login) failed: Resource temporarily unavailable
System is redhat6.2 (with all updates), kernel is 2.2.25 (with openwall patch). Under rh7.3 dovecot launches fine.
It's probably because of the openwall patch. Would this patch help? diff -u -r1.38 login-process.c --- src/master/login-process.c 4 Mar 2003 22:38:08 -0000 1.38 +++ src/master/login-process.c 31 Mar 2003 19:31:50 -0000 @@ -474,7 +474,7 @@ i_fatal("chdir(%s) failed: %m", set->login_dir); } - restrict_process_size(group->set->process_size, 0); + restrict_process_size(group->set->process_size, 1); /* make sure we don't leak syslog fd, but do it last so that any errors above will be logged */
On Mon, Mar 31, 2003 at 22:33:00 +0300, Timo Sirainen wrote:
On Mon, 2003-03-31 at 22:11, Sebastian Pachuta wrote:
I have some odd problem with running dovecot. Program dies with message in maillog:
Mar 31 21:04:04 test-box dovecot: execv(imap-login) failed: Resource temporarily unavailable
System is redhat6.2 (with all updates), kernel is 2.2.25 (with openwall patch). Under rh7.3 dovecot launches fine.
It's probably because of the openwall patch. Would this patch help?
diff -u -r1.38 login-process.c --- src/master/login-process.c 4 Mar 2003 22:38:08 -0000 1.38 +++ src/master/login-process.c 31 Mar 2003 19:31:50 -0000 @@ -474,7 +474,7 @@ i_fatal("chdir(%s) failed: %m", set->login_dir); }
- restrict_process_size(group->set->process_size, 0); + restrict_process_size(group->set->process_size, 1);
/* make sure we don't leak syslog fd, but do it last so that any errors above will be logged */
Nope :( With and without this patch there is no abuse info generated by openwall in dmesg or /var/log/alert.
On Mon, 2003-03-31 at 22:43, Sebastian Pachuta wrote:
restrict_process_size(group->set->process_size, 0);
restrict_process_size(group->set->process_size, 1);
With and without this patch there is no abuse info generated by openwall in dmesg or /var/log/alert.
Well, changing 0 to (unsigned int)-1 at least should help?
On Tue, Apr 01, 2003 at 00:43:27 +0300, Timo Sirainen wrote:
On Mon, 2003-03-31 at 22:43, Sebastian Pachuta wrote:
restrict_process_size(group->set->process_size, 0);
restrict_process_size(group->set->process_size, 1);
With and without this patch there is no abuse info generated by openwall in dmesg or /var/log/alert.
Well, changing 0 to (unsigned int)-1 at least should help?
Yes, tx
participants (2)
-
Sebastian Pachuta
-
Timo Sirainen